python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
matplotlib sharey imshow not aligning
I am trying to plot 2 different size images, side-by-side with aligned y-axis, but it is not working. See example below
import numpy as np
import matplotlib.pyplot as plt
data0 = np.random.randint(0,...
Luis
Votes: 0
Answers: 0
imshow incorrectly output black to white
I want to plot some letters and separate them by 4 equal zones according to the letter's width and height. It just so happens that everything looks good until a zone has blank pixels, such as zone_0.j...

Fawwaz Yusran
Votes: 0
Answers: 1
I tried to display out all the images in a folder into a single cv2 frame at a time.But it only shows out one image forever
images = []
folder=r'C:\Users\lenovo\anaconda3\mainproject\violations'
for filename in os.listdir(folder):
img = cv2.imread(os.path.join(folder,filename))
if img is not None:
images.ap...
Roshin James
Votes: 0
Answers: 1
OpenCV shows image more pale than videos
I have a python code, where I load an image into a window and later overwrite it with different videos.
The image and the first frame of the videos is the same, to be exact, I extracted the frame from...

Sarah Multitasker
Votes: 0
Answers: 1