Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Assuming you are using VideoCapture in HighGUI, you can do n number of frame grabs, without actually loading the images;

http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html#videocapture-grab

"The methods/functions grab the next frame from video file or camera and return true (non-zero) in the case of success."

This way you can quickly bypass however many frames you want.

Assuming you are using VideoCapture in HighGUI, you can do n number of frame grabs, without actually loading the images;

http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html#videocapture-grab

"The methods/functions grab the next frame from video file or camera and return true (non-zero) in the case of success."

This way you can quickly bypass however many frames you want.want. I do that in a loop with a parameter that I can pass in, in order to make adjustments during execution.