We are about to switch to a new forum software. Until then we have removed the registration on this forum.
hi,
I try to connect my sony alpha a57 camera with proessing. But I already have problems displaying the Capturelist (),
I put as code
import processing.video.*;
Capture cam;
void setup(){ println( Capture.list() ); }
But my error is : Type String[] of the last argument to method(object) doesn't exactly match the vararg parameter type. Cast to Object[] to confirm the non-varargs invocation, or pass individual arguments of type object for a varargs invocation
I also try this :
import processing.video.*;
Capture cam;
void setup(){ println( Capture.list() ); println((Object[])Capture.list()); }
With this i don't have error but, dosen't work. I work with Mac book pro / Sierra 10.12.5
Answers
The capture reference page shows how to print the list of cameras
https://processing.org/reference/libraries/video/Capture.html
it works !!!!
Thanks you sooo much