import cv2
img = cv2.imread(‘self documents/sign.jpg’)
print(img.shape)
I have written this code in jupyter notebook. The image is saved on my desktop folder named self documents. The name of the image is sign. If i give the complete path, then it throws an error. But if I write it like this than when I am printing img.shape it is showing an error that object gas no attribute shape.