SlideShare ist ein Scribd-Unternehmen logo
1 von 4
Downloaden Sie, um offline zu lesen
A Hybrid Framework of Facial Expression
Recognition using SVD & PCA
Rupinder Saini, Narinder Rana
Rayat Institute of Engineering and IT
Abstract-Facial Expression Recognition (FER) is really a
speedily growing and an ever green research field in the
region of Computer Vision, Artificial Intelligent and
Automation. This paper implements facial expression
recognition techniques using Principal Component analysis
(PCA) with Singular Value Decomposition (SVD).
Experiments are performed using Real database images.
Support Vector Machine (SVM) classifier is used for face
classification. Emotion detection is performed using
Regression Algorithm with SURF (Speed Up Robust
Feature).The universally accepted five principal emotions to
be recognized are: Angry, Happy, Sad, Disgust and Surprise
along with neutral.
Keywords-SVD, PCA, SURF, Facial expression, Accuracy
I.INTRODUCTION
Expression is an important mode of non-verbal
conversation among people. Recently, the facial
expression recognition technology attracts more and more
attention with people’s growing interesting in expression
information. Facial expression provides essential
information about the mental, emotive and in many cases
even physical states of the conversation. Face expression
recognition possesses practically significant importance; it
offers vast application prospects, such as user-friendly
interface between people and machine, humanistic design
of products, and an automatic robot for example. Face
perception is an important component of human
knowledge. Faces contain much information about ones id
and also about mood and state of mind. Facial expression
interactions usually relevant in social life, teacher-student
interaction, credibility in numerous contexts, medicine etc.
however people can easily recognize facial expression
easily, but it is quite hard for a machine to do this.
To achieve high degree of efficiency, to increase the speed
of computation, better utilization of memory, in terms of
classification and recognition of facial expressions by some
of the modifications in terms of feature extraction,
classification and recognition algorithms. To meet the
estimated goals, the main objective of this research is to
develop Facial Expression Recognition System by
combination of two or more techniques that can take
human facial images having some expression as input,
classify and recognize them into appropriate expression
class that we are using.
Principal Components Analysis (PCA) is a technique of
identifying patterns in data, and expressing the data in such
a way so as to highlight their differences and similarities
[1]. Singular Value Decomposition is an outcome of linear
algebra. This plays an interesting, essential role in many
different apps.
One such applications is in digital image Processing. SVD
in digital applications provides a robust method for storing
large images into smaller and more manageable square
ones [2].SURF (Speed Up Robust Feature) is a Robust
local feature detector . This SURF detector is based on the
determinant of Hessian matrix.
II.FACIAL EXPRESSION DATABASE
The database obtained with 50 photographs of one person
at different expression. There are 50 images in database
like happy, neutral, sad, anger and disgust. Database for
testing phase is prepared by taking 1-5 photographs of a
person on different expression but in similar conditions.
such as (lighting, background, distance from camera etc.).
Accuracy, Average Recognition and matching time of all
test samples are obtained. Fig.1 shows the sample database
image.
Rupinder Saini et al, / (IJCSIT) International Journal of Computer Science and Information Technologies, Vol. 5 (5) , 2014, 6676-6679
www.ijcsit.com 6676
Fig.1 Sample Database Images
III.FACIAL EXPRESSION RECOGNITION SYSTEM
This section describes facial expression recognition system
architecture. Face expression recognition system is divided
into three modules: Preprocessing, Feature Extraction,
Expression Recognition. Fig.2 represents the basic blocks
of facial expression recognition system.
Decision Making
Decision Making
Fig.2 Facial Expression Recognition System Architecture
The images from database are uploaded and passed for
Feature extraction. In feature extraction unit, feature points
are extracted using PCA with SVD and point localization
algorithm. The Feature matrices of train images and testing
images are passed to the classifier unit for the
classification of given face query with the knowledge
created for the available database. Then SVM matching
Classifier is used for finding the closest match. Mean of
neutral images is calculated of all train images. Then
distance between the expression of test image and mean
neutral expression is computed that is Euclidean distance.
In the same way, distance between the expression of train
image and mean neutral expression is computed. The
minimum difference between any pair will represent the
best possible matched facial Expression. Emotion
detection is then performed using Regression Algorithm
with SURF feature. Accuracy, Average Recognition Rate,
Matching time, PSNR and MSE are calculated for
proposed work.
IV.PCA WITH SVD METHOD
Principal Component Analysis (PCA) is a statistical
technique used for dimension reduction and recognition, &
widely used for facial feature extraction and recognition.
PCA is known as Eigen space Projection which is based on
linearly projection the image space to a low Dimension
feature space that is known as Eigen space.Many PCA-
based face-Recognition systems have also been developed
in the last decade.however ,existing PCA-based face
recognition systems are hard to scale up because of the
computational cost and memory requirement burden. A 2-
D facial image can be reperesented as 1-D vector by
concatenating each row or column into a long thin vector.
Let’s suppose we have M vectors of size N (= rows of
image £ columns of image) representing a set of sampled
images. pj’s represent the pixel Values.
= [p1, pN] ; i = 1,..... , M
The images are mean centered by subtracting the mean
image from each image vector. Let m represent the mean
image.
m=1/M ∑
And let be defined as mean centered image
= -m
Our goal is to find a set of ’s which have the largest
possible Projection onto each of the ’s. The singular
value decomposition is an outcome of linear algebra. SVD
in digital applications provides a robust method of storing
large images as smaller, more manageable square ones.
The singular value decomposition of a matrix A of m x n
matrix is given in the form,
A=UΣVT
Where U is an m x m orthogonal matrix; V an n x n
orthogonal matrix, and Σ is an m x n matrix containing the
singular values of A along its main diagonal.
Face
Database
Training
Images
PCA &
SVD
Feature
Vectors
Testing Images
Projection of
Test Image
Feature Vectors
Classi-fier
(SVM)
Rupinder Saini et al, / (IJCSIT) International Journal of Computer Science and Information Technologies, Vol. 5 (5) , 2014, 6676-6679
www.ijcsit.com 6677
SURF METHODOLOGY
Algorithm consists of four main parts [3]. :
1) Integral image generation,
2) Fast-Hessian detector (interest point detection),
3) Descriptor orientation assignment (optional),
4) Descriptor generation.
Much of the performance in SURF can be attributed to the
use of an intermediate image representation known as the
Integral Image.
Integral image is used by all subsequent parts of algorithm
to significantly accelerate their speed. Eq. (1) shows
integral image.
∑ , ∑ ∑ , .....Eq.1
The SURF detector is based on the determinant of the
Hessian matrix. Based on Integral Image, we can calculate
the Hessian matrix, as function of both space x = (x; y) and
scale σ. Eq. (1) shows Hessian matrix [4].
H(x, σ) =
	 x, σ ⋯ 	 x, σ
⋮ ⋱ ⋮
	 x, σ ⋯ 	 x, σ
..Eq.2
When SURF algorithm is used [5], all the representative
points are treated with same weight. This can be accounted
for by assigning dynamic weights to the representative
points. Intuitively, true representative points will appear in
images in the training set, and false representative points
will appear rarely. Based on this intuition, the weight of
each representative point can be defined as follows:
W = 	
. 	 	 	 . . 	 	
. 	 	 	 	
..Eq.3
Support Vector Machine
Support vector machines (SVM) are able to perform very
effective face detection on cluttered scenes [6]. They
perform structural risk minimization on training dataset to
choose the best decision boundary between classes. This
decision boundary is obtained from set of training data
(support vectors) which are closest to the between class
boundary. SVM requires a huge amount of training data to
select an affective decision boundary [6] and
computational cost is very high even if were strict
ourselves to single pose (frontal) detection.
V.EXPERIMENTAL RESULTS
The training database is consisted of 50 images. While the
test database contains 5 images that are randomly chosen
for every expression. The main parameters which are used
to evaluate the facial expression recognition system are:
Accuracy, Average Recognition rate and matching time.
The average recognition rate is 67.79. The accuracy of
proposed work is 98.79. Fig. 3 reveals the comparison
graph of proposed work .
Fig.3 . Comparison graph of Accuracy of previous work
and our proposed work
Fig.3 . Comparison graph of Average Recognition rate of
previous work and our proposed work.
VI.CONCLUSION
We proposed PCA with SVD using point localization
algorithm for feature points extraction. SVM is used as a
classifier for classification of facial expressions and to find
the closet match we use SURF feature matching technique.
The algorithm is implemented on real database images
captured from digital camera. This algorithm can
effectively distinguish different expressions by identifying
features. The Accuracy of the system obtained is about
98.79%. We got 67.79% average recognition rate for all
five principal emotions namely Angry, Disgusts, Happy,
Sad and Surprise along with Neutral.
ACKNOWLEDGMENT
This work is supported and guided by my Research guide. I
am very thankful to my research guide Mr. Narinder K.
Rana, Assistant professor, Computer Science Engineering,
Rayat Institute of Engineering and IT for his continuous
guidance and support. I would also like to thank my family
members who always support, help and guide me during
my dissertation.
Rupinder Saini et al, / (IJCSIT) International Journal of Computer Science and Information Technologies, Vol. 5 (5) , 2014, 6676-6679
www.ijcsit.com 6678
REFERENCES
[1] Akshat Garg and Vishakha Choudhary, “Facial Expression
Recognition Using Principal Component Analysis” ; International
Journal of Scientific Research Engineering &Technology
(IJSRET)Volume 1 Issue4 pp 039-042 July 2012.
[2] Ajit P.Gosavi and S.R.Khot (2013) “Facial Expression Recognition
using Principal Component Analysis with Singular Value
Decomposition”.
[3] Bhosale Swapnali B, Kayastha Vijay S, HarpaleVarsha K.,
“FEATURE EXTRACTION USING SURF ALGORITHM FOR
OBJECT RECOGNITION” ; International Journal of Technical
Research and Applications Volume 2, Issue 4 (July-Aug 2014).
[4] Dong Hui ,Han Dian Yuan, “Research of Image Matching Algorithm
Based on SURF Features” ; 2012 International Conference on
Computer Science and Information Processing.
[5] Swapnali B.,Vijay K.,Varsha H., “Feature based object detection
scheme”,; Technovision International Conf.,2014 .
[6] Shaogang Gong, Stephen McKenna and Alexandra Psarrou
“Dynamic Vision from Images to Face Recognition”, Imperial
College Press, 2000.
[7] Ms.Aswathy.R ‘‘Facial Expression Recognition Using SVM
Classification in Perceptual Color Space’’; IJCSMC, Vol. 2, Issue.
6, June 2013, pg.363 – 368.
[8] Roman W. ´Swiniarski1 and Andrzej Skowron, ‘‘Independent
Component Analysis, Principal Component Analysis and Rough Sets
in Face Recognition’’.
[9] Rabia Jarfi and Hamid R. Arabina, “A Survey of Face Recognition
Techniques”, Journal of Information Processing Systems, Vol.5,
No.2, June 2009.
[10] Rupinder Saini and Narinder Rana, "Comparison Of Various
Biometric Methods” ;International Journal of Advances in Science
and Technology (IJAST) Vol 2 Issue I (March 2014).
[11] Mandeep Kaur and Rajeev Vashisht,” Comparative Study of Facial
Expression Recognition Techniques; International Journal of
Computer Applications (0975 – 8887) Volume 13– No.1, January
2011.
[12] Jeemoni Kalita and Karen Das, “Recognition Of Facial Expression
Using Eigenvector Based Distributed Features And Euclidean
Distance Based Decision Making Technique”; International Journal
of Advanced Computer Science and Applications, Vol. 4, No. 2,
2013.
[13] S. M. Lajevardi and H. R. Wu,“Facial Expression Recognition in
Perceptual Color Space”; IEEE Transactions on Image Processing,
vol. 21, no. 8, pp. 3721-3732, 2012.
[14] Mahesh Kumbhar, Manasi Patil and Ashish Jadhav ,“Facial
Expression Recognition using Gabor Wavelet” ; International
Journal of Computer Applications (0975 – 8887) Volume 68– No.23,
April 2013.
[15] Caifeng Shan ,Shaogang Gong , Peter W. McOwan ,‘‘Facial
expression recognition based on Local Binary Patterns:A
comprehensive study’’; Image and Vision Computing 27 (2009)
803–816.
[16] M. Pardas and A. Bonafonte, “Facial animation parameters
extraction and expression recognition using Hidden Markov
Models,” Signal Processing: Image Communication,vol. 17, pp.675–
688, 2002.
AUTHOR’S PROFILE
Rupinder Saini received her B.E. degree from Punjab technical
University kapurthala in 2012. She is currently pursuing M.E in Computer
Science Engineering from College RIEIT Railmajra,University PTU
kapurthala. She has published 01 paper in International Journal,01 in
National Seminar.
Rupinder Saini et al, / (IJCSIT) International Journal of Computer Science and Information Technologies, Vol. 5 (5) , 2014, 6676-6679
www.ijcsit.com 6679

Weitere ähnliche Inhalte

Was ist angesagt?

Facial Emotion Recognition using Convolution Neural Network
Facial Emotion Recognition using Convolution Neural NetworkFacial Emotion Recognition using Convolution Neural Network
Facial Emotion Recognition using Convolution Neural Network
YogeshIJTSRD
 
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
Smriti Tikoo
 
Facial emotion recognition
Facial emotion recognitionFacial emotion recognition
Facial emotion recognition
Anukriti Dureha
 

Was ist angesagt? (20)

Emotion detection using cnn.pptx
Emotion detection using cnn.pptxEmotion detection using cnn.pptx
Emotion detection using cnn.pptx
 
Emotion recognition using image processing in deep learning
Emotion recognition using image     processing in deep learningEmotion recognition using image     processing in deep learning
Emotion recognition using image processing in deep learning
 
Emotion recognition
Emotion recognitionEmotion recognition
Emotion recognition
 
EMOTION DETECTION USING AI
EMOTION DETECTION USING AIEMOTION DETECTION USING AI
EMOTION DETECTION USING AI
 
Facial Emotion Recognition using Convolution Neural Network
Facial Emotion Recognition using Convolution Neural NetworkFacial Emotion Recognition using Convolution Neural Network
Facial Emotion Recognition using Convolution Neural Network
 
Facel expression recognition
Facel expression recognitionFacel expression recognition
Facel expression recognition
 
Face Recognition
Face RecognitionFace Recognition
Face Recognition
 
Face recognition tech1
Face recognition tech1Face recognition tech1
Face recognition tech1
 
Facial emotion detection on babies' emotional face using Deep Learning.
Facial emotion detection on babies' emotional face using Deep Learning.Facial emotion detection on babies' emotional face using Deep Learning.
Facial emotion detection on babies' emotional face using Deep Learning.
 
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
 
Facial Expression Recognitino
Facial Expression RecognitinoFacial Expression Recognitino
Facial Expression Recognitino
 
HUMAN EMOTION RECOGNIITION SYSTEM
HUMAN EMOTION RECOGNIITION SYSTEMHUMAN EMOTION RECOGNIITION SYSTEM
HUMAN EMOTION RECOGNIITION SYSTEM
 
Facial emotion recognition
Facial emotion recognitionFacial emotion recognition
Facial emotion recognition
 
Facial expression recognition
Facial expression recognitionFacial expression recognition
Facial expression recognition
 
Final year ppt
Final year pptFinal year ppt
Final year ppt
 
Model Based Emotion Detection using Point Clouds
Model Based Emotion Detection using Point CloudsModel Based Emotion Detection using Point Clouds
Model Based Emotion Detection using Point Clouds
 
Hog
HogHog
Hog
 
Facial Expression Recognition (FER) using Deep Learning
Facial Expression Recognition (FER) using Deep LearningFacial Expression Recognition (FER) using Deep Learning
Facial Expression Recognition (FER) using Deep Learning
 
Automated Face Detection System
Automated Face Detection SystemAutomated Face Detection System
Automated Face Detection System
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technology
 

Andere mochten auch

Facial expression recongnition Techniques, Database and Classifiers
Facial expression recongnition Techniques, Database and Classifiers Facial expression recongnition Techniques, Database and Classifiers
Facial expression recongnition Techniques, Database and Classifiers
Rupinder Saini
 
Emotion Recognition and Emotional Resonance: Exploring the Relationship betwe...
Emotion Recognition and Emotional Resonance: Exploring the Relationship betwe...Emotion Recognition and Emotional Resonance: Exploring the Relationship betwe...
Emotion Recognition and Emotional Resonance: Exploring the Relationship betwe...
Rebecca Noskeau
 
Facial recognition powerpoint
Facial recognition powerpointFacial recognition powerpoint
Facial recognition powerpoint
12206695
 
Face recognition ppt
Face recognition pptFace recognition ppt
Face recognition ppt
Santosh Kumar
 

Andere mochten auch (19)

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
 
Facial expression recongnition Techniques, Database and Classifiers
Facial expression recongnition Techniques, Database and Classifiers Facial expression recongnition Techniques, Database and Classifiers
Facial expression recongnition Techniques, Database and Classifiers
 
A Literature review on Facial Expression Recognition Techniques
A Literature review on Facial Expression Recognition TechniquesA Literature review on Facial Expression Recognition Techniques
A Literature review on Facial Expression Recognition Techniques
 
Automatic facial expression recognition using features of salient facial patches
Automatic facial expression recognition using features of salient facial patchesAutomatic facial expression recognition using features of salient facial patches
Automatic facial expression recognition using features of salient facial patches
 
Review of facial expression recognition system and used datasets
Review of facial expression recognition system and used datasetsReview of facial expression recognition system and used datasets
Review of facial expression recognition system and used datasets
 
Emotion Recognition and Emotional Resonance: Exploring the Relationship betwe...
Emotion Recognition and Emotional Resonance: Exploring the Relationship betwe...Emotion Recognition and Emotional Resonance: Exploring the Relationship betwe...
Emotion Recognition and Emotional Resonance: Exploring the Relationship betwe...
 
Facial expression recognition using pca and gabor with jaffe database 11748
Facial expression recognition using pca and gabor with jaffe database 11748Facial expression recognition using pca and gabor with jaffe database 11748
Facial expression recognition using pca and gabor with jaffe database 11748
 
Facial Expression Recognition Using Local Binary Pattern and Support Vector M...
Facial Expression Recognition Using Local Binary Pattern and Support Vector M...Facial Expression Recognition Using Local Binary Pattern and Support Vector M...
Facial Expression Recognition Using Local Binary Pattern and Support Vector M...
 
Facial expression recognition
Facial expression recognitionFacial expression recognition
Facial expression recognition
 
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...
 
Comparison of various Biometric methods
Comparison of various Biometric methodsComparison of various Biometric methods
Comparison of various Biometric methods
 
Face Detection Using MATLAB (SUD)
Face Detection Using MATLAB (SUD)Face Detection Using MATLAB (SUD)
Face Detection Using MATLAB (SUD)
 
Emotion recognition from facial expression using fuzzy logic
Emotion recognition from facial expression using fuzzy logicEmotion recognition from facial expression using fuzzy logic
Emotion recognition from facial expression using fuzzy logic
 
Face Recognition on MATLAB
Face Recognition on MATLABFace Recognition on MATLAB
Face Recognition on MATLAB
 
Facial expression recognition
Facial expression recognitionFacial expression recognition
Facial expression recognition
 
Facial expression recognition based on local binary patterns final
Facial expression recognition based on local binary patterns finalFacial expression recognition based on local binary patterns final
Facial expression recognition based on local binary patterns final
 
Facial recognition powerpoint
Facial recognition powerpointFacial recognition powerpoint
Facial recognition powerpoint
 
Facial expression
Facial expressionFacial expression
Facial expression
 
Face recognition ppt
Face recognition pptFace recognition ppt
Face recognition ppt
 

Ähnlich wie Facial Expression Recognition

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
Ijcem Journal
 
Synops emotion recognize
Synops emotion recognizeSynops emotion recognize
Synops emotion recognize
Avdhesh Gupta
 
Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113
Editor IJARCET
 
Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113Volume 2-issue-6-2108-2113
Volume 2-issue-6-2108-2113
Editor IJARCET
 
Appearance based face recognition by pca and lda
Appearance based face recognition by pca and ldaAppearance based face recognition by pca and lda
Appearance based face recognition by pca and lda
IAEME Publication
 
Face recogntion using PCA algorithm
Face recogntion using PCA algorithmFace recogntion using PCA algorithm
Face recogntion using PCA algorithm
Ashwini Awatare
 
Real time face recognition system using eigen faces
Real time face recognition system using eigen facesReal time face recognition system using eigen faces
Real time face recognition system using eigen faces
IAEME Publication
 

Ähnlich wie Facial Expression Recognition (20)

Implementation of Face Recognition in Cloud Vision Using Eigen Faces
Implementation of Face Recognition in Cloud Vision Using Eigen FacesImplementation of Face Recognition in Cloud Vision Using Eigen Faces
Implementation of Face Recognition in Cloud Vision Using Eigen Faces
 
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
 
Criminal Detection System
Criminal Detection SystemCriminal Detection System
Criminal Detection System
 
Identifying Gender from Facial Parts Using Support Vector Machine Classifier
Identifying Gender from Facial Parts Using Support Vector Machine ClassifierIdentifying Gender from Facial Parts Using Support Vector Machine Classifier
Identifying Gender from Facial Parts Using Support Vector Machine Classifier
 
Synops emotion recognize
Synops emotion recognizeSynops emotion recognize
Synops emotion recognize
 
Face Identification Project Abstract 2017
Face Identification Project Abstract 2017Face Identification Project Abstract 2017
Face Identification Project Abstract 2017
 
Face Emotion Analysis Using Gabor Features In Image Database for Crime Invest...
Face Emotion Analysis Using Gabor Features In Image Database for Crime Invest...Face Emotion Analysis Using Gabor Features In Image Database for Crime Invest...
Face Emotion Analysis Using Gabor Features In Image Database for Crime Invest...
 
Real time facial expression analysis using pca
Real time facial expression analysis using pcaReal time facial expression analysis using pca
Real time facial expression analysis using pca
 
Happiness Expression Recognition at Different Age Conditions
Happiness Expression Recognition at Different Age ConditionsHappiness Expression Recognition at Different Age Conditions
Happiness Expression Recognition at Different Age Conditions
 
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
 
An Assimilated Face Recognition System with effective Gender Recognition Rate
An Assimilated Face Recognition System with effective Gender Recognition RateAn Assimilated Face Recognition System with effective Gender Recognition Rate
An Assimilated Face Recognition System with effective Gender Recognition Rate
 
Appearance based face recognition by pca and lda
Appearance based face recognition by pca and ldaAppearance based face recognition by pca and lda
Appearance based face recognition by pca and lda
 
Face recogntion using PCA algorithm
Face recogntion using PCA algorithmFace recogntion using PCA algorithm
Face recogntion using PCA algorithm
 
Image Redundancy and Its Elimination
Image Redundancy and Its EliminationImage Redundancy and Its Elimination
Image Redundancy and Its Elimination
 
Face Recognition using PCA and MSNN
Face Recognition using PCA and MSNNFace Recognition using PCA and MSNN
Face Recognition using PCA and MSNN
 
Real time face recognition system using eigen faces
Real time face recognition system using eigen facesReal time face recognition system using eigen faces
Real time face recognition system using eigen faces
 
Face Recognition Using Gabor features And PCA
Face Recognition Using Gabor features And PCAFace Recognition Using Gabor features And PCA
Face Recognition Using Gabor features And PCA
 
A Hybrid Approach to Recognize Facial Image using Feature Extraction Method
A Hybrid Approach to Recognize Facial Image using Feature Extraction MethodA Hybrid Approach to Recognize Facial Image using Feature Extraction Method
A Hybrid Approach to Recognize Facial Image using Feature Extraction Method
 
Medoid based model for face recognition using eigen and fisher faces
Medoid based model for face recognition using eigen and fisher facesMedoid based model for face recognition using eigen and fisher faces
Medoid based model for face recognition using eigen and fisher faces
 

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 

Facial Expression Recognition

  • 1. A Hybrid Framework of Facial Expression Recognition using SVD & PCA Rupinder Saini, Narinder Rana Rayat Institute of Engineering and IT Abstract-Facial Expression Recognition (FER) is really a speedily growing and an ever green research field in the region of Computer Vision, Artificial Intelligent and Automation. This paper implements facial expression recognition techniques using Principal Component analysis (PCA) with Singular Value Decomposition (SVD). Experiments are performed using Real database images. Support Vector Machine (SVM) classifier is used for face classification. Emotion detection is performed using Regression Algorithm with SURF (Speed Up Robust Feature).The universally accepted five principal emotions to be recognized are: Angry, Happy, Sad, Disgust and Surprise along with neutral. Keywords-SVD, PCA, SURF, Facial expression, Accuracy I.INTRODUCTION Expression is an important mode of non-verbal conversation among people. Recently, the facial expression recognition technology attracts more and more attention with people’s growing interesting in expression information. Facial expression provides essential information about the mental, emotive and in many cases even physical states of the conversation. Face expression recognition possesses practically significant importance; it offers vast application prospects, such as user-friendly interface between people and machine, humanistic design of products, and an automatic robot for example. Face perception is an important component of human knowledge. Faces contain much information about ones id and also about mood and state of mind. Facial expression interactions usually relevant in social life, teacher-student interaction, credibility in numerous contexts, medicine etc. however people can easily recognize facial expression easily, but it is quite hard for a machine to do this. To achieve high degree of efficiency, to increase the speed of computation, better utilization of memory, in terms of classification and recognition of facial expressions by some of the modifications in terms of feature extraction, classification and recognition algorithms. To meet the estimated goals, the main objective of this research is to develop Facial Expression Recognition System by combination of two or more techniques that can take human facial images having some expression as input, classify and recognize them into appropriate expression class that we are using. Principal Components Analysis (PCA) is a technique of identifying patterns in data, and expressing the data in such a way so as to highlight their differences and similarities [1]. Singular Value Decomposition is an outcome of linear algebra. This plays an interesting, essential role in many different apps. One such applications is in digital image Processing. SVD in digital applications provides a robust method for storing large images into smaller and more manageable square ones [2].SURF (Speed Up Robust Feature) is a Robust local feature detector . This SURF detector is based on the determinant of Hessian matrix. II.FACIAL EXPRESSION DATABASE The database obtained with 50 photographs of one person at different expression. There are 50 images in database like happy, neutral, sad, anger and disgust. Database for testing phase is prepared by taking 1-5 photographs of a person on different expression but in similar conditions. such as (lighting, background, distance from camera etc.). Accuracy, Average Recognition and matching time of all test samples are obtained. Fig.1 shows the sample database image. Rupinder Saini et al, / (IJCSIT) International Journal of Computer Science and Information Technologies, Vol. 5 (5) , 2014, 6676-6679 www.ijcsit.com 6676
  • 2. Fig.1 Sample Database Images III.FACIAL EXPRESSION RECOGNITION SYSTEM This section describes facial expression recognition system architecture. Face expression recognition system is divided into three modules: Preprocessing, Feature Extraction, Expression Recognition. Fig.2 represents the basic blocks of facial expression recognition system. Decision Making Decision Making Fig.2 Facial Expression Recognition System Architecture The images from database are uploaded and passed for Feature extraction. In feature extraction unit, feature points are extracted using PCA with SVD and point localization algorithm. The Feature matrices of train images and testing images are passed to the classifier unit for the classification of given face query with the knowledge created for the available database. Then SVM matching Classifier is used for finding the closest match. Mean of neutral images is calculated of all train images. Then distance between the expression of test image and mean neutral expression is computed that is Euclidean distance. In the same way, distance between the expression of train image and mean neutral expression is computed. The minimum difference between any pair will represent the best possible matched facial Expression. Emotion detection is then performed using Regression Algorithm with SURF feature. Accuracy, Average Recognition Rate, Matching time, PSNR and MSE are calculated for proposed work. IV.PCA WITH SVD METHOD Principal Component Analysis (PCA) is a statistical technique used for dimension reduction and recognition, & widely used for facial feature extraction and recognition. PCA is known as Eigen space Projection which is based on linearly projection the image space to a low Dimension feature space that is known as Eigen space.Many PCA- based face-Recognition systems have also been developed in the last decade.however ,existing PCA-based face recognition systems are hard to scale up because of the computational cost and memory requirement burden. A 2- D facial image can be reperesented as 1-D vector by concatenating each row or column into a long thin vector. Let’s suppose we have M vectors of size N (= rows of image £ columns of image) representing a set of sampled images. pj’s represent the pixel Values. = [p1, pN] ; i = 1,..... , M The images are mean centered by subtracting the mean image from each image vector. Let m represent the mean image. m=1/M ∑ And let be defined as mean centered image = -m Our goal is to find a set of ’s which have the largest possible Projection onto each of the ’s. The singular value decomposition is an outcome of linear algebra. SVD in digital applications provides a robust method of storing large images as smaller, more manageable square ones. The singular value decomposition of a matrix A of m x n matrix is given in the form, A=UΣVT Where U is an m x m orthogonal matrix; V an n x n orthogonal matrix, and Σ is an m x n matrix containing the singular values of A along its main diagonal. Face Database Training Images PCA & SVD Feature Vectors Testing Images Projection of Test Image Feature Vectors Classi-fier (SVM) Rupinder Saini et al, / (IJCSIT) International Journal of Computer Science and Information Technologies, Vol. 5 (5) , 2014, 6676-6679 www.ijcsit.com 6677
  • 3. SURF METHODOLOGY Algorithm consists of four main parts [3]. : 1) Integral image generation, 2) Fast-Hessian detector (interest point detection), 3) Descriptor orientation assignment (optional), 4) Descriptor generation. Much of the performance in SURF can be attributed to the use of an intermediate image representation known as the Integral Image. Integral image is used by all subsequent parts of algorithm to significantly accelerate their speed. Eq. (1) shows integral image. ∑ , ∑ ∑ , .....Eq.1 The SURF detector is based on the determinant of the Hessian matrix. Based on Integral Image, we can calculate the Hessian matrix, as function of both space x = (x; y) and scale σ. Eq. (1) shows Hessian matrix [4]. H(x, σ) = x, σ ⋯ x, σ ⋮ ⋱ ⋮ x, σ ⋯ x, σ ..Eq.2 When SURF algorithm is used [5], all the representative points are treated with same weight. This can be accounted for by assigning dynamic weights to the representative points. Intuitively, true representative points will appear in images in the training set, and false representative points will appear rarely. Based on this intuition, the weight of each representative point can be defined as follows: W = . . . . ..Eq.3 Support Vector Machine Support vector machines (SVM) are able to perform very effective face detection on cluttered scenes [6]. They perform structural risk minimization on training dataset to choose the best decision boundary between classes. This decision boundary is obtained from set of training data (support vectors) which are closest to the between class boundary. SVM requires a huge amount of training data to select an affective decision boundary [6] and computational cost is very high even if were strict ourselves to single pose (frontal) detection. V.EXPERIMENTAL RESULTS The training database is consisted of 50 images. While the test database contains 5 images that are randomly chosen for every expression. The main parameters which are used to evaluate the facial expression recognition system are: Accuracy, Average Recognition rate and matching time. The average recognition rate is 67.79. The accuracy of proposed work is 98.79. Fig. 3 reveals the comparison graph of proposed work . Fig.3 . Comparison graph of Accuracy of previous work and our proposed work Fig.3 . Comparison graph of Average Recognition rate of previous work and our proposed work. VI.CONCLUSION We proposed PCA with SVD using point localization algorithm for feature points extraction. SVM is used as a classifier for classification of facial expressions and to find the closet match we use SURF feature matching technique. The algorithm is implemented on real database images captured from digital camera. This algorithm can effectively distinguish different expressions by identifying features. The Accuracy of the system obtained is about 98.79%. We got 67.79% average recognition rate for all five principal emotions namely Angry, Disgusts, Happy, Sad and Surprise along with Neutral. ACKNOWLEDGMENT This work is supported and guided by my Research guide. I am very thankful to my research guide Mr. Narinder K. Rana, Assistant professor, Computer Science Engineering, Rayat Institute of Engineering and IT for his continuous guidance and support. I would also like to thank my family members who always support, help and guide me during my dissertation. Rupinder Saini et al, / (IJCSIT) International Journal of Computer Science and Information Technologies, Vol. 5 (5) , 2014, 6676-6679 www.ijcsit.com 6678
  • 4. REFERENCES [1] Akshat Garg and Vishakha Choudhary, “Facial Expression Recognition Using Principal Component Analysis” ; International Journal of Scientific Research Engineering &Technology (IJSRET)Volume 1 Issue4 pp 039-042 July 2012. [2] Ajit P.Gosavi and S.R.Khot (2013) “Facial Expression Recognition using Principal Component Analysis with Singular Value Decomposition”. [3] Bhosale Swapnali B, Kayastha Vijay S, HarpaleVarsha K., “FEATURE EXTRACTION USING SURF ALGORITHM FOR OBJECT RECOGNITION” ; International Journal of Technical Research and Applications Volume 2, Issue 4 (July-Aug 2014). [4] Dong Hui ,Han Dian Yuan, “Research of Image Matching Algorithm Based on SURF Features” ; 2012 International Conference on Computer Science and Information Processing. [5] Swapnali B.,Vijay K.,Varsha H., “Feature based object detection scheme”,; Technovision International Conf.,2014 . [6] Shaogang Gong, Stephen McKenna and Alexandra Psarrou “Dynamic Vision from Images to Face Recognition”, Imperial College Press, 2000. [7] Ms.Aswathy.R ‘‘Facial Expression Recognition Using SVM Classification in Perceptual Color Space’’; IJCSMC, Vol. 2, Issue. 6, June 2013, pg.363 – 368. [8] Roman W. ´Swiniarski1 and Andrzej Skowron, ‘‘Independent Component Analysis, Principal Component Analysis and Rough Sets in Face Recognition’’. [9] Rabia Jarfi and Hamid R. Arabina, “A Survey of Face Recognition Techniques”, Journal of Information Processing Systems, Vol.5, No.2, June 2009. [10] Rupinder Saini and Narinder Rana, "Comparison Of Various Biometric Methods” ;International Journal of Advances in Science and Technology (IJAST) Vol 2 Issue I (March 2014). [11] Mandeep Kaur and Rajeev Vashisht,” Comparative Study of Facial Expression Recognition Techniques; International Journal of Computer Applications (0975 – 8887) Volume 13– No.1, January 2011. [12] Jeemoni Kalita and Karen Das, “Recognition Of Facial Expression Using Eigenvector Based Distributed Features And Euclidean Distance Based Decision Making Technique”; International Journal of Advanced Computer Science and Applications, Vol. 4, No. 2, 2013. [13] S. M. Lajevardi and H. R. Wu,“Facial Expression Recognition in Perceptual Color Space”; IEEE Transactions on Image Processing, vol. 21, no. 8, pp. 3721-3732, 2012. [14] Mahesh Kumbhar, Manasi Patil and Ashish Jadhav ,“Facial Expression Recognition using Gabor Wavelet” ; International Journal of Computer Applications (0975 – 8887) Volume 68– No.23, April 2013. [15] Caifeng Shan ,Shaogang Gong , Peter W. McOwan ,‘‘Facial expression recognition based on Local Binary Patterns:A comprehensive study’’; Image and Vision Computing 27 (2009) 803–816. [16] M. Pardas and A. Bonafonte, “Facial animation parameters extraction and expression recognition using Hidden Markov Models,” Signal Processing: Image Communication,vol. 17, pp.675– 688, 2002. AUTHOR’S PROFILE Rupinder Saini received her B.E. degree from Punjab technical University kapurthala in 2012. She is currently pursuing M.E in Computer Science Engineering from College RIEIT Railmajra,University PTU kapurthala. She has published 01 paper in International Journal,01 in National Seminar. Rupinder Saini et al, / (IJCSIT) International Journal of Computer Science and Information Technologies, Vol. 5 (5) , 2014, 6676-6679 www.ijcsit.com 6679