Chapter 6. App 4 – Automatic Selfie

In this chapter, we will start working on a new application. The goal of the application is to be able to take a selfie without touching your phone's screen. Your application will be able to detect a certain hand gesture that will trigger the process of saving the current camera frame.

The topics that we will cover will include the following:

  • Cascade classifiers used for object detection
  • Using OpenCV to manipulate camera frames
  • Using a trained cascade classifier to detect objects

Cascade classifiers

In this section, we will discuss the powerful cascade classifier and its components, Haar features, integral images, Adaptive Boosting (Adaboost), and cascading to build an object detector.

In a nutshell, to construct an ...

Get OpenCV Android Programming By Example 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.