April 2009
Intermediate to advanced
472 pages
11h 36m
English
“I have no memory. It’s like looking in a mirror and seeing nothing but mirror.”
—Alfred Hitchcock
In this chapter:
– Displaying live video.
– Displaying recorded video.
– Creating a software mirror.
– How to use a video camera as a sensor.
Now that we have explored static images in Processing, we are ready to move on to moving images, specifically from a live camera (and later, from a recorded movie). Using a digital video camera connected to a PC or Mac requires a few simple steps before any code can be written.
On a Mac:
• Attach a camera to your computer.
• Make sure any necessary software and drivers for the camera are installed.
• Test the camera in another program, such as iChat, to make sure ...