Ask Your Question

Revision history [back]

As the first comment said, the reason of error is due to path of image.

"The image should be in the working directory or a full path of image should be given." https://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_gui/py_image_display/py_image_display.html#using-opencv