- [Instructor] The technique I used…in OpenCV to detect faces in an image is…called a Haar Cascade.…The details about how it works are beyond the…scope of this course, but if you're interested…in learning more about Haar Cascades,…there's a nice, short article on the OpenCV website.…At a very high level, the Haar feature-based classifier…analyzes sections on an image in search…of patterns or features that indicate…whether or not that part of the image contains a face.…
For facial detection, there are over 6,000 features…that the algorithm needs to evaluate…to determine if a section of an image contains a face.…And that ends up being a lot of processing.…Especially considering that most parts…of an image are usually not a face.…So to speed things up, rather than evaluating…all 6,000 features before making a decision,…the algorithm uses a cascade to evaluate a…few features at a time to determine…whether or not the image section it's evaluating…could possibly be a face.…
If the first feature it analyzes could be a face,…
Author
Released
6/8/2018Visit other courses in the series to see how to solve the same challenges in languages like C++, C#, JavaScript, PHP, Python, Ruby, Go, and Swift.
Skill Level Intermediate
Duration
Views
Related Courses
-
Learning the Python 3 Standard Library
with Kathryn Hodge2h 9m Intermediate -
Python Essential Training
with Bill Weinman4h 45m Intermediate -
Learning Python
with Joe Marini2h 27m Beginner -
Code Clinic: Java
with Carlos Rivas1h 13m Intermediate
-
Introduction
-
Welcome1m 26s
-
-
1. Problem 1: Weather Statistics
-
2. Problem 2: Where Am I?
-
Intro: Where am I?1m 46s
-
Making a POST with requests2m 14s
-
-
3. Problem 3: Eight Queens
-
Intro: Eight queens1m 42s
-
Understanding permutations3m 42s
-
-
4. Problem 4: Musical Instrument
-
Intro: Accessing peripherals1m 54s
-
-
5. Problem 5: Facial Recognition
-
Intro: Facial recognition1m 38s
-
Scaling images3m 12s
-
Saving results as JSON1m 51s
-
-
6. Problem 6: Real-Time Information Dashboard
-
Understanding Django2m 13s
-
Routing URLs with Django3m 53s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Detecting faces using Haar cascades