I have a question. What does cvQueryFrame exactly do ? As I understand it picks a frame from an 'already captured frame' in the buffer, right?
In my application, the processing of each frame takes 1 second but my camera's fps is 30fps. How can I take the next snap after 1 second is over/ when the processing of the current frame's related process is over ? I don't want old frames !
Right now, as I see for the second loop run (when I call cvQueryFrame again, it retrieves the frame that was captured almost 1 second back, from the buffer.
How can I do everything REAL TIME ?? Any help is really appreciated !!