Opencv-python Not Displaying Image
I am currently following a tutorial on how to use OpenCV with python but something isn't working. When i run this code that should display an image i get this error: error: C:\buil
Solution 1:
You need to escape backslashes, or your string will be ill-formed. This will work:
img = cv2.imread('C:\\Users\\Ive\\Downloads\\7.jpg',0)
You can find here additional information.
Post a Comment for "Opencv-python Not Displaying Image"