BImage result; void setup() { size(320, 240); beginVideo(320, 240, 24); } void loop() { // Display the video image at location [0, 0] image(video,320,240); }