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 ...
Get Raspberry Pi: Amazing Projects from Scratch 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.