euglena/lib/opencv_processing/examples/LoadAndDisplayImage/LoadAndDisplayImage.pde

14 lines
186 B
Plaintext
Raw Permalink Normal View History

2016-07-10 00:36:44 -07:00
import gab.opencv.*;
OpenCV opencv;
void setup() {
opencv = new OpenCV(this, "test.jpg");
size(opencv.width, opencv.height);
}
void draw() {
image(opencv.getOutput(), 0, 0);
}