O'Reilly logo

Learning Processing by Daniel Shiffman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

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 it is working.

On a PC:

  • Attach a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required