A very basic webcam capture solution for processing.
This library is a proof of concept and is not intended for production.
import ch.bildspur.video.*;
Capture cam;
public void setup() {
size(640, 480);
cam = new Capture(this, 640, 480);
cam.start();
}
public void draw() {
background(55);
if (cam.available()) {
cam.read();
}
image(cam, 0, 0, width, height);
}
Use the release.sh to build the library.
Developed by cansik - based on webcam-capture