Ask Your Question

shaheeb's profile - activity

2013-11-08 16:02:38 -0500 received badge  Taxonomist
2013-04-02 21:54:33 -0500 received badge  Notable Question (source)
2013-04-02 21:54:33 -0500 received badge  Famous Question (source)
2012-09-20 08:56:14 -0500 received badge  Popular Question (source)
2012-09-19 10:36:06 -0500 received badge  Supporter (source)
2012-09-19 07:52:41 -0500 asked a question Multiple cameras: How to identify attached cameras for use with Camera() or DigitalCamera()

Hi Folks!

Both Camera() and DigitalCamera() can use the device index to specify which source to capture from. The documentation mentions that the index corresponds to the device ID from /dev/video/. I was hoping for a list interface (so perhaps something like Camera.list()) that would give me the possible indices that I can then use to initialize the necessary Camera interfaces.

My intent is to set up a multi-camera rig and capture images from all attached cameras simultaneously. This will not be a stereo camera setup, but rather an arbitrarily large multiple camera setup, so I cannot assume a max number of cameras or the device index and hardcode this into my sketch.

I am developing on OSX Lion and I plan to use USB cameras (planning on trying the PS3Eye, as well as simple logitech webcams) connected to a high-speed USB 2.0 hub.

Thank you in advance for your advice,

SR