Book Image

Learning Raspberry Pi

By : Samarth Shah
Book Image

Learning Raspberry Pi

By: Samarth Shah

Overview of this book

Table of Contents (14 chapters)
Learning Raspberry Pi
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Machine learning


Like humans learn from their day-to-day activities, a machine or computer can also learn from the data that they are getting. The scientific area that explores the construction and exploration of such algorithms is called machine learning. In this section, you will learn about machine learning-based object detection algorithms, or more specifically, face detection and eye detection algorithms.

Object detection algorithm

In 2001, Viola and Jones proposed an effective object detection method for using Haar feature-based cascade classifiers. As mentioned earlier, it is a machine learning-based object detection method. You will require lots of positive images (images with an object to detect) and negative images (images without the object to detect) to train the classifier. Once you have many positive and negative images, you need to extract the features from it, but extracting all the features from the image and selecting the best features from the image would require extensive...