Chapter 16

Video

“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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.