Chapter 5. Object Detection Using Ada Boost and Haar Cascades

This chapter shows a very interesting feature of OpenCV—detecting faces in an image or a video stream. In the latter case, we call it face tracking. In order to do so, this chapter dives into machine-learning algorithms, specifically supervised learning with boosting. We will cover the Viola-Jones classifier and its theory as well as the details on how to use the face-trained classifiers that are bundled with OpenCV.

In this chapter, we will be covering the following topics:

  • The boosting theory
  • Viola-Jones classifier
  • Detecting faces
  • Learning new objects

By the end of this chapter, you will be able to understand the theory behind face classifiers through boosting, and the Viola-Jones classifier. ...

Get OpenCV 3.0 Computer Vision with Java 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.