Ask Your Question

Revision history [back]

Check if new is new

I am using OpenCV C++ and grabbing a camera from USB port with cap.read(frame) in my for loop.

However i only want to get a new frame, when its a new frame from the camera. How can i check if the frame is new provided by the camera?