I am trying to implement object detection using Stereo Vision in OPENCV. I am using two Logitech-C310 camera for this. But I am not getting synchronized frames with two cameras. Time difference between two cameras frame capture is also not same.
How synchronization can be done ?
In Stereo Cameras like Bumblebee, Minoru etc. do we need to synchronize ?
Thanks for your response.
I am trying to implement person tracking with a moving robotic platform. I am using cvQueryFrame(capture)
to capture each frame from both cameras one by one in a loop.
Here is the part of code that I am using:
CvCapture* capture_1 = cvCreateCameraCapture(0);
Cvcapture* capture_2 = cvCreateCameraCapture(1);
for(i=1;i<=20;i++)
{
frame_1= cvQueryFrame(capture_1);
frame_2= cvQueryFrame(Capture_2);
//processing of frames//
}
even if someone moves with moderate speed in front of camera the difference between frame_1 and frame_2 is visible.
Is this delay because of cvQueryFrame(capture)
?