1 | initial version |
well, from the opencv side, it's no problem running multiple cams, it's just like:
VideoCapture cap0(0);
VideoCapture cap1(1);
...
// later:
cap0.read(frame0);
cap1.read(frame1);
...
but reality sucks here, again. the usb bandwidth of a single hub is just enough for 1 cam, if you plug 2 or more into 1 bus, you'll saturate it. you can still reduce the framesize,
cap0.set(CV_CAP_PROP_FRAME_WIDTH,320);
cap0.set(CV_CAP_PROP_FRAME_HEIGHT,240);
and pray, that you got 2 seperate hubs ( try front/back )
good luck!