Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

imho, you should try the "multi-head" camera approach described here

VideoCapture cap(0); //a **single** capture instance

for (;;) {
    if (! cap.grab()) break; 
    Mat left,right;
    cap.retrieve(left, 0);
    cap.retrieve(right, 1);
}

imho, you should try the "multi-head" camera approach described here

VideoCapture cap(0); //a **single** capture instance

for (;;) {
    if (! cap.grab()) break; 
    Mat left,right;
    cap.retrieve(left, 0);
    cap.retrieve(right, 1);
}