Chapter 11

Webcam and Computer Vision

In This Chapter

arrow Setting up a webcam or Raspberry Pi camera module

arrow Looking at images

arrow Creating image files

arrow Using a webcam to detect motion

arrow Looking at image recognition

arrow Interpreting color

arrow Making a Connect Four game using computer vision

In this chapter, we show you how to give your Raspberry Pi vision using a webcam or the Pi Camera Module. Using image-processing techniques, you can use the Raspberry Pi to analyze images to identify things like motion, colors, and shapes. Here, we show you how computer images are created and how you can look into the images for information about them.

Note: Throughout this chapter, we provide instructions and code for both a webcam and the Raspberry Pi Camera module. We use the term camera to refer to either your ...

Get Raspberry Pi Projects For Dummies 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.