One of the most exciting things we can do with Raspberry Pi is recognize objects and faces by connecting it to an external USB webcam or Raspberry Pi camera (RPi camera).
To process these inputs from the camera, we will use the OpenCV libraries. As the installation of OpenCV takes a long time and involves multiple steps, this whole chapter will be dedicated to getting you up and running.
In this chapter, you will explore the following topics:
- Installing OpenCV 4.0.0 on Raspberry Pi
- Enabling and connecting the RPi camera to RPi
- Capturing images and video with the RPi camera
- Reading an image using OpenCV