Face Recognition using Eigenfaces and SVM

I am new to machine learning. I want to develop a face recognition system using scikit-learn. This is the example given in the tutorials of scikit-learn.

I am not getting how the input is being provided to the program. How should I load a particular image and make my program run to predict the label for that?

Topic object-recognition scikit-learn svm python machine-learning

Category Data Science


Take a look at the code that you linked to:

# Download the data, if not already on disk and load it as numpy arrays

lfw_people = fetch_lfw_people(min_faces_per_person=70, resize=0.4)

fetch_lfw-poeple is a routine that loads the data and is detailed here.

Hope this helps!

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.