We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
JMyron: Choose Camera Source (Read 989 times)
JMyron: Choose Camera Source
Jul 19th, 2007, 2:18am
 
I'm running on a laptop that has a built-in webcam, but I want to use a separate USB camera.

I can do this just fine with the normal Processing Video Library using either of the following syntax:

cam = new Capture(this, 640, 480, "VGA SoC PC-Camera-WDM", 30);
cam = new Capture(this, 640, 480, devices[1]);


But JMyron's reference/documentation is somewhat lacking, and I'm not even sure if it's possible or not using their library.  All I know is how to create an instance of a camera object using:

cam = new JMyron();


This always gives me the wrong feed, even if I do new JMyron() twice to get 2 camera objects, and then use the second feed...every cam object gives the same results.

Does anybody know if it's possible to select your camera source when you initialize the cam using JMyron?

Thanks.
Page Index Toggle Pages: 1