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

Facel expression recognition
Facel expression recognitionFacel expression recognition
Facel expression recognitionMintoo Jakhmola
 
Face Detection
Face DetectionFace Detection
Face DetectionAmr Sheta
 
Facial recognition system
Facial recognition systemFacial recognition system
Facial recognition systemDivya Sushma
 
Face recognigion system ppt
Face recognigion system pptFace recognigion system ppt
Face recognigion system pptRavi Kumar
 
Facial expression recognition system : survey
Facial expression recognition system : surveyFacial expression recognition system : survey
Facial expression recognition system : surveyMohamed Alhmdany
 
Face detection ppt
Face detection pptFace detection ppt
Face detection pptPooja R
 
Face recogntion Using PCA Algorithm
Face recogntion Using PCA Algorithm Face recogntion Using PCA Algorithm
Face recogntion Using PCA Algorithm Ashwini Awatare
 
Automated Face Detection System
Automated Face Detection SystemAutomated Face Detection System
Automated Face Detection SystemAbhiroop Ghatak
 
Face detection By Abdul Hanan
Face detection By Abdul HananFace detection By Abdul Hanan
Face detection By Abdul HananAbdul Hanan
 
Eigenface For Face Recognition
Eigenface For Face RecognitionEigenface For Face Recognition
Eigenface For Face RecognitionMinh Tran
 
Modern face recognition with deep learning
Modern face recognition with deep learningModern face recognition with deep learning
Modern face recognition with deep learningmarada0033
 
Face Recognition Methods based on Convolutional Neural Networks
Face Recognition Methods based on Convolutional Neural NetworksFace Recognition Methods based on Convolutional Neural Networks
Face Recognition Methods based on Convolutional Neural NetworksElaheh Rashedi
 
Facial powerpoint
Facial powerpointFacial powerpoint
Facial powerpoint12202843
 
FACE RECOGNITION TECHNOLOGY
FACE RECOGNITION TECHNOLOGYFACE RECOGNITION TECHNOLOGY
FACE RECOGNITION TECHNOLOGYJASHU JASWANTH
 
Face recognition system
Face recognition systemFace recognition system
Face recognition systemYogesh Lamture
 
Facial expression recognition based on image feature
Facial expression recognition based on image featureFacial expression recognition based on image feature
Facial expression recognition based on image featureTasnim Tara
 

Mais procurados (20)

Facel expression recognition
Facel expression recognitionFacel expression recognition
Facel expression recognition
 
Face Detection
Face DetectionFace Detection
Face Detection
 
Facial recognition system
Facial recognition systemFacial recognition system
Facial recognition system
 
Face recognigion system ppt
Face recognigion system pptFace recognigion system ppt
Face recognigion system ppt
 
Facial expression recognition system : survey
Facial expression recognition system : surveyFacial expression recognition system : survey
Facial expression recognition system : survey
 
Face detection ppt
Face detection pptFace detection ppt
Face detection ppt
 
Face recogntion Using PCA Algorithm
Face recogntion Using PCA Algorithm Face recogntion Using PCA Algorithm
Face recogntion Using PCA Algorithm
 
Automated Face Detection System
Automated Face Detection SystemAutomated Face Detection System
Automated Face Detection System
 
Face detection By Abdul Hanan
Face detection By Abdul HananFace detection By Abdul Hanan
Face detection By Abdul Hanan
 
Eigenface For Face Recognition
Eigenface For Face RecognitionEigenface For Face Recognition
Eigenface For Face Recognition
 
Modern face recognition with deep learning
Modern face recognition with deep learningModern face recognition with deep learning
Modern face recognition with deep learning
 
Final year ppt
Final year pptFinal year ppt
Final year ppt
 
Face recognition
Face recognitionFace recognition
Face recognition
 
face detection
face detectionface detection
face detection
 
Face Recognition Methods based on Convolutional Neural Networks
Face Recognition Methods based on Convolutional Neural NetworksFace Recognition Methods based on Convolutional Neural Networks
Face Recognition Methods based on Convolutional Neural Networks
 
Facial powerpoint
Facial powerpointFacial powerpoint
Facial powerpoint
 
FACE RECOGNITION TECHNOLOGY
FACE RECOGNITION TECHNOLOGYFACE RECOGNITION TECHNOLOGY
FACE RECOGNITION TECHNOLOGY
 
Face recognition system
Face recognition systemFace recognition system
Face recognition system
 
Facial expression recognition based on image feature
Facial expression recognition based on image featureFacial expression recognition based on image feature
Facial expression recognition based on image feature
 
Face recognition
Face recognitionFace recognition
Face recognition
 

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
 
Design of face recognition system using principal
Design of face recognition system using principalDesign of face recognition system using principal
Design of face recognition system using principaleSAT Publishing House
 

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
 
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
 
Design of face recognition system using principal
Design of face recognition system using principalDesign of face recognition system using principal
Design of face recognition system using principal
 

Último

VictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics
 
Ronisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited CatalogueRonisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited Catalogueitservices996
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalLionel Briand
 
Not a Kubernetes fan? The state of PaaS in 2024
Not a Kubernetes fan? The state of PaaS in 2024Not a Kubernetes fan? The state of PaaS in 2024
Not a Kubernetes fan? The state of PaaS in 2024Anthony Dahanne
 
Understanding Flamingo - DeepMind's VLM Architecture
Understanding Flamingo - DeepMind's VLM ArchitectureUnderstanding Flamingo - DeepMind's VLM Architecture
Understanding Flamingo - DeepMind's VLM Architecturerahul_net
 
Post Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on IdentityPost Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on Identityteam-WIBU
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZABSYZ Inc
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfDrew Moseley
 
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...Bert Jan Schrijver
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxAndreas Kunz
 
Effectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryErrorEffectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryErrorTier1 app
 
Introduction to Firebase Workshop Slides
Introduction to Firebase Workshop SlidesIntroduction to Firebase Workshop Slides
Introduction to Firebase Workshop Slidesvaideheekore1
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Rob Geurden
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Developmentvyaparkranti
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxRTS corp
 
Keeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldKeeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldRoberto Pérez Alcolea
 
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdfEnhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdfRTS corp
 

Último (20)

VictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
 
Ronisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited CatalogueRonisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited Catalogue
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive Goal
 
Not a Kubernetes fan? The state of PaaS in 2024
Not a Kubernetes fan? The state of PaaS in 2024Not a Kubernetes fan? The state of PaaS in 2024
Not a Kubernetes fan? The state of PaaS in 2024
 
Understanding Flamingo - DeepMind's VLM Architecture
Understanding Flamingo - DeepMind's VLM ArchitectureUnderstanding Flamingo - DeepMind's VLM Architecture
Understanding Flamingo - DeepMind's VLM Architecture
 
Post Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on IdentityPost Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on Identity
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZ
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdf
 
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
 
Effectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryErrorEffectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryError
 
Introduction to Firebase Workshop Slides
Introduction to Firebase Workshop SlidesIntroduction to Firebase Workshop Slides
Introduction to Firebase Workshop Slides
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Development
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
 
Keeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldKeeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository world
 
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdfEnhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
 

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