Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Do you then call cv2.waitKey()? The windows appears when you do imshow, but unless you do waitKey, it doesn't display properly and the program continues.

The parameter for waitKey is how long to wait in milliseconds, 0 or no parameter is until a button is pressed with the window in focus.