I\'m trying to display an image using OpenCV. I have the following very basic code:
import cv2 img = cv2.imread(\'myimage.png\', 0) # Reads a Gray-scale im
OK, got it.
Turns out I needed to let OpenCV start handling events, it wasn't handling the WM_PAINT event. Adding cv2.waitKey() fixed this.