SlideShare ist ein Scribd-Unternehmen logo
1 von 5
Downloaden Sie, um offline zu lesen
Shivani Gangwar et al. Int. Journal of Engineering Research and Application www.ijera.com
Vol. 3, Issue 5, Sep-Oct 2013, pp.535-539
www.ijera.com 535 | P a g e
Human Emotion Recognition by Using Pattern Recognition
Network
Shivani Gangwar1
, Shashwat Shukla2
, Dr. Deepak Arora3
Computer Science & Engineering Department, Amity University Uttar Pradesh India
Abstract
Identifying Human Emotion is important in facilitating communication and interactions between individuals.
They are also used as an important mean in studying behavioral Science and in studying Psychological changes.
Since face is the prime source for recognizing human emotion, the proposed system will provide a quick and
practical approach for non-invasive emotion detection. The recognition of emotions is done by deploying an
intelligent system using neural network, signal processing and image processing toolbox of Matlab
7.12.0(R2011a). The network classifier is pattern recognition network which is actually a feed forward neural
network that will be trained for some images bearing different emotions. The trained network is then simulated
to test the new data for recognizing different emotions.
Keywords- Discrete Cosine Transform, Pattern Recognition Network.
I. INTRODUCTION
Communication through words to convey a
message by an individual is called verbal
communication while wordless communication is
called non verbal communication. Thus, these are
two modes of communication in humans. Non verbal
communication involves facial expressions, gestures
and sign languages to convey messages[1].Non
verbal method of communication thus plays a
significant role in society. Various applications like
lie detection, behavioral studies, automatic tutoring
system and entertainment have caught the attention of
most of the researchers in the last two decades and
led to the development of automatic Human Emotion
Recognition System. Emotion Recognition is to
detect changes in facial expressions in according to
an individual’s internal emotion state and intentions.
Charles Darwin was the first to describe in detail the
specific facial expression associated with emotions in
animals and humans and he argued that all mammals
show emotions reliably in their faces[1][2].As
Human face is a significant place for detecting
emotions, six emotions detected from human face.
They are Happy, Surprise, Anger, Sad, Fear and
Neutral. Fig 1 shows different human emotions. So in
the proposed paper Human Emotion Recognition
system has been developed that will train feed
forward neural network for various images showing
various emotions and also identify all six basic
emotions i.e. Happy, Fear, Sad, Surprise, Anger and
Neutral using neural network toolbox of Matlab
7.12.0(R2011a). A Graphical User Interface
Application needs to be developed that will help to
select various options from menu like Select Image ,
Train Network, Empty database and Detect Emotion.
II. LITERATURE SURVEY
Human Emotion recognition has been one of
the most interesting topics for researchers. Various
researches have been done in this field; self
organizing maps have been used to classify facial
expression. They used competitive learning approach
to learn the network. Every neuron at input layer is
connected to every other neuron at output layer. Only
one neuron at output layer give response to some
input data which is called winning neuron[3].This
Anger Neutral Sad
Surprise Happy Fear
Fig.1 Different Human Emotions
RESEARCH ARTICLE OPEN ACCESS
Shivani Gangwar et al. Int. Journal of Engineering Research and Application www.ijera.com
Vol. 3, Issue 5, Sep-Oct 2013, pp.535-539
www.ijera.com 536 | P a g e
neuron has the features more similar to input data
features. Principal Component Analysis(PCA)
technique have been used for extraction of features
and dimensionality reduction. Eigen vectors for 2-D
images are calculated and vectors that corresponds to
maximum eigen values are selected for
dimensionality reduction [4][6].Gabor Wavelet, an
effective feature extraction method have also been
used for classifying facial expressions. They used a
fuzzy controller with four input variables and
orientation of filter is decided for
images[5].Committees of Neural network have also
been used to classify various facial expressions. Two
types of parameters were used, real valued and
binary. Real valued parameters denote Mouth width,
distance between upper eyelid and lower and
Eyebrow raise distance. Binary parameters include
presence or absence of wrinkles, forehead lines, and
teeth visible and so on. All these parameters were
used to train committee of neural network.
Generalized and Specialized Committee consisting of
multiple neural networks were formed. Accuracy for
such networks was 90.34%[7].Another method uses
Point counter detection to extract facial features and
then PCA along with neural network were used to
identify emotions [10]. Another technique uses
Support Vector Machines(SVM) for emotion
classification. Vladimir Vapnik and their colleagues
gave the introduction of SVM. Their aim was to
generate a classifier that will work well for unknown
examples. It uses the concept of n dimensional hyper
plane which separates n feature vectors of different
classes[8][11]. Multi-Layer Perceptron (MLP) have
also been used in recognizing facial expression in
which neural network is not trained fully and output
of hidden layers are used as features[12]. Linear
Discriminant Analysis(LDA) is another technique
used for emotion detection. In this approach
Projection axes is searched on which data points of
similar classes are close to one another while inputs
of different classes are far from one another. It uses
Euclidean distance as measure for nearest neighbor
classifier for different human emotions[1].But the
performance of LDA system was not better than that
of Support Vector Machines.
III. METHODOLOGY
The proposed system will perform emotion
recognition process using following steps which are
explained below. Fig 2 shows a methodology adopted
for implementing the system.
1. Acquiring Images
The emotion recognition process begins by first
acquiring the images of different people bearing
different emotions. Sample size for this system is 100
i.e. images of about 100 people are collected in order
to train Classifier. Either already saved image can be
used or image can be captured from webcam using
Image acquisition toolbox of Matlab 7.12.0(R2011a).
2. Processing Image
The acquired image is resized and converted
to gray scale for further processing. In gray level
images R, G & B components have equal intensity in
RGB space. Gray scale images are very common and
sufficient for various tasks. Thus there is no need to
use color images that are harder to process. Images
are processed using Image processing toolbox of
Matlab 7.12.0(R2011a).
3. Feature Area Extraction
From gray scale images eyes and mouth
portions are extracted since these areas carry the
more essential emotion information. These extracted
areas will account into a 64X64 matrix each. The
matrices will contain numeric values ranging from 0
to 255. The two matrices are then manipulated for
feature extraction. Fig 3 shows cropped eye and
mouth portion of human face.
Fig.2 Human Emotion Recognition system
Fig.3 Cropped Eye and Mouth portion
4. Feature Extraction
Feature extraction is done using 2D Discrete
Cosine Transform (2D DCT) which changes the
image data from the spatial to the frequency
domain[9].2D DCT is calculated for matrices of eye
Shivani Gangwar et al. Int. Journal of Engineering Research and Application www.ijera.com
Vol. 3, Issue 5, Sep-Oct 2013, pp.535-539
www.ijera.com 537 | P a g e
and mouth which again resulted into two 64X64
matrices. In this matrix low frequency components
are located at the top left corner of the matrix and the
high frequency components are located at the bottom
right corner of the matrix. Since high frequency
components are more variant across images, low
frequency components are selected[9]. 66
coefficients for eye portion and 66 coefficients for
mouth portion have been extracted. Thus there are
total 132 coefficients which form a feature vector.
This feature vector is used to train the Pattern
Recognition Network i.e. Feedforward neural
network.
5. Training Classifier
Training classifier is Feedforward neural
network which uses backpropagation algorithm to
train the classifier for input data against given target
data i.e. all six emotions. Training function for this
network is Trainscg which is a scaled conjugate
gradient function. For a classifier, input data values
are extracted features which form a 132X1 feature
vector and target data is 6X1 feature vector. T is a
matrix for target data where emotions Happy, Sad,
Fear, Anger, Surprise and Neutral are denoted by
first, second, third, fourth, fifth and sixth rows of
matrix respectively. For an image carrying an angry
emotion, T will hold 0 values in all rows except 1 in
the fourth row. Fig.4 shows one such example. In this
way classifier is trained for multiple images enabling
the system to learn various emotions.
Fig.4 Target data for an image showing Anger
emotion
6. Simulation
The trained classifier is then simulated to
test new real world data and identify all six basics
emotions i.e. Happy, Sad, Anger, Fear, Surprise and
Neutral. For simulation trained network is given a
132X1 feature vector of a new image whose emotion
is to be detected. As shown in Fig. 2 Nout is output of
classifier which is a 6X1 matrix generated after
simulation. The system will generate emotion
corresponding to the row having maximum value in
the matrix Nout . Fig.5 shows the value of Nout for an
image is maximum in fourth row of matrix, so the
emotion is Anger for this image. Fig. 6 shows GUI of
the system that has detected Anger emotion for a
selected image.
IV. EXPERIMENTAL RESULTS
After implementing the system in Matlab
7.12.0(R2011a), performance graph is plotted. Fig 7
shows a neural network model for Human Emotion
Recognition system. The network contains 2 layers:
one hidden layer and one output layer. There are 132
input neurons; hidden and output layer contains 15
and 6 neurons respectively. Both the layers use tansig
transfer function which normalizes the output of each
layer between -1 and +1.
Fig.6 GUI of Human Emotion Recognition system
detecting ANGER emotion for an image.
Fig.7 Pattern Recognition Network
As shown in Fig.8 is Performance graph of Human
Emotion Recognition system. Collected data is
divided into three parts: Training data, Validation
data and Test data in the ratio of 80:10:10
respectively. Performance is measured in terms of
Fig.5 Value of Nout for Anger emotion
Nout
=
T =
Shivani Gangwar et al. Int. Journal of Engineering Research and Application www.ijera.com
Vol. 3, Issue 5, Sep-Oct 2013, pp.535-539
www.ijera.com 538 | P a g e
mean square error which decreased as the network
was trained.
Fig.8 Performance Graph (mse vs epochs)
Best Validation performance for the system was at
epoch 24 i.e. 0.12397; minimum the error better the
system will perform. Performance of system can be
thus be improved if the sample size for training is
increased.
Fig.9 Error Histogram
Histogram of error values has been plotted in Fig. 9.
It shows that for most of the instances errors are near
zero and very few instances have errors that are away
from zero which is good for the system.
Regression plot is another criteria for
cheking network performance. Fig. 10 shows this plot
with R=0.87171. For best fit of data by network,
value of R=1 and for worst fit R=0. For this system
value of R is close to 1 and therefore network has fit
the data well after training.
Fig.10 Regression Plot
There is one more measure which verify system
performance i.e. Confusion matrix which shows
percentage of right classification and percentage of
wrong classification. Fig.11 shows confusion matrix
in which diagonal elements represent right
classification by the system. In the matrix, one to six
rows and columns represent all six classes of human
emotions. 94.1% is the highest percentage of right
classification for class 1 and 6 which represent
Happy and Neutral emotion respectively. There is
difficulty in classifying Fear emotion as the
percentage is lowest for class 3 i.e. 76.5%. Overall
right classification by the system is 88%.
V. CONCLUSION
In this paper six emotions have been
identified by extracting feature areas of human face
and finding the 2D Discrete Cosine Transform of
extracted feature area. Then performing training of
pattern recognition network for the extracted features
and simulating the trained network to identify
emotions of new images.
VI. FUTURE SCOPE
More real life applications can be explored
like driver monitoring and studying human
psychology. In the proposed system the feature areas
are extracted manually, automatic feature area
extraction can be done. Mix Emotions like Happy
and Surprise, Sad and Fear from an image can also be
detected.
Shivani Gangwar et al. Int. Journal of Engineering Research and Application www.ijera.com
Vol. 3, Issue 5, Sep-Oct 2013, pp.535-539
www.ijera.com 539 | P a g e
Fig.11 Confusion Matrix
VII. ACKNOWLEDGMENT
We would like to express our sincere
gratitude to respected Mr. Aseem Chauhan,
Chancellor, Amity University, Lucknow and Maj.
Gen. K.K. Ohri AVSM (Retd.), Pro.Vice-Chancellor,
Amity University, Lucknow for putting their best
efforts and provide all the facilities needed to bring
this work to presentable form and their
encouragement and advice. We are also indebted to
Prof. S.T.H. Abidi, Director and Brig. U. K. Chopra,
Deputy Director, Amity University, Lucknow who
have been of indispensable help during this research
work.
REFERENCES
[1]. Caifeng Shan1
, Shaogang Gong2
, Peter W.
McOwan2
“Facial Expression Recognition
Based on Statistical Local Features”.
[2]. Recognition Darwin C. “The Expression of
the Emotions in Man and Animals” [M].
London: John Murray, 1872.
[3]. Ayako Katoh, Yasuhiro Fukui
“Classification Of Facial Expressions Using
Self-Organizing Maps” Proceedings of the
20th
Annual International Conference of the
IEEE Engineering in Medicine and Biology
Society, Vol. 20, No 2,1998
[4]. Kyungnam Kim “Face Recognition using
Principle Component Analysis”.
[5]. Behzad Oshidarit and Babak N. Araabi “An
Effective Feature Extraction Method for
Facial Expression Recognition using
Adaptive Gabor Wavelet”, 2010.
[6]. Dilbag Singh “Human Emotion System I.J.
Image, Graphics and Signal Processing”,
2012, 8, 50-56.
[7]. Saket S Kulkarni1
, Narender P Reddy*1
and
SI Hariharan2
“Facial expression (mood)
recognition from facial images using
committee neural networks”, BioMedical
Engineering OnLine, 2009.
[8]. Dustin Boswell “Introduction to Support
Vector Machines” August 6, 2002.
[9]. S. Dabbaghchian1
, A. Aghagolzadeh1
, and
M. S. Moin2
“Feature Extraction Using
Discrete Cosine Transform For Face
Recognition” 2007 IEEE.
[10]. Pushpaja V. Saudagare, D.S. Chaudhari
“Facial Expression Recognition using
Neural Network” –An Overview,
International Journal of Soft Computing and
Engineering (IJSCE) ISSN: 2231-2307,
Volume-2, Issue-1, March 2012.
[11]. ].Melanie Dumas “Emotional Expression
Recognition using Support Vector
Machine”.
[12]. Mine Altınay GÜNLER Hakan TORA
“Emotion Classification Using Hidden
Layer Outputs”, IEEE, 2012.
.

Weitere ähnliche Inhalte

Was ist angesagt?

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...Waqas Tariq
 
Facial Expression Recognition Using Enhanced Deep 3D Convolutional Neural Net...
Facial Expression Recognition Using Enhanced Deep 3D Convolutional Neural Net...Facial Expression Recognition Using Enhanced Deep 3D Convolutional Neural Net...
Facial Expression Recognition Using Enhanced Deep 3D Convolutional Neural Net...Willy Marroquin (WillyDevNET)
 
Facial Expression Recognition
Facial Expression Recognition Facial Expression Recognition
Facial Expression Recognition Rupinder Saini
 
Facial Emotion Recognition: A Deep Learning approach
Facial Emotion Recognition: A Deep Learning approachFacial Emotion Recognition: A Deep Learning approach
Facial Emotion Recognition: A Deep Learning approachAshwinRachha
 
Thermal Imaging Emotion Recognition final report 01
Thermal Imaging Emotion Recognition final report 01Thermal Imaging Emotion Recognition final report 01
Thermal Imaging Emotion Recognition final report 01Ai Zhang
 
Synops emotion recognize
Synops emotion recognizeSynops emotion recognize
Synops emotion recognizeAvdhesh Gupta
 
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 learningvishnuv43
 
Facial emotion recognition
Facial emotion recognitionFacial emotion recognition
Facial emotion recognitionRahin Patel
 
Predicting Emotions through Facial Expressions
Predicting Emotions through Facial Expressions  Predicting Emotions through Facial Expressions
Predicting Emotions through Facial Expressions twinkle singh
 
4837410 automatic-facial-emotion-recognition
4837410 automatic-facial-emotion-recognition4837410 automatic-facial-emotion-recognition
4837410 automatic-facial-emotion-recognitionNgaire Taylor
 
IRJET- An Overview on Automated Emotion Recognition System
IRJET-  	  An Overview on Automated Emotion Recognition SystemIRJET-  	  An Overview on Automated Emotion Recognition System
IRJET- An Overview on Automated Emotion Recognition SystemIRJET Journal
 
AI Therapist – Emotion Detection using Facial Detection and Recognition and S...
AI Therapist – Emotion Detection using Facial Detection and Recognition and S...AI Therapist – Emotion Detection using Facial Detection and Recognition and S...
AI Therapist – Emotion Detection using Facial Detection and Recognition and S...ijtsrd
 
Elicitation of Apt Human Emotions based on Discrete Wavelet Transform in E-Le...
Elicitation of Apt Human Emotions based on Discrete Wavelet Transform in E-Le...Elicitation of Apt Human Emotions based on Discrete Wavelet Transform in E-Le...
Elicitation of Apt Human Emotions based on Discrete Wavelet Transform in E-Le...AM Publications
 
Emotion Recognition using Image Processing
Emotion Recognition using Image ProcessingEmotion Recognition using Image Processing
Emotion Recognition using Image Processingijtsrd
 
Deep Neural NEtwork
Deep Neural NEtworkDeep Neural NEtwork
Deep Neural NEtworkVai Jayanthi
 
Muhammad Usman Akhtar | Ph.D Scholar | Wuhan University | School of Co...
Muhammad Usman Akhtar  |  Ph.D Scholar  |  Wuhan  University  |  School of Co...Muhammad Usman Akhtar  |  Ph.D Scholar  |  Wuhan  University  |  School of Co...
Muhammad Usman Akhtar | Ph.D Scholar | Wuhan University | School of Co...Wuhan University
 
Face Recognition System Using Local Ternary Pattern and Signed Number Multipl...
Face Recognition System Using Local Ternary Pattern and Signed Number Multipl...Face Recognition System Using Local Ternary Pattern and Signed Number Multipl...
Face Recognition System Using Local Ternary Pattern and Signed Number Multipl...inventionjournals
 

Was ist angesagt? (20)

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...
 
Facial Expression Recognition Using Enhanced Deep 3D Convolutional Neural Net...
Facial Expression Recognition Using Enhanced Deep 3D Convolutional Neural Net...Facial Expression Recognition Using Enhanced Deep 3D Convolutional Neural Net...
Facial Expression Recognition Using Enhanced Deep 3D Convolutional Neural Net...
 
Facial Expression Recognition
Facial Expression Recognition Facial Expression Recognition
Facial Expression Recognition
 
Facial Emotion Recognition: A Deep Learning approach
Facial Emotion Recognition: A Deep Learning approachFacial Emotion Recognition: A Deep Learning approach
Facial Emotion Recognition: A Deep Learning approach
 
Thermal Imaging Emotion Recognition final report 01
Thermal Imaging Emotion Recognition final report 01Thermal Imaging Emotion Recognition final report 01
Thermal Imaging Emotion Recognition final report 01
 
Synops emotion recognize
Synops emotion recognizeSynops emotion recognize
Synops emotion recognize
 
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
 
1705.07543
1705.075431705.07543
1705.07543
 
Facial emotion recognition
Facial emotion recognitionFacial emotion recognition
Facial emotion recognition
 
Predicting Emotions through Facial Expressions
Predicting Emotions through Facial Expressions  Predicting Emotions through Facial Expressions
Predicting Emotions through Facial Expressions
 
4837410 automatic-facial-emotion-recognition
4837410 automatic-facial-emotion-recognition4837410 automatic-facial-emotion-recognition
4837410 automatic-facial-emotion-recognition
 
IRJET- An Overview on Automated Emotion Recognition System
IRJET-  	  An Overview on Automated Emotion Recognition SystemIRJET-  	  An Overview on Automated Emotion Recognition System
IRJET- An Overview on Automated Emotion Recognition System
 
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
 
AI Therapist – Emotion Detection using Facial Detection and Recognition and S...
AI Therapist – Emotion Detection using Facial Detection and Recognition and S...AI Therapist – Emotion Detection using Facial Detection and Recognition and S...
AI Therapist – Emotion Detection using Facial Detection and Recognition and S...
 
Elicitation of Apt Human Emotions based on Discrete Wavelet Transform in E-Le...
Elicitation of Apt Human Emotions based on Discrete Wavelet Transform in E-Le...Elicitation of Apt Human Emotions based on Discrete Wavelet Transform in E-Le...
Elicitation of Apt Human Emotions based on Discrete Wavelet Transform in E-Le...
 
Emotion Recognition using Image Processing
Emotion Recognition using Image ProcessingEmotion Recognition using Image Processing
Emotion Recognition using Image Processing
 
Deep Neural NEtwork
Deep Neural NEtworkDeep Neural NEtwork
Deep Neural NEtwork
 
Muhammad Usman Akhtar | Ph.D Scholar | Wuhan University | School of Co...
Muhammad Usman Akhtar  |  Ph.D Scholar  |  Wuhan  University  |  School of Co...Muhammad Usman Akhtar  |  Ph.D Scholar  |  Wuhan  University  |  School of Co...
Muhammad Usman Akhtar | Ph.D Scholar | Wuhan University | School of Co...
 
Face Recognition System Using Local Ternary Pattern and Signed Number Multipl...
Face Recognition System Using Local Ternary Pattern and Signed Number Multipl...Face Recognition System Using Local Ternary Pattern and Signed Number Multipl...
Face Recognition System Using Local Ternary Pattern and Signed Number Multipl...
 
Emotion recognition
Emotion recognitionEmotion recognition
Emotion recognition
 

Andere mochten auch (20)

Cp35508515
Cp35508515Cp35508515
Cp35508515
 
Cs35531534
Cs35531534Cs35531534
Cs35531534
 
Db35575578
Db35575578Db35575578
Db35575578
 
Cw35552557
Cw35552557Cw35552557
Cw35552557
 
Cd35455460
Cd35455460Cd35455460
Cd35455460
 
Di35605610
Di35605610Di35605610
Di35605610
 
Ca35441445
Ca35441445Ca35441445
Ca35441445
 
Dl35622627
Dl35622627Dl35622627
Dl35622627
 
Dd35584588
Dd35584588Dd35584588
Dd35584588
 
Ch35473477
Ch35473477Ch35473477
Ch35473477
 
Dn35636640
Dn35636640Dn35636640
Dn35636640
 
Cr35524530
Cr35524530Cr35524530
Cr35524530
 
Cn35499502
Cn35499502Cn35499502
Cn35499502
 
Df35592595
Df35592595Df35592595
Df35592595
 
Cz35565572
Cz35565572Cz35565572
Cz35565572
 
Cm35495498
Cm35495498Cm35495498
Cm35495498
 
Co35503507
Co35503507Co35503507
Co35503507
 
Cq35516523
Cq35516523Cq35516523
Cq35516523
 
Ce35461464
Ce35461464Ce35461464
Ce35461464
 
Cl35491494
Cl35491494Cl35491494
Cl35491494
 

Ähnlich wie Ct35535539

EMOTION RECOGNITION SYSTEMS: A REVIEW
EMOTION RECOGNITION SYSTEMS: A REVIEWEMOTION RECOGNITION SYSTEMS: A REVIEW
EMOTION RECOGNITION SYSTEMS: A REVIEWIRJET Journal
 
Project report of thr facial expressionppt.pptx
Project report of thr facial expressionppt.pptxProject report of thr facial expressionppt.pptx
Project report of thr facial expressionppt.pptxtaxihig737
 
Efficient Facial Expression and Face Recognition using Ranking Method
Efficient Facial Expression and Face Recognition using Ranking MethodEfficient Facial Expression and Face Recognition using Ranking Method
Efficient Facial Expression and Face Recognition using Ranking MethodIJERA Editor
 
Two Level Decision for Recognition of Human Facial Expressions using Neural N...
Two Level Decision for Recognition of Human Facial Expressions using Neural N...Two Level Decision for Recognition of Human Facial Expressions using Neural N...
Two Level Decision for Recognition of Human Facial Expressions using Neural N...IIRindia
 
Study on Different Human Emotions Using Back Propagation Method
Study on Different Human Emotions Using Back Propagation MethodStudy on Different Human Emotions Using Back Propagation Method
Study on Different Human Emotions Using Back Propagation Methodijiert bestjournal
 
Emotion Recognition through Speech Analysis using various Deep Learning Algor...
Emotion Recognition through Speech Analysis using various Deep Learning Algor...Emotion Recognition through Speech Analysis using various Deep Learning Algor...
Emotion Recognition through Speech Analysis using various Deep Learning Algor...IRJET Journal
 
Face expression recognition using Scaled-conjugate gradient Back-Propagation ...
Face expression recognition using Scaled-conjugate gradient Back-Propagation ...Face expression recognition using Scaled-conjugate gradient Back-Propagation ...
Face expression recognition using Scaled-conjugate gradient Back-Propagation ...IJMER
 
HSV Brightness Factor Matching for Gesture Recognition System
HSV Brightness Factor Matching for Gesture Recognition SystemHSV Brightness Factor Matching for Gesture Recognition System
HSV Brightness Factor Matching for Gesture Recognition SystemCSCJournals
 
Recognition of Sentiment using Deep Neural Network
Recognition of Sentiment using Deep Neural NetworkRecognition of Sentiment using Deep Neural Network
Recognition of Sentiment using Deep Neural Networkijtsrd
 
IRJET- Facial Expression Recognition System using Neural Network based on...
IRJET-  	  Facial Expression Recognition System using Neural Network based on...IRJET-  	  Facial Expression Recognition System using Neural Network based on...
IRJET- Facial Expression Recognition System using Neural Network based on...IRJET Journal
 
IRJET- Emotion Classification of Human Face Expressions using Transfer Le...
IRJET-  	  Emotion Classification of Human Face Expressions using Transfer Le...IRJET-  	  Emotion Classification of Human Face Expressions using Transfer Le...
IRJET- Emotion Classification of Human Face Expressions using Transfer Le...IRJET Journal
 
IRJET-speech emotion.pdf
IRJET-speech emotion.pdfIRJET-speech emotion.pdf
IRJET-speech emotion.pdfneeshukumari4
 
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 FacesIJERA Editor
 
IRJET - Emotion Recognising System-Crowd Behavior Analysis
IRJET -  	  Emotion Recognising System-Crowd Behavior AnalysisIRJET -  	  Emotion Recognising System-Crowd Behavior Analysis
IRJET - Emotion Recognising System-Crowd Behavior AnalysisIRJET Journal
 
IRJET- Prediction of Human Facial Expression using Deep Learning
IRJET- Prediction of Human Facial Expression using Deep LearningIRJET- Prediction of Human Facial Expression using Deep Learning
IRJET- Prediction of Human Facial Expression using Deep LearningIRJET Journal
 
Real Time Facial Expression Recognition and Imitation
Real Time Facial Expression Recognition and ImitationReal Time Facial Expression Recognition and Imitation
Real Time Facial Expression Recognition and Imitationijtsrd
 
Face Detection and Recognition using Back Propagation Neural Network (BPNN)
Face Detection and Recognition using Back Propagation Neural Network (BPNN)Face Detection and Recognition using Back Propagation Neural Network (BPNN)
Face Detection and Recognition using Back Propagation Neural Network (BPNN)IRJET Journal
 
Facial Emoji Recognition
Facial Emoji RecognitionFacial Emoji Recognition
Facial Emoji Recognitionijtsrd
 
Movie Sentiment Analysis using Deep Learning RNN
Movie Sentiment Analysis using Deep Learning RNNMovie Sentiment Analysis using Deep Learning RNN
Movie Sentiment Analysis using Deep Learning RNNijtsrd
 

Ähnlich wie Ct35535539 (20)

EMOTION RECOGNITION SYSTEMS: A REVIEW
EMOTION RECOGNITION SYSTEMS: A REVIEWEMOTION RECOGNITION SYSTEMS: A REVIEW
EMOTION RECOGNITION SYSTEMS: A REVIEW
 
Project report of thr facial expressionppt.pptx
Project report of thr facial expressionppt.pptxProject report of thr facial expressionppt.pptx
Project report of thr facial expressionppt.pptx
 
Efficient Facial Expression and Face Recognition using Ranking Method
Efficient Facial Expression and Face Recognition using Ranking MethodEfficient Facial Expression and Face Recognition using Ranking Method
Efficient Facial Expression and Face Recognition using Ranking Method
 
Two Level Decision for Recognition of Human Facial Expressions using Neural N...
Two Level Decision for Recognition of Human Facial Expressions using Neural N...Two Level Decision for Recognition of Human Facial Expressions using Neural N...
Two Level Decision for Recognition of Human Facial Expressions using Neural N...
 
Study on Different Human Emotions Using Back Propagation Method
Study on Different Human Emotions Using Back Propagation MethodStudy on Different Human Emotions Using Back Propagation Method
Study on Different Human Emotions Using Back Propagation Method
 
Emotion Recognition through Speech Analysis using various Deep Learning Algor...
Emotion Recognition through Speech Analysis using various Deep Learning Algor...Emotion Recognition through Speech Analysis using various Deep Learning Algor...
Emotion Recognition through Speech Analysis using various Deep Learning Algor...
 
Face expression recognition using Scaled-conjugate gradient Back-Propagation ...
Face expression recognition using Scaled-conjugate gradient Back-Propagation ...Face expression recognition using Scaled-conjugate gradient Back-Propagation ...
Face expression recognition using Scaled-conjugate gradient Back-Propagation ...
 
HSV Brightness Factor Matching for Gesture Recognition System
HSV Brightness Factor Matching for Gesture Recognition SystemHSV Brightness Factor Matching for Gesture Recognition System
HSV Brightness Factor Matching for Gesture Recognition System
 
Recognition of Sentiment using Deep Neural Network
Recognition of Sentiment using Deep Neural NetworkRecognition of Sentiment using Deep Neural Network
Recognition of Sentiment using Deep Neural Network
 
IRJET- Facial Expression Recognition System using Neural Network based on...
IRJET-  	  Facial Expression Recognition System using Neural Network based on...IRJET-  	  Facial Expression Recognition System using Neural Network based on...
IRJET- Facial Expression Recognition System using Neural Network based on...
 
IRJET- Emotion Classification of Human Face Expressions using Transfer Le...
IRJET-  	  Emotion Classification of Human Face Expressions using Transfer Le...IRJET-  	  Emotion Classification of Human Face Expressions using Transfer Le...
IRJET- Emotion Classification of Human Face Expressions using Transfer Le...
 
IRJET-speech emotion.pdf
IRJET-speech emotion.pdfIRJET-speech emotion.pdf
IRJET-speech emotion.pdf
 
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
 
IRJET - Emotion Recognising System-Crowd Behavior Analysis
IRJET -  	  Emotion Recognising System-Crowd Behavior AnalysisIRJET -  	  Emotion Recognising System-Crowd Behavior Analysis
IRJET - Emotion Recognising System-Crowd Behavior Analysis
 
IRJET- Prediction of Human Facial Expression using Deep Learning
IRJET- Prediction of Human Facial Expression using Deep LearningIRJET- Prediction of Human Facial Expression using Deep Learning
IRJET- Prediction of Human Facial Expression using Deep Learning
 
Ijsrdv8 i10424
Ijsrdv8 i10424Ijsrdv8 i10424
Ijsrdv8 i10424
 
Real Time Facial Expression Recognition and Imitation
Real Time Facial Expression Recognition and ImitationReal Time Facial Expression Recognition and Imitation
Real Time Facial Expression Recognition and Imitation
 
Face Detection and Recognition using Back Propagation Neural Network (BPNN)
Face Detection and Recognition using Back Propagation Neural Network (BPNN)Face Detection and Recognition using Back Propagation Neural Network (BPNN)
Face Detection and Recognition using Back Propagation Neural Network (BPNN)
 
Facial Emoji Recognition
Facial Emoji RecognitionFacial Emoji Recognition
Facial Emoji Recognition
 
Movie Sentiment Analysis using Deep Learning RNN
Movie Sentiment Analysis using Deep Learning RNNMovie Sentiment Analysis using Deep Learning RNN
Movie Sentiment Analysis using Deep Learning RNN
 

Kürzlich hochgeladen

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 

Kürzlich hochgeladen (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 

Ct35535539

  • 1. Shivani Gangwar et al. Int. Journal of Engineering Research and Application www.ijera.com Vol. 3, Issue 5, Sep-Oct 2013, pp.535-539 www.ijera.com 535 | P a g e Human Emotion Recognition by Using Pattern Recognition Network Shivani Gangwar1 , Shashwat Shukla2 , Dr. Deepak Arora3 Computer Science & Engineering Department, Amity University Uttar Pradesh India Abstract Identifying Human Emotion is important in facilitating communication and interactions between individuals. They are also used as an important mean in studying behavioral Science and in studying Psychological changes. Since face is the prime source for recognizing human emotion, the proposed system will provide a quick and practical approach for non-invasive emotion detection. The recognition of emotions is done by deploying an intelligent system using neural network, signal processing and image processing toolbox of Matlab 7.12.0(R2011a). The network classifier is pattern recognition network which is actually a feed forward neural network that will be trained for some images bearing different emotions. The trained network is then simulated to test the new data for recognizing different emotions. Keywords- Discrete Cosine Transform, Pattern Recognition Network. I. INTRODUCTION Communication through words to convey a message by an individual is called verbal communication while wordless communication is called non verbal communication. Thus, these are two modes of communication in humans. Non verbal communication involves facial expressions, gestures and sign languages to convey messages[1].Non verbal method of communication thus plays a significant role in society. Various applications like lie detection, behavioral studies, automatic tutoring system and entertainment have caught the attention of most of the researchers in the last two decades and led to the development of automatic Human Emotion Recognition System. Emotion Recognition is to detect changes in facial expressions in according to an individual’s internal emotion state and intentions. Charles Darwin was the first to describe in detail the specific facial expression associated with emotions in animals and humans and he argued that all mammals show emotions reliably in their faces[1][2].As Human face is a significant place for detecting emotions, six emotions detected from human face. They are Happy, Surprise, Anger, Sad, Fear and Neutral. Fig 1 shows different human emotions. So in the proposed paper Human Emotion Recognition system has been developed that will train feed forward neural network for various images showing various emotions and also identify all six basic emotions i.e. Happy, Fear, Sad, Surprise, Anger and Neutral using neural network toolbox of Matlab 7.12.0(R2011a). A Graphical User Interface Application needs to be developed that will help to select various options from menu like Select Image , Train Network, Empty database and Detect Emotion. II. LITERATURE SURVEY Human Emotion recognition has been one of the most interesting topics for researchers. Various researches have been done in this field; self organizing maps have been used to classify facial expression. They used competitive learning approach to learn the network. Every neuron at input layer is connected to every other neuron at output layer. Only one neuron at output layer give response to some input data which is called winning neuron[3].This Anger Neutral Sad Surprise Happy Fear Fig.1 Different Human Emotions RESEARCH ARTICLE OPEN ACCESS
  • 2. Shivani Gangwar et al. Int. Journal of Engineering Research and Application www.ijera.com Vol. 3, Issue 5, Sep-Oct 2013, pp.535-539 www.ijera.com 536 | P a g e neuron has the features more similar to input data features. Principal Component Analysis(PCA) technique have been used for extraction of features and dimensionality reduction. Eigen vectors for 2-D images are calculated and vectors that corresponds to maximum eigen values are selected for dimensionality reduction [4][6].Gabor Wavelet, an effective feature extraction method have also been used for classifying facial expressions. They used a fuzzy controller with four input variables and orientation of filter is decided for images[5].Committees of Neural network have also been used to classify various facial expressions. Two types of parameters were used, real valued and binary. Real valued parameters denote Mouth width, distance between upper eyelid and lower and Eyebrow raise distance. Binary parameters include presence or absence of wrinkles, forehead lines, and teeth visible and so on. All these parameters were used to train committee of neural network. Generalized and Specialized Committee consisting of multiple neural networks were formed. Accuracy for such networks was 90.34%[7].Another method uses Point counter detection to extract facial features and then PCA along with neural network were used to identify emotions [10]. Another technique uses Support Vector Machines(SVM) for emotion classification. Vladimir Vapnik and their colleagues gave the introduction of SVM. Their aim was to generate a classifier that will work well for unknown examples. It uses the concept of n dimensional hyper plane which separates n feature vectors of different classes[8][11]. Multi-Layer Perceptron (MLP) have also been used in recognizing facial expression in which neural network is not trained fully and output of hidden layers are used as features[12]. Linear Discriminant Analysis(LDA) is another technique used for emotion detection. In this approach Projection axes is searched on which data points of similar classes are close to one another while inputs of different classes are far from one another. It uses Euclidean distance as measure for nearest neighbor classifier for different human emotions[1].But the performance of LDA system was not better than that of Support Vector Machines. III. METHODOLOGY The proposed system will perform emotion recognition process using following steps which are explained below. Fig 2 shows a methodology adopted for implementing the system. 1. Acquiring Images The emotion recognition process begins by first acquiring the images of different people bearing different emotions. Sample size for this system is 100 i.e. images of about 100 people are collected in order to train Classifier. Either already saved image can be used or image can be captured from webcam using Image acquisition toolbox of Matlab 7.12.0(R2011a). 2. Processing Image The acquired image is resized and converted to gray scale for further processing. In gray level images R, G & B components have equal intensity in RGB space. Gray scale images are very common and sufficient for various tasks. Thus there is no need to use color images that are harder to process. Images are processed using Image processing toolbox of Matlab 7.12.0(R2011a). 3. Feature Area Extraction From gray scale images eyes and mouth portions are extracted since these areas carry the more essential emotion information. These extracted areas will account into a 64X64 matrix each. The matrices will contain numeric values ranging from 0 to 255. The two matrices are then manipulated for feature extraction. Fig 3 shows cropped eye and mouth portion of human face. Fig.2 Human Emotion Recognition system Fig.3 Cropped Eye and Mouth portion 4. Feature Extraction Feature extraction is done using 2D Discrete Cosine Transform (2D DCT) which changes the image data from the spatial to the frequency domain[9].2D DCT is calculated for matrices of eye
  • 3. Shivani Gangwar et al. Int. Journal of Engineering Research and Application www.ijera.com Vol. 3, Issue 5, Sep-Oct 2013, pp.535-539 www.ijera.com 537 | P a g e and mouth which again resulted into two 64X64 matrices. In this matrix low frequency components are located at the top left corner of the matrix and the high frequency components are located at the bottom right corner of the matrix. Since high frequency components are more variant across images, low frequency components are selected[9]. 66 coefficients for eye portion and 66 coefficients for mouth portion have been extracted. Thus there are total 132 coefficients which form a feature vector. This feature vector is used to train the Pattern Recognition Network i.e. Feedforward neural network. 5. Training Classifier Training classifier is Feedforward neural network which uses backpropagation algorithm to train the classifier for input data against given target data i.e. all six emotions. Training function for this network is Trainscg which is a scaled conjugate gradient function. For a classifier, input data values are extracted features which form a 132X1 feature vector and target data is 6X1 feature vector. T is a matrix for target data where emotions Happy, Sad, Fear, Anger, Surprise and Neutral are denoted by first, second, third, fourth, fifth and sixth rows of matrix respectively. For an image carrying an angry emotion, T will hold 0 values in all rows except 1 in the fourth row. Fig.4 shows one such example. In this way classifier is trained for multiple images enabling the system to learn various emotions. Fig.4 Target data for an image showing Anger emotion 6. Simulation The trained classifier is then simulated to test new real world data and identify all six basics emotions i.e. Happy, Sad, Anger, Fear, Surprise and Neutral. For simulation trained network is given a 132X1 feature vector of a new image whose emotion is to be detected. As shown in Fig. 2 Nout is output of classifier which is a 6X1 matrix generated after simulation. The system will generate emotion corresponding to the row having maximum value in the matrix Nout . Fig.5 shows the value of Nout for an image is maximum in fourth row of matrix, so the emotion is Anger for this image. Fig. 6 shows GUI of the system that has detected Anger emotion for a selected image. IV. EXPERIMENTAL RESULTS After implementing the system in Matlab 7.12.0(R2011a), performance graph is plotted. Fig 7 shows a neural network model for Human Emotion Recognition system. The network contains 2 layers: one hidden layer and one output layer. There are 132 input neurons; hidden and output layer contains 15 and 6 neurons respectively. Both the layers use tansig transfer function which normalizes the output of each layer between -1 and +1. Fig.6 GUI of Human Emotion Recognition system detecting ANGER emotion for an image. Fig.7 Pattern Recognition Network As shown in Fig.8 is Performance graph of Human Emotion Recognition system. Collected data is divided into three parts: Training data, Validation data and Test data in the ratio of 80:10:10 respectively. Performance is measured in terms of Fig.5 Value of Nout for Anger emotion Nout = T =
  • 4. Shivani Gangwar et al. Int. Journal of Engineering Research and Application www.ijera.com Vol. 3, Issue 5, Sep-Oct 2013, pp.535-539 www.ijera.com 538 | P a g e mean square error which decreased as the network was trained. Fig.8 Performance Graph (mse vs epochs) Best Validation performance for the system was at epoch 24 i.e. 0.12397; minimum the error better the system will perform. Performance of system can be thus be improved if the sample size for training is increased. Fig.9 Error Histogram Histogram of error values has been plotted in Fig. 9. It shows that for most of the instances errors are near zero and very few instances have errors that are away from zero which is good for the system. Regression plot is another criteria for cheking network performance. Fig. 10 shows this plot with R=0.87171. For best fit of data by network, value of R=1 and for worst fit R=0. For this system value of R is close to 1 and therefore network has fit the data well after training. Fig.10 Regression Plot There is one more measure which verify system performance i.e. Confusion matrix which shows percentage of right classification and percentage of wrong classification. Fig.11 shows confusion matrix in which diagonal elements represent right classification by the system. In the matrix, one to six rows and columns represent all six classes of human emotions. 94.1% is the highest percentage of right classification for class 1 and 6 which represent Happy and Neutral emotion respectively. There is difficulty in classifying Fear emotion as the percentage is lowest for class 3 i.e. 76.5%. Overall right classification by the system is 88%. V. CONCLUSION In this paper six emotions have been identified by extracting feature areas of human face and finding the 2D Discrete Cosine Transform of extracted feature area. Then performing training of pattern recognition network for the extracted features and simulating the trained network to identify emotions of new images. VI. FUTURE SCOPE More real life applications can be explored like driver monitoring and studying human psychology. In the proposed system the feature areas are extracted manually, automatic feature area extraction can be done. Mix Emotions like Happy and Surprise, Sad and Fear from an image can also be detected.
  • 5. Shivani Gangwar et al. Int. Journal of Engineering Research and Application www.ijera.com Vol. 3, Issue 5, Sep-Oct 2013, pp.535-539 www.ijera.com 539 | P a g e Fig.11 Confusion Matrix VII. ACKNOWLEDGMENT We would like to express our sincere gratitude to respected Mr. Aseem Chauhan, Chancellor, Amity University, Lucknow and Maj. Gen. K.K. Ohri AVSM (Retd.), Pro.Vice-Chancellor, Amity University, Lucknow for putting their best efforts and provide all the facilities needed to bring this work to presentable form and their encouragement and advice. We are also indebted to Prof. S.T.H. Abidi, Director and Brig. U. K. Chopra, Deputy Director, Amity University, Lucknow who have been of indispensable help during this research work. REFERENCES [1]. Caifeng Shan1 , Shaogang Gong2 , Peter W. McOwan2 “Facial Expression Recognition Based on Statistical Local Features”. [2]. Recognition Darwin C. “The Expression of the Emotions in Man and Animals” [M]. London: John Murray, 1872. [3]. Ayako Katoh, Yasuhiro Fukui “Classification Of Facial Expressions Using Self-Organizing Maps” Proceedings of the 20th Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Vol. 20, No 2,1998 [4]. Kyungnam Kim “Face Recognition using Principle Component Analysis”. [5]. Behzad Oshidarit and Babak N. Araabi “An Effective Feature Extraction Method for Facial Expression Recognition using Adaptive Gabor Wavelet”, 2010. [6]. Dilbag Singh “Human Emotion System I.J. Image, Graphics and Signal Processing”, 2012, 8, 50-56. [7]. Saket S Kulkarni1 , Narender P Reddy*1 and SI Hariharan2 “Facial expression (mood) recognition from facial images using committee neural networks”, BioMedical Engineering OnLine, 2009. [8]. Dustin Boswell “Introduction to Support Vector Machines” August 6, 2002. [9]. S. Dabbaghchian1 , A. Aghagolzadeh1 , and M. S. Moin2 “Feature Extraction Using Discrete Cosine Transform For Face Recognition” 2007 IEEE. [10]. Pushpaja V. Saudagare, D.S. Chaudhari “Facial Expression Recognition using Neural Network” –An Overview, International Journal of Soft Computing and Engineering (IJSCE) ISSN: 2231-2307, Volume-2, Issue-1, March 2012. [11]. ].Melanie Dumas “Emotional Expression Recognition using Support Vector Machine”. [12]. Mine Altınay GÜNLER Hakan TORA “Emotion Classification Using Hidden Layer Outputs”, IEEE, 2012. .