Join Carlos Rivas for an in-depth discussion in this video Perform facial detection, part of Code Clinic: Java.
- [Instructor] Okay, going to our console now,…you can see we have provided several images for you.…We don't need to display them ahead of time…because our program will show us the original image…and a separate panel with the faces it was able to find.…Let's try one of them now.…Execute our program, it choose the image…and it shows the discovered faces in a separate panel.…As you can see the program is fairly fast…but it's not perfect.…
Even though all the detected faces are valid,…some of them are missing.…There are several factors that influence this result,…such as light, face angle,…facial expressions, and others.…In fact, open image provides an additional Java class…just dedicated to processing facial expressions.…Let's try another image.…Post this one and run our second example.…
In this case, we also get a fairly accurate detection,…however, in our results we see a significant blunder.…It detected a formation of tree branches and leaves…as a face.…Usually the developers of this type of software…take samples such as this one…
Visit other courses in the series to see how to solve the exact same challenges in languages like C#, C++, PHP, Python, and Ruby.
Skill Level Intermediate
1. Problem 1: Pond Oreille
2. Problem 2: Where Am I?
3. Problem 3: Eight Queens
4. Problem 4: Accessing Peripherals
5. Problem 5: Facial Recognition
6. Problem 6: Real-Time Information Dashboard
- 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.Cancel
Take 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.