Using external camera with Mac
in
Core Library Questions
•
3 years ago
I've trying to use an external camera with one of the vision libraries (Blob Detection), but it obviously defaults to the iSight camera. I followed the API and tried to use Capture.list() in order to get the device name and change which one I was using with Capture().
Unfortunately, list() only reveals these and none of them are my external camera (Logitech QuickCam Vision Pro):
[0] "DV Video"
[1] "IIDC FireWire Video"
[2] "USB Camera"
[3] "USB Video Class Video"
My next step was occupying the iSight camera using Photo Booth. Sure enough, that works. So, I know my Logitech camera works in this Processing script, but this is obviously a good solution. Finally, the only solution that I could find was to use cam.settings() and choose the source from the dialog box.
I still don't consider settings() to be a good solution, since I would rather of course do this in code.
Please let me know anyone else has figured out a solution to this problem.
Unfortunately, list() only reveals these and none of them are my external camera (Logitech QuickCam Vision Pro):
[0] "DV Video"
[1] "IIDC FireWire Video"
[2] "USB Camera"
[3] "USB Video Class Video"
My next step was occupying the iSight camera using Photo Booth. Sure enough, that works. So, I know my Logitech camera works in this Processing script, but this is obviously a good solution. Finally, the only solution that I could find was to use cam.settings() and choose the source from the dialog box.
I still don't consider settings() to be a good solution, since I would rather of course do this in code.
Please let me know anyone else has figured out a solution to this problem.
5