import cv2 img = cv2.imread('image.png') cv2.imshow('Images from Files', img) cv2.waitKey(0) cv2.destroyAllWindows()