SlideShare a Scribd company logo
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072
© 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 316
Facial Emotion Detection using Convolutional Neural Network
Sushmitha S1, Anand HN2, R Chetan Kumar3, Nidhi U4
1234Dept. of CSE, VVIET, Mysore, India
---------------------------------------------------------------------***---------------------------------------------------------------------
Abstract - In today’s world, there is a tremendous increase
in usage of machinery. The world needs machines to
understand humans and interpretaccordingly. Theperception
of machines helps them to understandtheirsurroundings, thus
facial emotion identification helps in finding this perception.
Since emotion contains an abundant amount of information
about our state of mind, a system is developed to detect facial
emotion using neural network and image processing
techniques.
Key Words: Neural Network, Convolution neural
network, Tensor Flow, Haarcascadeclassifier,FER2013
image database.
1. INTRODUCTION
In any human communication, Facial
expression plays an important role. As now a day, the
worldseemstodependmostlyonmachines,itbecomes
important that a machineshouldbeabletoanalyzeand
understand a human emotion. Though there are
several ways to detect emotion, the more practicaland
easier method is via facial expression. There are seven
universally recognized facial emotions: (1) Happiness
(2) Sadness (3) Anger (4)Fear (5) Disgust (6) Surprise
(7) Contempt.Themaindifficultyisclassifyingemotion
depending on whether the input image is static or in a
transition frame. Also, since the emotions change
frequently the real challenge exists in detecting the
emotions in dynamic cases. Since convolutional neural
network can achieve greater performance on visual
recognition tasks, we have implementedconvolutional
neural network for face detection. In the past two
decades, the research on emotion detection has
increased significantly the areas contributing include
psychology, sociology, business etc. It’s always better
to have a safer world if we have an auto-scanning
system for signs of terrorism in terms of facialemotion
detection.Thefacialexpressionrecognitionsystemhad
four important steps: Input image given to the system,
Face Detection, Emotion Recognition, Output image
indicating emotion of the human.
2. RELATED WORK
A. A comprehensive study on techniques for facial
emotion recognition.
The various emotion classification problems are
discussed and to overcome certain emotion recognition
methods are proposed. Haar function has beendiscussedfor
feature extraction where in bazier curve is applied in order
to approximate extracting regions. The distance of each
feature has been calculated and the relationships between
these features are found. A two layered feed forward neural
network has been used as classifying tool. Various
Techniques are discussed with their predicted accuracy of
result for facial emotion recognition.
B. Real Time Facial Emotion Recognition based on
Image Processing and Machine Learning.
A neural network based prototype system has been
proposed in this paper for different human emotions. Image
processing techniques are used to process the input image
given by the user. The universal emotions are considered
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072
© 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 317
and image processing techniques combined with machine
learning algorithms help classify these emotions to find
different features. After the feature extraction, the features
are given as an input to the neural network in order to
classify these emotions to the six universal emotions.
3. METHODOLOGY
The identification of human facial expressions is
determined using facial muscles movements. There are
various methods used in recognition of facial expressions.
Before recognizing facial expression, it is important todetect
faces. Since there are numerous variations in faces, detecting
the face is a challenging task. Even in facial detection there
are various methods, one suchmethodusedisHaarclassifier.
Haar function can be used for face, eyes andmouthdetection.
Edge detection method is the basic approach used for
sharpening and detecting boundaries of the image.
1. Face Detection
Basically, forfacial detectionthe Haarcascadeclassifieris
used. The Haar Cascade is a classifier which is used to detect
the object for which it has been trained using the source. It is
an approach used in machine learning where both positive
and negative images are considered to train the cascade
function. The algorithm is fed withbothpositiveandnegative
images. Negative images are those images without a face.
Later features are extracted to train the classifier. There are
basically three Haar features: 1. Edge feature 2. Line feature
3. Four rectangle features. Firstly, find the sum of pixels and
later find the difference withrespect to specific sum of pixels
in the given image. Integral imagesareintroducedtosimplify
the calculation by reducing the number of pixels if it is too
large. The irrelevant features which are calculated will be
removed using Adaboost methodology. A threshold will be
set foreach featurewhich will classify the inputimagefaceto
either positive or negative.Alsofeatureswithminimumerror
rate will be given more priority. A strong classifier will be
considered as the final classifier as it is the sum of all
classifiers. This classifier is specially introduced to reduce
number of steps in classification process by dividing it into
several stages and eliminating in each stage.
2. Emotion Recognition
After the recognition of face next comes the recognition
of emotion. Here we have used the Convolution Neural
Network to recognize the emotion.
Convolution Neural Network:
Convolution Neural Network is a type of artificial Neural
Network used in image processing that is specifically
designed to process Pixel data. The layers ofa CNN consistof
an Input Layer, an Output Layer and a Hidden Layer that
includes 1. Multiple Convolutional Layers, 2. ReLU Layer, 3.
Pooling Layer and 4. Fully Connected Layer.
Convolutional Layer is an initial layer which uses
mathematical operations by taking two input matrices. i.e.,
image matrix and filter matrix. Input matrix is multiplied
with the filter matrix to produce feature map as Output.
Mainly it helps in performing operations such as edge
detection and sharpening by applying filters.
ReLu (Rectified Linear Unit) layer introduces non -
linearity in the Convolution Network. The rectifier is an
activation function defined as the positive part of its
arguments:
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072
© 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 318
Where x is the input to a neuron. Rectifying activation
functions were used to separate specific excitation and
unspecific inhibition in the Neural Abstraction pyramid,
which was trained in a supervised way to learn several
computer vision tasks.
Pooling layer helps to reduce the number of parameters
when the images are too large. The main of this layer is to
reduce the dimensionality of each map by retaining the
important information. It operates on each feature map
independently. The most common approach used in pooling
is max pooling. Max pooling takes the largest element from
the rectified feature map and reduces it.
Fully Connected Layers are used to detect specific global
configurations of the features detected bythelowerlayersin
the Network. Neurons in a Fully Connected Layer have full
connections to all activations in the previous layer. Matrix
gets reduced into a vector and then fed into a Fully
Connected Layer. Here features are combined to create a
model. After feature extraction we need to classify the data
into various classes, this can be doneusinga FullyConnected
Neural Network.
FUTURE WORK
The automated framework can be improved
efficiently by including more emotions to the system. The
accuracy can be improved by considering the individual
portions of the face comparing with the individual
components of the input image. The system can be
implemented in a particular application by considering only
one emotion. It can be implemented to driver management
system by alerting the driver by monitoring his emotions. It
can be included in a security system in order to alert about
different crimes by observing the emotion of a particular
criminal.
CONCLUTION
In present era, since the humans tend to depend
more on machines, there is an urge necessity to include
machines in the everyday life. A good emotional classifier
should be able to classify the emotions independent of other
factors like age, gender, styles, etc. Though there are several
applications to classify emotions, Convolutional neural
network has been implemented in our system asitimproves
the efficiency and simplify the classification process and it
uses relatively littlepre-processingcomparedtootherimage
classification algorithms. The Haar classifier has been used
in our system for facial detection as it has the at most speed
calculation compared to other detection frameworks. Our
system can be implemented in many applications which
could be used in real time. The emotion can also be detected
in a video sequence and also in live video streaming
applications. The objective of the research paper is to give
brief overview of the project, the various technologies used,
and their implementation.
ACKNOWLEDGEMENT
We would like to thank ourinstitutionmanagement,
Principal Dr Ravi Shankar M, HoD Dr Madhu B K, Project
Coordinator Madhusudhan G K, Project Guide Mrs.Ramya M
and all the teaching and non-teaching staffs of our
department for their continuous support and
encouragement throughout in completion of the project.
REFERENCES
The various references helped our system to explore
different concepts used in facial emotion detection and
choose appropriate technique to minimize the errors and
limitations.
[1] Rituparna Halder, Sushmit Sengupta, ArnabPal,Sudipta
Ghosh, Debashish Kundu, “Real Time Facial Emotion
Recognision based on Image Processing and Machine
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072
© 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 319
Learning”, International Journal of Computer
applications, April 2016.
[2] Renuka Deshmukh,Vandana Jagtap “A Comprehensive
Survey on Techniques for Facial Emotion Recognition”
International Journal of Computer Science and
Information Security, March 2017.
[3] Kudiri M. Krishna, Said Abas Md, Nayan M Yunus,
"Emotion Detection Using Sub-image Based Features
Through Human Facial Expressions" in International on
Computer & Information Science (ICCIS), IEEE.
[4] D. Anurag, S. Ashim, "A Comparative Study on different
approaches of Real Time Human Emotion Recognition
based on Facial Expression Detection", International
Conference on Advances in Computer Engineering and
Applications, 2015.
[5] Pal Pritam, N. Iyer Ananth,E.YantornoRobert,"Emotion
Detection From Infant Facial Expression", Internationa
Conference on Acoustics Speech and Signal Processing,
2016.
[6] S L Happy, Routray Aurobinda, "Autamatic facial
Expression Recognition Using Features Salient Facial
Patterns" in IEEE Tranjactions on Affective Computing,
IEEE, 2014.

More Related Content

PDF
Facial Emotion Recognition using Convolution Neural Network
PDF
Human Emotion Recognition
PDF
Facial Expression Recognition Using Enhanced Deep 3D Convolutional Neural Net...
PPTX
Facial emotion detection on babies' emotional face using Deep Learning.
PDF
Facial expression recognition
DOCX
Facial Expression Recognition via Python
PPTX
Facial Expression Recognition System using Deep Convolutional Neural Networks.
PDF
IRJET- Emotion Classification of Human Face Expressions using Transfer Le...
Facial Emotion Recognition using Convolution Neural Network
Human Emotion Recognition
Facial Expression Recognition Using Enhanced Deep 3D Convolutional Neural Net...
Facial emotion detection on babies' emotional face using Deep Learning.
Facial expression recognition
Facial Expression Recognition via Python
Facial Expression Recognition System using Deep Convolutional Neural Networks.
IRJET- Emotion Classification of Human Face Expressions using Transfer Le...

What's hot (20)

PDF
AI Therapist – Emotion Detection using Facial Detection and Recognition and S...
PDF
Ct35535539
PDF
Facial expression recongnition Techniques, Database and Classifiers
PPTX
Facial Emotion Recognition: A Deep Learning approach
PDF
Automatic Emotion Recognition Using Facial Expression: A Review
PDF
Facial Expression Recognition
PDF
Image Captioning Generator using Deep Machine Learning
DOCX
A deep learning facial expression recognition based scoring system for restau...
PDF
Facial Emoji Recognition
DOCX
Image Recognition Expert System based on deep learning
PDF
Face Detection and Recognition using Back Propagation Neural Network (BPNN)
PDF
IRJET- Recognition of Handwritten Characters based on Deep Learning with Tens...
PDF
Facial emotion recognition
PDF
Face Emotion Analysis Using Gabor Features In Image Database for Crime Invest...
PPTX
Basics of Soft Computing
PDF
J01116164
PDF
IRJET - Deep Learning Approach to Inpainting and Outpainting System
PDF
Face Recognition Based Intelligent Door Control System
PDF
A scenario based approach for dealing with
PPTX
Artificial Neural Network for hand Gesture recognition
AI Therapist – Emotion Detection using Facial Detection and Recognition and S...
Ct35535539
Facial expression recongnition Techniques, Database and Classifiers
Facial Emotion Recognition: A Deep Learning approach
Automatic Emotion Recognition Using Facial Expression: A Review
Facial Expression Recognition
Image Captioning Generator using Deep Machine Learning
A deep learning facial expression recognition based scoring system for restau...
Facial Emoji Recognition
Image Recognition Expert System based on deep learning
Face Detection and Recognition using Back Propagation Neural Network (BPNN)
IRJET- Recognition of Handwritten Characters based on Deep Learning with Tens...
Facial emotion recognition
Face Emotion Analysis Using Gabor Features In Image Database for Crime Invest...
Basics of Soft Computing
J01116164
IRJET - Deep Learning Approach to Inpainting and Outpainting System
Face Recognition Based Intelligent Door Control System
A scenario based approach for dealing with
Artificial Neural Network for hand Gesture recognition
Ad

Similar to IRJET- Facial Emotion Detection using Convolutional Neural Network (20)

PDF
A Survey on Emotion Recognition Using CNN
PDF
FACIAL EMOTION RECOGNITION
PDF
IRJET- Emotion and Gender Classification in Real-Time
PDF
IRJET - Emotion Recognising System-Crowd Behavior Analysis
PPTX
Project report of thr facial expressionppt.pptx
PDF
Hybrid Facial Expression Recognition (FER2013) Model for Real-Time Emotion Cl...
PDF
Emotion Detection Using Facial Expression Recognition to Assist the Visually ...
PDF
FACIAL EMOTION RECOGNITION SYSTEM
PDF
A Real-Time Emotion Recognition from Facial Expression Using Conventional Neu...
PPTX
Emotion recognition and drowsiness detection using python.ppt
PDF
IRJET- Facial Emotion Detection using Convolutional Neural Network
PPTX
final ppt -ORIGINAL_Facial_Emotion_Detection special topic -2 review 1-1 (1) ...
PDF
Emotion Detector
PDF
FACE EXPRESSION RECOGNITION USING CONVOLUTION NEURAL NETWORK (CNN) MODELS
PDF
Movie Recommendation Using CNN
PDF
A pre-trained model vs dedicated convolution neural networks for emotion reco...
PDF
EMOTION DETECTION USING AI
PDF
Recognition of Sentiment using Deep Neural Network
PPTX
Project PPT_Format.pptx
PDF
IRJET- An Innovative Approach for Interviewer to Judge State of Mind of an In...
A Survey on Emotion Recognition Using CNN
FACIAL EMOTION RECOGNITION
IRJET- Emotion and Gender Classification in Real-Time
IRJET - Emotion Recognising System-Crowd Behavior Analysis
Project report of thr facial expressionppt.pptx
Hybrid Facial Expression Recognition (FER2013) Model for Real-Time Emotion Cl...
Emotion Detection Using Facial Expression Recognition to Assist the Visually ...
FACIAL EMOTION RECOGNITION SYSTEM
A Real-Time Emotion Recognition from Facial Expression Using Conventional Neu...
Emotion recognition and drowsiness detection using python.ppt
IRJET- Facial Emotion Detection using Convolutional Neural Network
final ppt -ORIGINAL_Facial_Emotion_Detection special topic -2 review 1-1 (1) ...
Emotion Detector
FACE EXPRESSION RECOGNITION USING CONVOLUTION NEURAL NETWORK (CNN) MODELS
Movie Recommendation Using CNN
A pre-trained model vs dedicated convolution neural networks for emotion reco...
EMOTION DETECTION USING AI
Recognition of Sentiment using Deep Neural Network
Project PPT_Format.pptx
IRJET- An Innovative Approach for Interviewer to Judge State of Mind of an In...
Ad

More from IRJET Journal (20)

PDF
Enhanced heart disease prediction using SKNDGR ensemble Machine Learning Model
PDF
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
PDF
Kiona – A Smart Society Automation Project
PDF
DESIGN AND DEVELOPMENT OF BATTERY THERMAL MANAGEMENT SYSTEM USING PHASE CHANG...
PDF
Invest in Innovation: Empowering Ideas through Blockchain Based Crowdfunding
PDF
SPACE WATCH YOUR REAL-TIME SPACE INFORMATION HUB
PDF
A Review on Influence of Fluid Viscous Damper on The Behaviour of Multi-store...
PDF
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
PDF
Explainable AI(XAI) using LIME and Disease Detection in Mango Leaf by Transfe...
PDF
BRAIN TUMOUR DETECTION AND CLASSIFICATION
PDF
The Project Manager as an ambassador of the contract. The case of NEC4 ECC co...
PDF
"Enhanced Heat Transfer Performance in Shell and Tube Heat Exchangers: A CFD ...
PDF
Advancements in CFD Analysis of Shell and Tube Heat Exchangers with Nanofluid...
PDF
Breast Cancer Detection using Computer Vision
PDF
Auto-Charging E-Vehicle with its battery Management.
PDF
Analysis of high energy charge particle in the Heliosphere
PDF
A Novel System for Recommending Agricultural Crops Using Machine Learning App...
PDF
Auto-Charging E-Vehicle with its battery Management.
PDF
Analysis of high energy charge particle in the Heliosphere
PDF
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
Enhanced heart disease prediction using SKNDGR ensemble Machine Learning Model
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
Kiona – A Smart Society Automation Project
DESIGN AND DEVELOPMENT OF BATTERY THERMAL MANAGEMENT SYSTEM USING PHASE CHANG...
Invest in Innovation: Empowering Ideas through Blockchain Based Crowdfunding
SPACE WATCH YOUR REAL-TIME SPACE INFORMATION HUB
A Review on Influence of Fluid Viscous Damper on The Behaviour of Multi-store...
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
Explainable AI(XAI) using LIME and Disease Detection in Mango Leaf by Transfe...
BRAIN TUMOUR DETECTION AND CLASSIFICATION
The Project Manager as an ambassador of the contract. The case of NEC4 ECC co...
"Enhanced Heat Transfer Performance in Shell and Tube Heat Exchangers: A CFD ...
Advancements in CFD Analysis of Shell and Tube Heat Exchangers with Nanofluid...
Breast Cancer Detection using Computer Vision
Auto-Charging E-Vehicle with its battery Management.
Analysis of high energy charge particle in the Heliosphere
A Novel System for Recommending Agricultural Crops Using Machine Learning App...
Auto-Charging E-Vehicle with its battery Management.
Analysis of high energy charge particle in the Heliosphere
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...

Recently uploaded (20)

PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
composite construction of structures.pdf
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
web development for engineering and engineering
PPT
Project quality management in manufacturing
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
Sustainable Sites - Green Building Construction
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
additive manufacturing of ss316l using mig welding
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Well-logging-methods_new................
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
composite construction of structures.pdf
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
CH1 Production IntroductoryConcepts.pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
Internet of Things (IOT) - A guide to understanding
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
web development for engineering and engineering
Project quality management in manufacturing
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Sustainable Sites - Green Building Construction
UNIT 4 Total Quality Management .pptx
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
bas. eng. economics group 4 presentation 1.pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
additive manufacturing of ss316l using mig welding
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Well-logging-methods_new................

IRJET- Facial Emotion Detection using Convolutional Neural Network

  • 1. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072 © 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 316 Facial Emotion Detection using Convolutional Neural Network Sushmitha S1, Anand HN2, R Chetan Kumar3, Nidhi U4 1234Dept. of CSE, VVIET, Mysore, India ---------------------------------------------------------------------***--------------------------------------------------------------------- Abstract - In today’s world, there is a tremendous increase in usage of machinery. The world needs machines to understand humans and interpretaccordingly. Theperception of machines helps them to understandtheirsurroundings, thus facial emotion identification helps in finding this perception. Since emotion contains an abundant amount of information about our state of mind, a system is developed to detect facial emotion using neural network and image processing techniques. Key Words: Neural Network, Convolution neural network, Tensor Flow, Haarcascadeclassifier,FER2013 image database. 1. INTRODUCTION In any human communication, Facial expression plays an important role. As now a day, the worldseemstodependmostlyonmachines,itbecomes important that a machineshouldbeabletoanalyzeand understand a human emotion. Though there are several ways to detect emotion, the more practicaland easier method is via facial expression. There are seven universally recognized facial emotions: (1) Happiness (2) Sadness (3) Anger (4)Fear (5) Disgust (6) Surprise (7) Contempt.Themaindifficultyisclassifyingemotion depending on whether the input image is static or in a transition frame. Also, since the emotions change frequently the real challenge exists in detecting the emotions in dynamic cases. Since convolutional neural network can achieve greater performance on visual recognition tasks, we have implementedconvolutional neural network for face detection. In the past two decades, the research on emotion detection has increased significantly the areas contributing include psychology, sociology, business etc. It’s always better to have a safer world if we have an auto-scanning system for signs of terrorism in terms of facialemotion detection.Thefacialexpressionrecognitionsystemhad four important steps: Input image given to the system, Face Detection, Emotion Recognition, Output image indicating emotion of the human. 2. RELATED WORK A. A comprehensive study on techniques for facial emotion recognition. The various emotion classification problems are discussed and to overcome certain emotion recognition methods are proposed. Haar function has beendiscussedfor feature extraction where in bazier curve is applied in order to approximate extracting regions. The distance of each feature has been calculated and the relationships between these features are found. A two layered feed forward neural network has been used as classifying tool. Various Techniques are discussed with their predicted accuracy of result for facial emotion recognition. B. Real Time Facial Emotion Recognition based on Image Processing and Machine Learning. A neural network based prototype system has been proposed in this paper for different human emotions. Image processing techniques are used to process the input image given by the user. The universal emotions are considered
  • 2. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072 © 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 317 and image processing techniques combined with machine learning algorithms help classify these emotions to find different features. After the feature extraction, the features are given as an input to the neural network in order to classify these emotions to the six universal emotions. 3. METHODOLOGY The identification of human facial expressions is determined using facial muscles movements. There are various methods used in recognition of facial expressions. Before recognizing facial expression, it is important todetect faces. Since there are numerous variations in faces, detecting the face is a challenging task. Even in facial detection there are various methods, one suchmethodusedisHaarclassifier. Haar function can be used for face, eyes andmouthdetection. Edge detection method is the basic approach used for sharpening and detecting boundaries of the image. 1. Face Detection Basically, forfacial detectionthe Haarcascadeclassifieris used. The Haar Cascade is a classifier which is used to detect the object for which it has been trained using the source. It is an approach used in machine learning where both positive and negative images are considered to train the cascade function. The algorithm is fed withbothpositiveandnegative images. Negative images are those images without a face. Later features are extracted to train the classifier. There are basically three Haar features: 1. Edge feature 2. Line feature 3. Four rectangle features. Firstly, find the sum of pixels and later find the difference withrespect to specific sum of pixels in the given image. Integral imagesareintroducedtosimplify the calculation by reducing the number of pixels if it is too large. The irrelevant features which are calculated will be removed using Adaboost methodology. A threshold will be set foreach featurewhich will classify the inputimagefaceto either positive or negative.Alsofeatureswithminimumerror rate will be given more priority. A strong classifier will be considered as the final classifier as it is the sum of all classifiers. This classifier is specially introduced to reduce number of steps in classification process by dividing it into several stages and eliminating in each stage. 2. Emotion Recognition After the recognition of face next comes the recognition of emotion. Here we have used the Convolution Neural Network to recognize the emotion. Convolution Neural Network: Convolution Neural Network is a type of artificial Neural Network used in image processing that is specifically designed to process Pixel data. The layers ofa CNN consistof an Input Layer, an Output Layer and a Hidden Layer that includes 1. Multiple Convolutional Layers, 2. ReLU Layer, 3. Pooling Layer and 4. Fully Connected Layer. Convolutional Layer is an initial layer which uses mathematical operations by taking two input matrices. i.e., image matrix and filter matrix. Input matrix is multiplied with the filter matrix to produce feature map as Output. Mainly it helps in performing operations such as edge detection and sharpening by applying filters. ReLu (Rectified Linear Unit) layer introduces non - linearity in the Convolution Network. The rectifier is an activation function defined as the positive part of its arguments:
  • 3. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072 © 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 318 Where x is the input to a neuron. Rectifying activation functions were used to separate specific excitation and unspecific inhibition in the Neural Abstraction pyramid, which was trained in a supervised way to learn several computer vision tasks. Pooling layer helps to reduce the number of parameters when the images are too large. The main of this layer is to reduce the dimensionality of each map by retaining the important information. It operates on each feature map independently. The most common approach used in pooling is max pooling. Max pooling takes the largest element from the rectified feature map and reduces it. Fully Connected Layers are used to detect specific global configurations of the features detected bythelowerlayersin the Network. Neurons in a Fully Connected Layer have full connections to all activations in the previous layer. Matrix gets reduced into a vector and then fed into a Fully Connected Layer. Here features are combined to create a model. After feature extraction we need to classify the data into various classes, this can be doneusinga FullyConnected Neural Network. FUTURE WORK The automated framework can be improved efficiently by including more emotions to the system. The accuracy can be improved by considering the individual portions of the face comparing with the individual components of the input image. The system can be implemented in a particular application by considering only one emotion. It can be implemented to driver management system by alerting the driver by monitoring his emotions. It can be included in a security system in order to alert about different crimes by observing the emotion of a particular criminal. CONCLUTION In present era, since the humans tend to depend more on machines, there is an urge necessity to include machines in the everyday life. A good emotional classifier should be able to classify the emotions independent of other factors like age, gender, styles, etc. Though there are several applications to classify emotions, Convolutional neural network has been implemented in our system asitimproves the efficiency and simplify the classification process and it uses relatively littlepre-processingcomparedtootherimage classification algorithms. The Haar classifier has been used in our system for facial detection as it has the at most speed calculation compared to other detection frameworks. Our system can be implemented in many applications which could be used in real time. The emotion can also be detected in a video sequence and also in live video streaming applications. The objective of the research paper is to give brief overview of the project, the various technologies used, and their implementation. ACKNOWLEDGEMENT We would like to thank ourinstitutionmanagement, Principal Dr Ravi Shankar M, HoD Dr Madhu B K, Project Coordinator Madhusudhan G K, Project Guide Mrs.Ramya M and all the teaching and non-teaching staffs of our department for their continuous support and encouragement throughout in completion of the project. REFERENCES The various references helped our system to explore different concepts used in facial emotion detection and choose appropriate technique to minimize the errors and limitations. [1] Rituparna Halder, Sushmit Sengupta, ArnabPal,Sudipta Ghosh, Debashish Kundu, “Real Time Facial Emotion Recognision based on Image Processing and Machine
  • 4. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072 © 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 319 Learning”, International Journal of Computer applications, April 2016. [2] Renuka Deshmukh,Vandana Jagtap “A Comprehensive Survey on Techniques for Facial Emotion Recognition” International Journal of Computer Science and Information Security, March 2017. [3] Kudiri M. Krishna, Said Abas Md, Nayan M Yunus, "Emotion Detection Using Sub-image Based Features Through Human Facial Expressions" in International on Computer & Information Science (ICCIS), IEEE. [4] D. Anurag, S. Ashim, "A Comparative Study on different approaches of Real Time Human Emotion Recognition based on Facial Expression Detection", International Conference on Advances in Computer Engineering and Applications, 2015. [5] Pal Pritam, N. Iyer Ananth,E.YantornoRobert,"Emotion Detection From Infant Facial Expression", Internationa Conference on Acoustics Speech and Signal Processing, 2016. [6] S L Happy, Routray Aurobinda, "Autamatic facial Expression Recognition Using Features Salient Facial Patterns" in IEEE Tranjactions on Affective Computing, IEEE, 2014.