Webcam doesn't work with Processing
in
Integration and Hardware
•
1 year ago
I'm trying to make a sketch involving the webcam feed from my laptop, however the webcam video won't load into processing. The error I'm getting is:
'No capture could be found, or the VDIG is not installed correctly'
I have a Samsung S3520 laptop. I've also tried running my sketch on an iMac with Processing already installed and it works perfectly.
Any pointers?
Here's the full log below as well:
quicktime.std.StdQTException[QTJava:7.6.0g],-9405=couldntGetRequiredComponent,QT.vers:7718000at quicktime.std.StdQTException.checkError(StdQTException.java:38)at quicktime.std.sg.SGChannel.allocate(SGChannel.java:63)at quicktime.std.sg.SGChannel.<init>(SGChannel.java:56)at quicktime.std.sg.VisualChannel.<init>(VisualChannel.java:41)at quicktime.std.sg.SGVideoChannel.<init>(SGVideoChannel.java:47)at processing.video.Capture.init(Unknown Source)at processing.video.Capture.<init>(Unknown Source)at processing.video.Capture.<init>(Unknown Source)at webcam_motion_tracking.setup(webcam_motion_tracking.java:59)at processing.core.PApplet.handleDraw(Unknown Source)at processing.core.PApplet.run(Unknown Source)at java.lang.Thread.run(Thread.java:662)Exception in thread "Animation Thread" java.lang.RuntimeException: No capture could be found, or the VDIG is not installed correctly.at processing.core.PApplet.die(Unknown Source)at processing.core.PApplet.die(Unknown Source)at processing.video.Capture.init(Unknown Source)at processing.video.Capture.<init>(Unknown Source)at processing.video.Capture.<init>(Unknown Source)at webcam_motion_tracking.setup(webcam_motion_tracking.java:59)at processing.core.PApplet.handleDraw(Unknown Source)at processing.core.PApplet.run(Unknown Source)at java.lang.Thread.run(Thread.java:662)
1