Join Carlos Rivas for an in-depth discussion in this video Implement facial detection, part of Code Clinic: Java.
- [Instructor] Before proceeding, be sure to go…to the exercise files and open up the starter project.…Chapter five and open up the face detection folder…and your favorite Java IDE.…We're using Visual Studio Code, so let's go there now.…Okay, so for our face detection code,…we could return a JSON document showing…where the faces are and how many are there.…Also, we could draw boundaries…around the detected faces on top of our input image.…
In this case, let's make it more interesting by displaying…a new window with the faces found in our image.…Let's do it.…You can see our detect face method.…It already has the JFrame declared on line 55.…Line 58 through 61 set the necessary values…and displace the JFrame.…Our job is to implement our solution,…using the supporting library.…Let's do that now.…We're going to start by calling…the detect faces support method.…
We're going to start the values here, let's call our detector,…which has the detect faces method that we need.…And we need to call it, pass in the necessary input,…
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.