Skip to content

Kmohamedalie/Face-Recognition-PCA-SVM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Face Recognition (SVM , GridSearchCV, PCA, ML-Pipeline)

image

image source: UMASS

Task: In this repository we are only going to classify the faces of famous people, while the database contains over five (500) different people.

Techniques and Algorithms applied: Principal Component Analysis, Support Vector Machine, Pipeline, GridSearchCV

Dataset: SKlearn Labeled Faces in the Wild , http://vis-www.cs.umass.edu/lfw/

Complete JupyterNotebook: Link

Achieved metrics:

Algorithm Recall Precision F1-score Accuracy
Support Vector Machine 91.85% 91.93% 91.93% 91.93%


DISCLAIMER FROM THE DATABASE CREATORS:

Labeled Faces in the Wild is a public benchmark for face verification, also known as pair matching. No matter what the performance of an algorithm on LFW, it should not be used to conclude that an algorithm is suitable for any commercial purpose. -Universtiy of Massachusetts


Additional Information about the dataset

Welcome to Labeled Faces in the Wild, a database of face photographs designed for studying the problem of unconstrained face recognition. The data set contains more than 13,000 images of faces collected from the web. Each face has been labeled with the name of the person pictured. 1680 of the people pictured have two or more distinct photos in the data set. The only constraint on these faces is that they were detected by the Viola-Jones face detector. More details can be found in the technical report below.

There are now four different sets of LFW images including the original and three different types of "aligned" images. The aligned images include "funneled images" (ICCV 2007), LFW-a, which uses an unpublished method of alignment, and "deep funneled" images (NIPS 2012). Among these, LFW-a and the deep funneled images produce superior results for most face verification algorithms over the original images and over the funneled images (ICCV 2007). -umass