Skip to Content
Hands-On Robotics Programming with C++
book

Hands-On Robotics Programming with C++

by Dinesh Tavasalkar
March 2019
Intermediate to advanced
312 pages
7h 37m
English
Packt Publishing
Content preview from Hands-On Robotics Programming with C++

Basic working of the Viola-Jones algorithm

So, put simply, the Viola-Jones algorithm used Haar features to detect a face. Haar generally consists of two main features: edge features and line features. We will first understand these two features and then we will see how these features are used to detect faces:

  • Edge features: This is generally used to detect edges. The edge feature consists of white and black pixels. Edge features can be further categorized into horizontal edge features and vertical edge features. In the following diagram, we can see the vertical edge feature on the left block and the horizontal edge feature on the right block:
  • Line features: This is generally used to detect lines. In line features, a white pixel is sandwiched ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Robotics Programming

Learn Robotics Programming

Danny Staple
C++ Reactive Programming

C++ Reactive Programming

Praseed Pai, Peter Abraham

Publisher Resources

ISBN: 9781789139006Supplemental Content