Week 9
Video Input
In the second half of the semester, we'll be focusing on video input and computer vision interfaces. This week we'll start with getting video images in and different ways of processing them.
- setting up webcam or firewire capture
- live video in Processing
- capturing and manipulating individual frames
- processing and mixing frames
- manipulating pixel arrays from images
Compatibility Notes
The Processing Core Video library relies on Quicktime4Java, a Java wrapper around Apple's Quicktime format. Because of this, it's most reliable on Mac. To use processing.video (for playback or for capture) on Windows, you have to install Quicktime and a "WinVDig" which is a driver that interfaces your webcam to Quicktime.
There is no Quicktime4Java on Linux, so here we'll use instead Toxi's LibCV Processing library. This one doesn't need Quicktime - instead, it uses the Java Media Framework, which is a pure java + open way of working with sound and video. This method is reported to have better stability on Windows as well.