euglena/lib/opencv_processing/examples/LoadAndDisplayImage/LoadAndDisplayImage.pde
2016-07-10 00:36:44 -07:00

14 lines
186 B
Plaintext

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);
}