Multiple Camera recording with openCV
Hi, atm my goal is to connect several standard USB webcameras (2-4) to one single computer and try to run/record them at the same time. I'm using MSVS with C++ and the openCV libraries. Getting data from one single camera just works fine.
cv::VideoCapture vidCap(0);
if(vidCap.isOpen())
cout << ...
this just works fine and i can record pictures. But if I trie to set up an other VideoCapture object:
cv::VideoCapture vidCap2(1);
if(vidCap2.isOpen())...
it allways fails! I tried to run it in different threads, but this didn't work either - even got a bluescreen after closing the programm. And even with some software tools like Dorgem I got a bluescreen after trying.
I'm using Windows 7 64bit as operating system.
Any clues about what could be wrong here? I'd be happy about any help.