I am watching an OpenCV tutorial and in one place he writes this code:
while True: success, img = cap.read() cv2.imshow("Video", img) if (