
Installing and Testing OpenCV
To access the camera with Python code, we’re going to be using
OpenCV (Figure 9-7), which is a feature-packed open-source com-
puter vision library. OpenCV makes it really easy to get images from
the camera, display them on screen, or save them as files. But what
makes OpenCV really stand out is its computer vision algorithms,
which can do some pretty amazing things. Besides basic image
transformations, it can also track, detect, and recognize objects in
an image or video. Later on in this chapter, we’ll try basic face de-
tection with OpenCV (“Face Detection” on page 158). OpenCV is
used by many working ...