-1
VideoCapture capVideo;
capVideo.read(imgFrame2);

is there a limit on how many times I can use .read on the same file?

1 Answers1

0

There's no limit. Each time you call read function, new frame is returned unless there's an error (end of video file, error while capturing image from the camera etc).

Piotr Siekański
  • 1,665
  • 8
  • 14