import cv2 import time image_path = r"C:\Users\SandeSadler\Downloads\testingimage.jpg" img = cv2.imread(image_path) while True: cv2.imshow("Image", img) cv2.waitKey(2000) cv2.destroyAllWindows() time.sleep(0.5)