Mission briefing
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.
Why is it awesome?
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.
Your objectives
In this chapter we will cover:
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
Tip
Downloading the example code and colored images
You can download the example code files and colored images for this Packt book you...