Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

ImageCapture[] has an option Device-> for specifying which camera to use, but CurrentImage[] takes no options and no relevant arguments. Changing $DefaultImagingDevice might or might not work, but it would be a pretty awkward solution for a program that needs to frequently take frames from different cameras quickly.

Is there a way to use CurrentImage[] with more than one camera? If not, is there a better workaround?

share|improve this question
Take a look here – Dr. belisarius Aug 15 '13 at 18:44
I'm actually using that function now on a different application on Linux; I was wondering if there was a better workaround than just rewriting that function into taking an argument to pass to cvQueryFrame(). Fortunately, I'm familiar with OpenCV. – Backgammon Aug 15 '13 at 18:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.