SlideShare uma empresa Scribd logo
1 de 25
Face Recognition Process
Amro El Namory
Esraa Adel
Misr Higher Institute for Computers, Mansoura. (Student).
CONTENTS:-
• What is Face Recognition ?
• How it works ?
• Steps of Face Recognition.
• Feature Extraction.
• Classification.
• Applications of Face Recognition.
• Advantage and Limitations of Face Recognition
• References.
WHAT IS FACE RECOGNITION ?
Face Recognition : is a process to
identify faces as a known or
Unknown face based on
face features.
HOW IT WORK?
Face Recognition software is based on the ability to
recognize faces.
Firstly, we must have a Database of faces and these
Database is trained to extract faces features.
Suppose we want to recognize a detected face of
unknown person, the software will extract the features
of the detected face and then compare these features
with the stored features in Database.
If the features are matched , the software will recognize
the detected face.
STEPS OF FACE RECOGNITION
Face Detection
Feature Extraction
Classification
Face Recognition
FLOW CHART SHOWS THE STEPS OF FACE
RECOGNITION AND HOW IT WORKS.
True
False
Start
Input Face
Size =
128*128
Feature Extraction
Resize to 128*128
Comparison Features with DB
Display Face
Matching
End
No Image
False
True
FEATURES EXTRACTION
Firstly , What is Features ?
♦ Features are used to describe the object prior to the task of
classification.
Then , What is Feature Extraction ?
♦ Feature Extraction is an operation on two dimensional images
that extract the features of these images and then produce a list
of descriptions , that calls Feature vector.
What are the types of Features ?
♦ Features are gleaned from :
1- The boundary properties of the shape.
2- The internal properties of the shape.
♦ We extract the Features from internal properties of the shape
using the mean value method.
♦ After calculating the mean value of each image, Calculating the
deviation of each image from the mean.
♦ After Feature Extraction we use the PCA Algorithm to reduce the
Extracted Features.
PCA ALGORITHM
♦ Principal Component Analysis (PCA) is a useful statistical technique that
has found application in fields such as face recognition and image
compression.
♦ The Functionality of PCA is the reduction of features by retaining as much as
variation possible in the original data set.
Steps of PCA :
1- Convert image of training set to image vectors.
2- Normalize the Face Vectors.
3- Calculate the Eigenvectors.
4- Reduce Dimensionality.
5- Back to original dimensionality.
6- Represent Each Face Image a Linear Combination of all K Eigenvectors.
STEP 1 : CONVERT IMAGE OF TRAINING SET TO
IMAGE VECTORS.
M = Images = 16
1 2 3 4 5 6
9 10 11 12 13 14
7 8
15 16
Image
ColumnVector
Images converted to vector
Face vector space
𝑻𝒊
STEP 2 : NORMALIZE THE FACE VECTORS.
M = Images = 16
1 2 3 4 5 6
9 10 11 12 13 14
7 8
15 16
Mean
ImageImages converted to vector
Face vector space
It have two stages :
1- Calculate the Average Face Vector / Mean Image (Ψ).
2- Subtract Mean Image from each face image.
1- Calculate the Average Face Vector / Mean Image (Ψ).
Saving to
Features
(Ψ)
Ф𝒊
STEP 2 : NORMALIZE THE FACE VECTORS.
2- Subtract Mean Image from each face image.
Normalized
Image
Face vector space
Image
Mean
Image– =
(Ψ)
Ф𝒊
STEP 3 : CALCULATE THE EIGENVECTORS.
♦ Firstly we need to calculate the covariance vector C
from the following equation :
𝐶 =
1
𝑀
𝑛=1
𝑀
Φ 𝑛Φ 𝑛
𝑇
=
1
𝑀
𝐴. 𝐴 𝑇
Where 𝑨 = {Ф 𝟏, Ф 𝟐, Ф 𝟑, … … … ., Ф 𝟏𝟔} [𝐀 = 𝐍 𝟐
× 𝐌]
♦ Then, we need to find only K eigenvectors from the 𝑵 𝟐 eigenvectors,
where K ≤ M
𝒖𝒊
STEP 4 : REDUCE DIMENSIONALITY.
♦ Consider lower dimensional sub space, then, Calculate Covariance
matrix (L) of lower dimensional.
M = Images = 16
1 2 3 4 5 6
9 10 11 12 13 14
7 8
15 16
(Ψ)Ф𝒊
𝒗𝒊Face vector space
Lower dimensional Sub space
𝑳 = 𝑨 𝑻 𝑨
= 𝑴 × 𝑵2 𝑵2 × 𝑴
= 𝑴 × 𝑴
𝝁𝒊
STEP 5 : BACK TO ORIGINAL DIMENSIONALITY.
𝒗𝒊 𝝁𝒊
𝒖𝒊 = 𝑨𝒗𝒊
(Ψ)Ф𝒊
The K selected eigenface
𝐂 = 𝑨𝑨 𝑻
STEP 6 : REPRESENT EACH FACE IMAGE A LINEAR
COMBINATION OF ALL K EIGENVECTORS.
(Ψ)Ф𝒊
The K selected eigenface
M = Images = 16
1 2 3 4 5 6
9 10 11 12 13 14
7 8
15 16
𝜴𝒊 =
𝝎 𝟏
𝒊
𝝎 𝟐
𝒊
𝝎 𝟑
𝒊
.
.
.
𝝎 𝑲
𝒊
Each face from Training set can be
represented a weighted sum of
the K Eigenfaces + the Mean face
Mean Image A weight vector 𝛀𝐢 which
is the eigenfaces
representation of the 𝒊 𝒕𝒉
face. We calculated each
faces weight vector.
Face vector space
EUCLIDEAN DISTANCE
♦ One of the most common metrics
used is the Euclidean distance measure.
♦ To measure the similarity of pattern samples in
the geometric pattern space.
♦ The Euclidean metric is widely used mainly
because it is simple to calculate.
EUCLIDEAN DISTANCE
♦ Consider two vectors (X and Y) that we wish to
find the Euclidean distance between them d(X, Y) .
Euclidean Distance
X
Y
x
y
𝒅 =
𝒊=𝟏
𝑴
(𝑿𝒊 − 𝒀𝒊) 𝟐
i =1,....., M
where M is the dimensionality of the vector.
EUCLIDEAN DISTANCE
For the two-dimensional we get :
𝒅 = (𝑿 𝟏 − 𝒀 𝟏) 𝟐+(𝑿 𝟐 − 𝒀 𝟐) 𝟐
Alternative distance metrics include : the sum of the modulus
of the differences between the measurements.
𝑳 𝟏 =
𝒊=𝟏
𝑴
|𝑿𝒊 − 𝒀𝒊|
EUCLIDEAN DISTANCE
In application, usually we have a description of a texture
sample X.
We want to find which element of a database best matches
that sample.
In terms of Euclidean distance, the difference d between the
M descriptions of a sample, X, and the description of a
known texture, Y, is d as given before.
𝒅 =
𝒊=𝟏
𝑴
(𝑿𝒊 − 𝒀𝒊) 𝟐
The classifier must decide which type of class category
they match most closely.
APPLICATIONS OF FACE RECOGNITION
• Image quality.
• Image size.
• Face angle.
• Processing and storage.
• Convenience and Social
acceptability, All you need is
your picture taken for it to
work.
• Face recognition is easy to
use and in many cases it can
be performed without a
Person even knowing.
• Face recognition is also one
of the most inexpensive
biometric in the market and
Its price should continue to
go down.
ADVANTAGE AND LIMITATIONS OF FACE
RECOGNATION
Advantage Disadvantage
REFERENCES
www.slideshare.com
www.wikipedia.com
Face Recognition

Mais conteúdo relacionado

Mais procurados

Project Face Detection
Project Face Detection Project Face Detection
Project Face Detection Abu Saleh Musa
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technologyShubhamLamichane
 
Fingerprint recognition using minutiae based feature
Fingerprint recognition using minutiae based featureFingerprint recognition using minutiae based feature
Fingerprint recognition using minutiae based featurevarsha mohite
 
Face Recognition
Face Recognition Face Recognition
Face Recognition nialler27
 
Detection and recognition of face using neural network
Detection and recognition of face using neural networkDetection and recognition of face using neural network
Detection and recognition of face using neural networkSmriti Tikoo
 
Face recognition application
Face recognition applicationFace recognition application
Face recognition applicationawadhesh kumar
 
Eigenface For Face Recognition
Eigenface For Face RecognitionEigenface For Face Recognition
Eigenface For Face RecognitionMinh Tran
 
Face Recognition Technology by Rohit
Face Recognition Technology by RohitFace Recognition Technology by Rohit
Face Recognition Technology by RohitRohit Shrivastava
 
seminar presentation on Face ricognition technology
seminar presentation on Face ricognition technologyseminar presentation on Face ricognition technology
seminar presentation on Face ricognition technologyJawhar Ali
 
Face recogntion Using PCA Algorithm
Face recogntion Using PCA Algorithm Face recogntion Using PCA Algorithm
Face recogntion Using PCA Algorithm Ashwini Awatare
 
Face detection presentation slide
Face detection  presentation slideFace detection  presentation slide
Face detection presentation slideSanjoy Dutta
 
Face detection ppt
Face detection pptFace detection ppt
Face detection pptPooja R
 
Face detection and recognition using surveillance camera2 edited
Face detection and recognition using surveillance camera2 editedFace detection and recognition using surveillance camera2 edited
Face detection and recognition using surveillance camera2 editedSantu Chall
 
Face recognigion system ppt
Face recognigion system pptFace recognigion system ppt
Face recognigion system pptRavi Kumar
 
Face recognition
Face recognition Face recognition
Face recognition Chandan A V
 

Mais procurados (20)

Project Face Detection
Project Face Detection Project Face Detection
Project Face Detection
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technology
 
Face recognition
Face recognition Face recognition
Face recognition
 
Fingerprint recognition using minutiae based feature
Fingerprint recognition using minutiae based featureFingerprint recognition using minutiae based feature
Fingerprint recognition using minutiae based feature
 
Face Recognition
Face Recognition Face Recognition
Face Recognition
 
Detection and recognition of face using neural network
Detection and recognition of face using neural networkDetection and recognition of face using neural network
Detection and recognition of face using neural network
 
Face recognition application
Face recognition applicationFace recognition application
Face recognition application
 
Eigenface For Face Recognition
Eigenface For Face RecognitionEigenface For Face Recognition
Eigenface For Face Recognition
 
Face Recognition Technology by Rohit
Face Recognition Technology by RohitFace Recognition Technology by Rohit
Face Recognition Technology by Rohit
 
Face recognition
Face recognitionFace recognition
Face recognition
 
seminar presentation on Face ricognition technology
seminar presentation on Face ricognition technologyseminar presentation on Face ricognition technology
seminar presentation on Face ricognition technology
 
Mini Project- Face Recognition
Mini Project- Face RecognitionMini Project- Face Recognition
Mini Project- Face Recognition
 
Face Detection
Face DetectionFace Detection
Face Detection
 
Face recogntion Using PCA Algorithm
Face recogntion Using PCA Algorithm Face recogntion Using PCA Algorithm
Face recogntion Using PCA Algorithm
 
Face detection presentation slide
Face detection  presentation slideFace detection  presentation slide
Face detection presentation slide
 
Face detection ppt
Face detection pptFace detection ppt
Face detection ppt
 
Face detection and recognition using surveillance camera2 edited
Face detection and recognition using surveillance camera2 editedFace detection and recognition using surveillance camera2 edited
Face detection and recognition using surveillance camera2 edited
 
Face recognigion system ppt
Face recognigion system pptFace recognigion system ppt
Face recognigion system ppt
 
Face recognition
Face recognition Face recognition
Face recognition
 
face detection
face detectionface detection
face detection
 

Destaque

Intro to Deep learning - Autoencoders
Intro to Deep learning - Autoencoders Intro to Deep learning - Autoencoders
Intro to Deep learning - Autoencoders Akash Goel
 
Convolutional neural network in practice
Convolutional neural network in practiceConvolutional neural network in practice
Convolutional neural network in practice남주 김
 
Simple Introduction to AutoEncoder
Simple Introduction to AutoEncoderSimple Introduction to AutoEncoder
Simple Introduction to AutoEncoderJun Lang
 
Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)Gaurav Mittal
 
Deep Learning - Convolutional Neural Networks - Architectural Zoo
Deep Learning - Convolutional Neural Networks - Architectural ZooDeep Learning - Convolutional Neural Networks - Architectural Zoo
Deep Learning - Convolutional Neural Networks - Architectural ZooChristian Perone
 
Deep Learning - Convolutional Neural Networks
Deep Learning - Convolutional Neural NetworksDeep Learning - Convolutional Neural Networks
Deep Learning - Convolutional Neural NetworksChristian Perone
 

Destaque (7)

CNN Tutorial
CNN TutorialCNN Tutorial
CNN Tutorial
 
Intro to Deep learning - Autoencoders
Intro to Deep learning - Autoencoders Intro to Deep learning - Autoencoders
Intro to Deep learning - Autoencoders
 
Convolutional neural network in practice
Convolutional neural network in practiceConvolutional neural network in practice
Convolutional neural network in practice
 
Simple Introduction to AutoEncoder
Simple Introduction to AutoEncoderSimple Introduction to AutoEncoder
Simple Introduction to AutoEncoder
 
Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)
 
Deep Learning - Convolutional Neural Networks - Architectural Zoo
Deep Learning - Convolutional Neural Networks - Architectural ZooDeep Learning - Convolutional Neural Networks - Architectural Zoo
Deep Learning - Convolutional Neural Networks - Architectural Zoo
 
Deep Learning - Convolutional Neural Networks
Deep Learning - Convolutional Neural NetworksDeep Learning - Convolutional Neural Networks
Deep Learning - Convolutional Neural Networks
 

Semelhante a Face Recognition

Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113Editor IJARCET
 
Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113Editor IJARCET
 
Eigenfaces , Fisherfaces and Dimensionality_Reduction
Eigenfaces , Fisherfaces and Dimensionality_ReductionEigenfaces , Fisherfaces and Dimensionality_Reduction
Eigenfaces , Fisherfaces and Dimensionality_Reductionmostafayounes012
 
Automated attendance system based on facial recognition
Automated attendance system based on facial recognitionAutomated attendance system based on facial recognition
Automated attendance system based on facial recognitionDhanush Kasargod
 
New Approach: Dominant and Additional Features Selection Based on Two Dimensi...
New Approach: Dominant and Additional Features Selection Based on Two Dimensi...New Approach: Dominant and Additional Features Selection Based on Two Dimensi...
New Approach: Dominant and Additional Features Selection Based on Two Dimensi...CSCJournals
 
Variational Autoencoders For Image Generation
Variational Autoencoders For Image GenerationVariational Autoencoders For Image Generation
Variational Autoencoders For Image GenerationJason Anderson
 
Predicting Emotions through Facial Expressions
Predicting Emotions through Facial Expressions  Predicting Emotions through Facial Expressions
Predicting Emotions through Facial Expressions twinkle singh
 
Image Redundancy and Its Elimination
Image Redundancy and Its EliminationImage Redundancy and Its Elimination
Image Redundancy and Its EliminationIJMERJOURNAL
 
Image–based face-detection-and-recognition-using-matlab
Image–based face-detection-and-recognition-using-matlabImage–based face-detection-and-recognition-using-matlab
Image–based face-detection-and-recognition-using-matlabIjcem Journal
 
An Efficient Feature Extraction Method With Local Region Zernike Moment for F...
An Efficient Feature Extraction Method With Local Region Zernike Moment for F...An Efficient Feature Extraction Method With Local Region Zernike Moment for F...
An Efficient Feature Extraction Method With Local Region Zernike Moment for F...ieijjournal
 
AN EFFICIENT FEATURE EXTRACTION METHOD WITH LOCAL REGION ZERNIKE MOMENT FOR F...
AN EFFICIENT FEATURE EXTRACTION METHOD WITH LOCAL REGION ZERNIKE MOMENT FOR F...AN EFFICIENT FEATURE EXTRACTION METHOD WITH LOCAL REGION ZERNIKE MOMENT FOR F...
AN EFFICIENT FEATURE EXTRACTION METHOD WITH LOCAL REGION ZERNIKE MOMENT FOR F...ieijjournal
 
ZERNIKE MOMENT-BASED FEATURE EXTRACTION FOR FACIAL RECOGNITION OF IDENTICAL T...
ZERNIKE MOMENT-BASED FEATURE EXTRACTION FOR FACIAL RECOGNITION OF IDENTICAL T...ZERNIKE MOMENT-BASED FEATURE EXTRACTION FOR FACIAL RECOGNITION OF IDENTICAL T...
ZERNIKE MOMENT-BASED FEATURE EXTRACTION FOR FACIAL RECOGNITION OF IDENTICAL T...ijcseit
 
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...Petroleum Training Institute
 
Caricature Recognition and Generation
Caricature Recognition and GenerationCaricature Recognition and Generation
Caricature Recognition and GenerationSaurav Jha
 
Human Face Detection Based on Combination of Logistic Regression, Distance of...
Human Face Detection Based on Combination of Logistic Regression, Distance of...Human Face Detection Based on Combination of Logistic Regression, Distance of...
Human Face Detection Based on Combination of Logistic Regression, Distance of...IJCSIS Research Publications
 
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an ObjectAnkur Tyagi
 
SYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITION
SYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITIONSYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITION
SYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITIONijcsit
 

Semelhante a Face Recognition (20)

Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113
 
Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113
 
Eigenfaces , Fisherfaces and Dimensionality_Reduction
Eigenfaces , Fisherfaces and Dimensionality_ReductionEigenfaces , Fisherfaces and Dimensionality_Reduction
Eigenfaces , Fisherfaces and Dimensionality_Reduction
 
Pca for semiinar
Pca for semiinarPca for semiinar
Pca for semiinar
 
Automated attendance system based on facial recognition
Automated attendance system based on facial recognitionAutomated attendance system based on facial recognition
Automated attendance system based on facial recognition
 
New Approach: Dominant and Additional Features Selection Based on Two Dimensi...
New Approach: Dominant and Additional Features Selection Based on Two Dimensi...New Approach: Dominant and Additional Features Selection Based on Two Dimensi...
New Approach: Dominant and Additional Features Selection Based on Two Dimensi...
 
Variational Autoencoders For Image Generation
Variational Autoencoders For Image GenerationVariational Autoencoders For Image Generation
Variational Autoencoders For Image Generation
 
Predicting Emotions through Facial Expressions
Predicting Emotions through Facial Expressions  Predicting Emotions through Facial Expressions
Predicting Emotions through Facial Expressions
 
Image Redundancy and Its Elimination
Image Redundancy and Its EliminationImage Redundancy and Its Elimination
Image Redundancy and Its Elimination
 
Image–based face-detection-and-recognition-using-matlab
Image–based face-detection-and-recognition-using-matlabImage–based face-detection-and-recognition-using-matlab
Image–based face-detection-and-recognition-using-matlab
 
An Efficient Feature Extraction Method With Local Region Zernike Moment for F...
An Efficient Feature Extraction Method With Local Region Zernike Moment for F...An Efficient Feature Extraction Method With Local Region Zernike Moment for F...
An Efficient Feature Extraction Method With Local Region Zernike Moment for F...
 
AN EFFICIENT FEATURE EXTRACTION METHOD WITH LOCAL REGION ZERNIKE MOMENT FOR F...
AN EFFICIENT FEATURE EXTRACTION METHOD WITH LOCAL REGION ZERNIKE MOMENT FOR F...AN EFFICIENT FEATURE EXTRACTION METHOD WITH LOCAL REGION ZERNIKE MOMENT FOR F...
AN EFFICIENT FEATURE EXTRACTION METHOD WITH LOCAL REGION ZERNIKE MOMENT FOR F...
 
ZERNIKE MOMENT-BASED FEATURE EXTRACTION FOR FACIAL RECOGNITION OF IDENTICAL T...
ZERNIKE MOMENT-BASED FEATURE EXTRACTION FOR FACIAL RECOGNITION OF IDENTICAL T...ZERNIKE MOMENT-BASED FEATURE EXTRACTION FOR FACIAL RECOGNITION OF IDENTICAL T...
ZERNIKE MOMENT-BASED FEATURE EXTRACTION FOR FACIAL RECOGNITION OF IDENTICAL T...
 
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
Muzammil Abdulrahman PPT On Gabor Wavelet Transform (GWT) Based Facial Expres...
 
Caricature Recognition and Generation
Caricature Recognition and GenerationCaricature Recognition and Generation
Caricature Recognition and Generation
 
Human Face Detection Based on Combination of Logistic Regression, Distance of...
Human Face Detection Based on Combination of Logistic Regression, Distance of...Human Face Detection Based on Combination of Logistic Regression, Distance of...
Human Face Detection Based on Combination of Logistic Regression, Distance of...
 
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
 
G1804014348
G1804014348G1804014348
G1804014348
 
Ijcatr04041016
Ijcatr04041016Ijcatr04041016
Ijcatr04041016
 
SYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITION
SYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITIONSYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITION
SYMMETRICAL WEIGHTED SUBSPACE HOLISTIC APPROACH FOR EXPRESSION RECOGNITION
 

Último

Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningVitsRangannavar
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 

Último (20)

Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 

Face Recognition

  • 1. Face Recognition Process Amro El Namory Esraa Adel Misr Higher Institute for Computers, Mansoura. (Student).
  • 2. CONTENTS:- • What is Face Recognition ? • How it works ? • Steps of Face Recognition. • Feature Extraction. • Classification. • Applications of Face Recognition. • Advantage and Limitations of Face Recognition • References.
  • 3. WHAT IS FACE RECOGNITION ? Face Recognition : is a process to identify faces as a known or Unknown face based on face features.
  • 4. HOW IT WORK? Face Recognition software is based on the ability to recognize faces. Firstly, we must have a Database of faces and these Database is trained to extract faces features. Suppose we want to recognize a detected face of unknown person, the software will extract the features of the detected face and then compare these features with the stored features in Database. If the features are matched , the software will recognize the detected face.
  • 5. STEPS OF FACE RECOGNITION Face Detection Feature Extraction Classification Face Recognition
  • 6. FLOW CHART SHOWS THE STEPS OF FACE RECOGNITION AND HOW IT WORKS. True False Start Input Face Size = 128*128 Feature Extraction Resize to 128*128
  • 7. Comparison Features with DB Display Face Matching End No Image False True
  • 8. FEATURES EXTRACTION Firstly , What is Features ? ♦ Features are used to describe the object prior to the task of classification. Then , What is Feature Extraction ? ♦ Feature Extraction is an operation on two dimensional images that extract the features of these images and then produce a list of descriptions , that calls Feature vector. What are the types of Features ? ♦ Features are gleaned from : 1- The boundary properties of the shape. 2- The internal properties of the shape.
  • 9. ♦ We extract the Features from internal properties of the shape using the mean value method. ♦ After calculating the mean value of each image, Calculating the deviation of each image from the mean. ♦ After Feature Extraction we use the PCA Algorithm to reduce the Extracted Features.
  • 10. PCA ALGORITHM ♦ Principal Component Analysis (PCA) is a useful statistical technique that has found application in fields such as face recognition and image compression. ♦ The Functionality of PCA is the reduction of features by retaining as much as variation possible in the original data set. Steps of PCA : 1- Convert image of training set to image vectors. 2- Normalize the Face Vectors. 3- Calculate the Eigenvectors. 4- Reduce Dimensionality. 5- Back to original dimensionality. 6- Represent Each Face Image a Linear Combination of all K Eigenvectors.
  • 11. STEP 1 : CONVERT IMAGE OF TRAINING SET TO IMAGE VECTORS. M = Images = 16 1 2 3 4 5 6 9 10 11 12 13 14 7 8 15 16 Image ColumnVector Images converted to vector Face vector space 𝑻𝒊
  • 12. STEP 2 : NORMALIZE THE FACE VECTORS. M = Images = 16 1 2 3 4 5 6 9 10 11 12 13 14 7 8 15 16 Mean ImageImages converted to vector Face vector space It have two stages : 1- Calculate the Average Face Vector / Mean Image (Ψ). 2- Subtract Mean Image from each face image. 1- Calculate the Average Face Vector / Mean Image (Ψ). Saving to Features (Ψ) Ф𝒊
  • 13. STEP 2 : NORMALIZE THE FACE VECTORS. 2- Subtract Mean Image from each face image. Normalized Image Face vector space Image Mean Image– = (Ψ) Ф𝒊
  • 14. STEP 3 : CALCULATE THE EIGENVECTORS. ♦ Firstly we need to calculate the covariance vector C from the following equation : 𝐶 = 1 𝑀 𝑛=1 𝑀 Φ 𝑛Φ 𝑛 𝑇 = 1 𝑀 𝐴. 𝐴 𝑇 Where 𝑨 = {Ф 𝟏, Ф 𝟐, Ф 𝟑, … … … ., Ф 𝟏𝟔} [𝐀 = 𝐍 𝟐 × 𝐌] ♦ Then, we need to find only K eigenvectors from the 𝑵 𝟐 eigenvectors, where K ≤ M 𝒖𝒊
  • 15. STEP 4 : REDUCE DIMENSIONALITY. ♦ Consider lower dimensional sub space, then, Calculate Covariance matrix (L) of lower dimensional. M = Images = 16 1 2 3 4 5 6 9 10 11 12 13 14 7 8 15 16 (Ψ)Ф𝒊 𝒗𝒊Face vector space Lower dimensional Sub space 𝑳 = 𝑨 𝑻 𝑨 = 𝑴 × 𝑵2 𝑵2 × 𝑴 = 𝑴 × 𝑴 𝝁𝒊
  • 16. STEP 5 : BACK TO ORIGINAL DIMENSIONALITY. 𝒗𝒊 𝝁𝒊 𝒖𝒊 = 𝑨𝒗𝒊 (Ψ)Ф𝒊 The K selected eigenface 𝐂 = 𝑨𝑨 𝑻
  • 17. STEP 6 : REPRESENT EACH FACE IMAGE A LINEAR COMBINATION OF ALL K EIGENVECTORS. (Ψ)Ф𝒊 The K selected eigenface M = Images = 16 1 2 3 4 5 6 9 10 11 12 13 14 7 8 15 16 𝜴𝒊 = 𝝎 𝟏 𝒊 𝝎 𝟐 𝒊 𝝎 𝟑 𝒊 . . . 𝝎 𝑲 𝒊 Each face from Training set can be represented a weighted sum of the K Eigenfaces + the Mean face Mean Image A weight vector 𝛀𝐢 which is the eigenfaces representation of the 𝒊 𝒕𝒉 face. We calculated each faces weight vector. Face vector space
  • 18. EUCLIDEAN DISTANCE ♦ One of the most common metrics used is the Euclidean distance measure. ♦ To measure the similarity of pattern samples in the geometric pattern space. ♦ The Euclidean metric is widely used mainly because it is simple to calculate.
  • 19. EUCLIDEAN DISTANCE ♦ Consider two vectors (X and Y) that we wish to find the Euclidean distance between them d(X, Y) . Euclidean Distance X Y x y 𝒅 = 𝒊=𝟏 𝑴 (𝑿𝒊 − 𝒀𝒊) 𝟐 i =1,....., M where M is the dimensionality of the vector.
  • 20. EUCLIDEAN DISTANCE For the two-dimensional we get : 𝒅 = (𝑿 𝟏 − 𝒀 𝟏) 𝟐+(𝑿 𝟐 − 𝒀 𝟐) 𝟐 Alternative distance metrics include : the sum of the modulus of the differences between the measurements. 𝑳 𝟏 = 𝒊=𝟏 𝑴 |𝑿𝒊 − 𝒀𝒊|
  • 21. EUCLIDEAN DISTANCE In application, usually we have a description of a texture sample X. We want to find which element of a database best matches that sample. In terms of Euclidean distance, the difference d between the M descriptions of a sample, X, and the description of a known texture, Y, is d as given before. 𝒅 = 𝒊=𝟏 𝑴 (𝑿𝒊 − 𝒀𝒊) 𝟐 The classifier must decide which type of class category they match most closely.
  • 22. APPLICATIONS OF FACE RECOGNITION
  • 23. • Image quality. • Image size. • Face angle. • Processing and storage. • Convenience and Social acceptability, All you need is your picture taken for it to work. • Face recognition is easy to use and in many cases it can be performed without a Person even knowing. • Face recognition is also one of the most inexpensive biometric in the market and Its price should continue to go down. ADVANTAGE AND LIMITATIONS OF FACE RECOGNATION Advantage Disadvantage