O'Reilly logo

Raspberry Pi: Amazing Projects from Scratch by Richard Grimmett, Matthew Poole, Arush Kakkar, Ashwin Pajankar

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 4. Working with a Webcam and Pi Camera

In the previous chapter, we learned how to set up and write our own games using pygame. In this chapter, we will learn how to use different types and uses of cameras with our Pi. Let's take a look at the topics we will study and implement in this chapter:

  • Working with a webcam
  • Crontab
  • Timelapse using a webcam
  • Webcam video recording and playback
  • Pi Camera and Pi NoIR comparison
  • Timelapse using Pi Camera
  • The PiCamera module in Python

Working with webcams

USB webcams are a great way to capture images and videos. Raspberry Pi supports common USB webcams.

Note

To be on the safe side, here is a list of the webcams supported by Pi: http://elinux.org/RPi_USB_Webcams.

I am using a Logitech HD c310 USB Webcam as shown ...

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