Ask Your Question
0

Has anyone had problems opening 2 USB camera streams at the same time if they are both the same brand and model? [closed]

asked 2016-02-14 23:30:32 -0600

I am trying to play around with a stereo camera rig I built. Both cameras are exactly the same, 2.0MP ELP brand. It uses the USB Video Class (UVC) 1.1 driver. Both cameras are tested and working. I can open them individually in a simple opencv c++ program. The stereo program i wrote works with one ELP camera and my Logitech webcam. (and that's with all three USB cameras connected to the pc.)

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by JetIgniter2k
close date 2016-02-17 20:50:02.222577

Comments

Are they connected to the same (internal) USB-HUB. What happens if you want to open them (error message)

FooBar gravatar imageFooBar ( 2016-02-15 01:58:53 -0600 )edit

They are connected to the same external hub, in fact all three are. No error messages.

VideoCapture rightEye;
rightEye.open(i);

I iterate through 0-9 in a for loop.

JetIgniter2k gravatar imageJetIgniter2k ( 2016-02-15 20:23:08 -0600 )edit

Is there a way to pick the camera by a means other than some integer value that windows assigned?

JetIgniter2k gravatar imageJetIgniter2k ( 2016-02-16 17:22:59 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-02-17 20:49:29 -0600

This appears to be an issue seen by others. Two cameras on one hub max out the bus; even USB3.0. The simple fix is to make sure that each camera is on it's own USB bus. Confirm this in the device manager; sort by connection.

Thanks FooBar for the hint on what it could be. Not sure why 2 different brand cameras work on the same bus??? Oh well.

edit flag offensive delete link more

Comments

The brand of the camera is irrelevant for the bus. It all depends on in which USB-socket you plug your device.

FooBar gravatar imageFooBar ( 2016-02-18 02:32:24 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-02-14 23:30:32 -0600

Seen: 541 times

Last updated: Feb 17 '16