wong_chung_yu
YaBB Newbies
Offline
Posts: 11
cannot find any capture device
Nov 4th , 2005, 9:54am
I have a Logitect QuickCam pro 4000 and it works perfectly. I try the "capture" programme in 92Beta but Capture.list() report to me that there is no any capture device found. Thus I cannot define the name of the capture device. I use the default statement to initialize the camera (i.e. "camera = new Capture(this, 320, 240, 12); ") but the capture window fails to display anything. The code I tried is the following: // Capture // by REAS <http://reas.com> // Reading and displaying an image from an // attached Capture device. // Updated 8 April 2005 import processing.video.*; Capture camera; void setup() { size(200, 200); println(Capture.list()); // Specify your own device by the name of the capture // device returned from the Capture.list() function //String s = "Logitech QuickCam Zoom-WDM"; //camera = new Capture(this, s, width, height, 30); // If no device is specified, will just use the default camera = new Capture(this, 320, 240, 12); } void captureEvent(Capture camera) { camera.read(); } void draw() { image(camera, 0, 0); } some error messages like these are listed: at processing.video.Capture.list(Capture.java:477) at Temporary_2982_9965.setup(Temporary_2982_9965.java:20) at processing.core.PApplet.display(PApplet.java:1081) at processing.core.PGraphics.requestDisplay(PGraphics.java:516) at processing.core.PApplet.run(PApplet.java:976) at java.lang.Thread.run(Unknown Source) I was asked to check faq but I have not found any useful information. of course I also try setting the name of device to "Logitech QuickCam pro 4000" but no use. I encounter the same problem in 91Beta and 93Beta. I don't understand why my webcam cannot be detected.