I am trying to display an image using OpenCV. I have the following code:
import cv2 img = cv2.imread('myimage.png', 0)
The window opens correctly, with the correct size, but it is gray - there is no image. The image is read correctly (looking at img and img2 in the debugger, I see the expected values, not just one hue).
Note. Obviously, I intend to do some image processing before the image is displayed, but first I need to see the image ...
python opencv
zmbq
source share