9 Face-following camera
This chapter covers
- Using the OpenCV library to detect faces in images
- Measuring and optimizing face detection performance
- Performing face detection in live videos
- Using servo motors to make a face-following camera
This chapter will first show how to use the OpenCV library to detect faces in images. Then, we will extend this functionality to detecting faces in a live video stream and measure and optimize our face detection process. Once we have a fast face detection mechanism in place, we will create an application to perform face detection in a live video stream. The last part of the chapter includes creating an application that can detect face movements and move the camera with motors in the direction of the detected ...
Get Build Your Own Robot 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.