From the course: Deep Learning: Face Recognition

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Coding a face recognition system

Coding a face recognition system - Python Tutorial

From the course: Deep Learning: Face Recognition

Start my 1-month free trial

Coding a face recognition system

- [Instructor] Let's code a real face recognition system. Open up face_recognition_system.py. First we need pictures of the people that we wanna be able to recognize. I've included sample photos of three people in the project. Let's take a look. The three images here on the left are labeled person_1, person_2, and person_3. Let's open them up and check them out. Here's person_1, person_2, and person_3. These are just sample photos. You can feel free to try this out with your own photos. But for pictures of known people, you wanna make sure that there's only one person in the picture and that they are facing the camera, clearly visible, and that there's reasonably good lighting. If you use lower-quality images, the results won't be as accurate. Let's close these and go back to the code. On line one, I've already imported the face recognition library that we'll be using. The next step is to load those three pictures of our known people. We can do that by calling the load image file…

Contents