Processing Forum
- import hypermedia.video.*;
- OpenCV opencv;
- void setup()
- {
- size(displayWidth, displayHeight);
- opencv = new OpenCV(this);
- opencv.capture(640, 480);
- }
- void draw() {
- opencv.read();
- image(opencv.image(), 0, 0, width, height);
- text(int(frameRate),200,200);
- }
I'm on the last beta release of processing 2, m'y resolution is 1280x800, i'm on old macbook (2008) - OSX 10.6, and i use the isight integrated webcam.
Anybody can help me to get better performance ? Or do you think AS3 is much performant than Processing to do that ?
Thanks in advance for your help !
(And sorry for my bad english ... i'm french)