1
$\begingroup$

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?

$\endgroup$
1
1
$\begingroup$

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!

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.