I am working on a computer vision project and I need to use two cameras using the opencv library. I tried this code, but with two webcams from the USB port it does not work while it works, if I use one USB camera and the camera of my computer.
CvCapture* capture[2]; capture[0] = cvCreateCameraCapture(0); capture[1] = cvCreateCameraCapture(1); if(!capture[0] && !capture[1]) printf("Webcam error\n");
I am working on windows 7 on an acer aspire 5742g. Is this a bus problem for my computer? Cameras - 2 Philips SPZ2000. I also tried to work with photographs taken by one of them, and from the camera on my computer, and when I use the calibration and correction code found in Bradskyโs study of opencv, I get a bad result. Can someone help me? Thanks in advance,
Sarah
source share