4
$\begingroup$

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?

$\endgroup$
2
  • 1
    $\begingroup$ Take a look here mathematica.stackexchange.com/a/2772/193 $\endgroup$ Aug 15, 2013 at 18:44
  • $\begingroup$ 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. $\endgroup$
    – Backgammon
    Aug 15, 2013 at 18:48

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.