In this chapter, you'll add a USB webcam to your system. Having the standard USB interface on your board opens a wide range of amazing possibilities. On top of that, there are several amazing open-source libraries. These offer complex capabilities that you can use in your projects without spending months coding them.
Vision will open a set of possibilities for your project. These can range from simple motion detection to advanced capabilities such as facial recognition, object identification, and even object tracking. The robot can also use vision to detect its surroundings and avoid obstacles.
Connecting your USB camera to your BeagleBone Black and viewing the images
Downloading and installing OpenCV, a full-featured vision library
Using the vision library to detect colored objects