Quote:
Originally Posted by techhelpbb
Could put a queue in the image (dots on lens or card in field of vision with image or color you could detect with code) or put a relay on the USB wires and connect the cameras one at a time then check the relay output against the device names that appear.
Does this help?
http://superuser.com/questions/74803...ng-usb-devices
|
That user seems to have a similar problem, namely that there is no serial number. The answers seem to confirm that the by-path identifier will be stable across reboots, so I think I'll go with that until it can be shown that it won't work.
Unfortunately, it looks like at the moment OpenCV won't allow using devices other than /dev/videoX. I've patched OpenCV and pushed a
pull request to the OpenCV repo, hopefully they'll take it and it'll work in 3.2.