Chapter 14. Learning from Examples

In this chapter, we will cover the following recipes:

  • Recognizing faces using nearest neighbors of local binary patterns
  • Finding objects and faces with a cascade of Haar features
  • Detecting objects and people with Support Vector Machines and histograms of oriented gradients

Introduction

Machine learning is nowadays, very often used to solve difficult machine vision problems. In fact, it is a rich field of research encompassing many important concepts that would deserve a complete cookbook by itself. This chapter surveys some of the main machine learning techniques and explains how these can be deployed in computer vision systems using OpenCV.

At the core of machine learning is the development of computer systems that ...

Get OpenCV 3 Computer Vision Application Programming Cookbook - Third Edition 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.