We are about to switch to a new forum software. Until then we have removed the registration on this forum.
In the Processing IDE I used
import processing.video.*;
Capture video;
void setup() {
frameRate(700);
size(640, 480);
x = width/2;
y = height/2;
background(255);
video = new Capture(this, width, height);
video.start();
}
in the first part of my code because I'm trying to make a sketch that draws using the image produced from a webcam. It works perfectly but when I copy paste the same code to OpenProcessing the error message in the console reads "Capture is not defined". How do I fix this problem?
Answers
Check the next code: