Chapter 16


“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.

16.1 Before Processing

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 ...

Get Learning Processing now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.