import cv2 im=cv2.imread('riz.jpg') cv2.imshow('image1',im) cv2.waitKey(0) cv2.destroyAllWindows()