Flob with GSVideo?
in
Contributed Library Questions
•
2 years ago
Hi,
Im currently working on a system with Ubuntu 10.04 and want to use the flob library to detect gestures. I read up on the forum to find a way to capture video from the webcam (since quicktime dosent run on linux) and found a few links talking of the GSVideo library.
So i installed the lib and made a few changes to the hello_flob example..(changed Capture to GSCapture), but the sketch compiles with an "ArrayIndexOutOfBounds" error for the line
The capture window then gives a very garbled output.
Is it an error in the code or flob isnt meant to work with GSVideo? Im very new to Processing so please pardon the ignorance.
Thanks,
Chirag
Im currently working on a system with Ubuntu 10.04 and want to use the flob library to detect gestures. I read up on the forum to find a way to capture video from the webcam (since quicktime dosent run on linux) and found a few links talking of the GSVideo library.
So i installed the lib and made a few changes to the hello_flob example..(changed Capture to GSCapture), but the sketch compiles with an "ArrayIndexOutOfBounds" error for the line
- blobs = flob.calc(flob.binarize(video));
The capture window then gives a very garbled output.
Is it an error in the code or flob isnt meant to work with GSVideo? Im very new to Processing so please pardon the ignorance.
Thanks,
Chirag
2