Reference+
Name
read()
Class
Capture
Description
Reads the current frame of the device.
Examples
import processing.video.*; Capture cam; void setup() { size(200, 200); cam = new Capture(this); cam.start(); } void draw() { if (cam.available()) { // Reads the new frame cam.read(); } image(cam, 0, 0); }
Syntax
.read()
Return
void
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.