Ask Your Question

Revision history [back]

I suddenly got the same problem, after manipulating my code. I finally figured that it was because I had removed tha code below, which was copied from an example.

Code necessary to make imshow work for me: if cv2.waitKey(1) & 0xFF == ord('q'): break The ncode itselfe has no effect, I hace to use <ctrl> C to stop the program. But without it, my images turn grey.