We have a video (slideshow), how can you encode footage from this video, then compare them to search for identical photos?

  • What does it mean to encode? - Enikeyschik
  • Get some sort of array to compare them later - overfitt

1 answer 1

If you have a signal source (Capture - camera, video file, internet broadcast), then the next frame is obtained from the video stream using read

cap = cv2.VideoCapture(0) while True: # Capture frame-by-frame ret, frame = cap.read() 

We need these frames for further use - store as much as is required, for example, in the list.