Name | read() |
---|---|
Examples | import hypermedia.video.*; OpenCV opencv; void setup() { size( 320, 240 ); opencv = new OpenCV( this ); opencv.capture( width, height ); // open video stream } void draw() { opencv.read(); // grab frame from camera image( opencv.image(), 0, 0 ); // and display image } |
Description | Grab a new frame from the input camera or a movie file. |
Syntax | read(); |
Return | None |
Usage | Application |
Related |