- The work environment is : OpenCV 2.4.13, VS2008, Two different kind of usb camera.
I can't open the sencond camera when using the following code
int _tmain(int argc, _TCHAR* argv[]){ VideoCapture capture(0); if( !capture.isOpened() ) std::cout << "Capture0 can't be opened\n" << std::endl; VideoCapture capture1(1); if( !capture1.isOpened() ) std::cout << "Capture1 can't be opened\n" << std::endl; return 0;}