cannot show image on mac
I followed the python-openCV tutorial in terminal and found cannot open image ,who can tell me why
I followed the python-openCV tutorial in terminal and found cannot open image ,who can tell me why
In order to display windows, you need to add a delay. This is achieved by adding cv2.waitKey()
right after your imshow
. This will leave the window open until a key press is detected.
Right after this, you'd want to destroy the window(s) using cv2.destroyAllWindows()
Next time, please use the official OpenCV Python tutorials. This issue is addressed right from the first code sample.
Asked: 2017-11-16 08:11:25 -0600
Seen: 917 times
Last updated: Nov 16 '17
i removed your screenshot. please edit your question, and give us a TEXT version of your code, and the errors, it produced