SlideShare une entreprise Scribd logo
1  sur  31
ACompactDeepLearningModelforRobustFacialEmotion
RecognitionwithAnacondaPythonKerasandPandaspackages
UnderTheGuidanceof: Asst. Prof. Mr.Akhil Mathew Philip
DEPARTMENTOFCOMPUTERAPPLICATIONS
VISHNU V
ROLL N0 :60
REGISTRATION NO:LMGP16MCA061
DEPT OF COMPUTER APPLICATIONS
SAINTGITS COLLEGE OF ENGINEERING
2017-2019 BATCH
ORGANIZATION DETAILS
ABSTRACT
• User’s emotion using its facial expressions will be detected.
These expressions can be derived from the live feed via
system's camera or any pre-existing image available in the
memory. Emotions possessed by humans can be recognized
and has a vast scope of study in the computer vision industry
upon which several researches have already been done.
• We propose a compact CNN model for facial expression
recognition.
• The work has been implemented using Python Open Source
Computer Vision Library (OpenCV) and NumPy,pandas,keras
packages. The scanned image (testing dataset) is being
compared to training dataset and thus emotion is predicted.
OBJECTIVES
• The objective of this paper is to develop a system which can
analyze the image and predict the expression of the person.
• Development of this software is more useful for police
officers to predict the current emotional state of prisoners and
criminals.
• This project is also useful for doctor's to predict expression of
children which are affected by autism.
• The major application of this work would be to predict a
person’s emotion based on his face images, video frames etc.
This can even be applied for evaluating the public option
relating to a particular movie form the video reaction posts on
social Medias.
CHALLENGES
• low-intensity expressions which are difficult to
distinguish with insufficient image resolution.
• Data collection for facial expression recognition is
expensive and time-consuming.
• Recognizing precise expression from a variety of
expression forms of different people would be a huge
problem. To solve this problem, this project generates an
Emotion Detection Model to extract emotion from video
frame image input.
FACIALEXPRESSION
• Facial expression is one of the most powerful, natural and
universal signals for human beings to convey their emotional
states and intentions.
• The frame-to-sequence approach successfully exploits
temporal information and it improves the accuracies on the
public benchmarking databases.
• Prototypical facial expressions are anger, disgust, fear,
happiness, sadness, neutral and surprise. Contempt was
subsequently added as one of the basic emotions.
• Behaviors, actions, poses, facial expressions and speech;
these are considered as channels that convey human emotions.
STEPS IN PROCESS
• This work mainly focuses on psychological approach of
COLOUR CIRCLE-EMOTION relation to find the accurate
emotion behind the video frame input image (image input).
• At first the whole image will be image preprocessed and pixel by
pixel data studied.
• The combinations of these circles based on combined data will
result into a new color.
• This resulted color will be directly linked to a particular
emotion..
PACKAGES USED
• Numpy- NumPy is a library for the Python programming language,
adding support for large, multi-dimensional arrays and matrices, along with
a large collection of high-level mathematical functions to operate on these
arrays.
• Scipy-SciPy is a free and open-source Python library used for scientific
computing and technical computing. SciPy contains modules for
optimization, linear algebra, integration, interpolation, special functions,
FFT, signal and image processing, ODE solvers and other tasks common in
science and engineering.
• Mathplotlib- Matplotlib is a Python 2D plotting library which produces
publication quality figures in a variety of hardcopy formats and interactive
environments across platforms.
• Opencv- OpenCV is a Python library which is designed to solve computer
vision problems. OpenCV supports a wide variety of programming
languages such as C++, Python, Java etc. Support for multiple platforms
including Windows, Linux, and Mac OS.
PACKAGES USED
• Pandas- pandas is an open source, BSD-licensed library providing high-
performance, easy-to-use data structures and data analysis tools for the
Python programming language. pandas is a NumFOCUS sponsored
project. This will help ensure the success of development of pandas as a
world-class open-source project, and makes it possible to donate to the
project.
• Theano-Theano is a Python library that allows you to define, optimize,
and evaluate mathematical expressions involving multi-dimensional arrays
efficiently. Theano features: tight integration with NumPy, transparent use
of a GPU , efficient symbolic differentiation , speed and stability
optimizations, dynamic C code generation, extensive unit-testing and self-
verification
• Keras- Keras is an open-source neural-network library written in Python.
It is capable of running on top of Tensor Flow, Microsoft Cognitive
Toolkit, Theano, or PlaidML. Designed to enable fast experimentation
with deep neural networks, it focuses on being user-friendly, modular, and
extensible.
PACKAGES USED
• Seaborn- Seaborn is a Python data visualization library based on
matplotlib. It provides a high-level interface for drawing attractive and
informative statistical graphics.
• H5py- The h5py package is a Pythonic interface to the HDF5 binary data
format.HDF5 lets you store huge amounts of numerical data, and easily
manipulate that data from NumPy.
• Tensor flow-Tensor Flow is a free and open-source software library for
dataflow and differentiable programming across a range of tasks. It is a
symbolic math library, and is also used for machine learning applications
such as neural networks.
• Python-dateutil-The dateutil module provides powerful extensions to the
standard date time module, available in Python 2.3+.
• Pytz- pytz brings the Olson tz database into Python. This library allows
accurate and cross platform time zone calculations using Python 2.4 or
higher. It also solves the issue of ambiguous times at the end of daylight
saving time.
PACKAGES USED
• Pyyaml-YAML is a data serialization format designed for human
readability and interaction with scripting languages.PyYAML is a
YAML parser and emitter for the Python programming language.
WORKING
• This paper proposes a prototype system which automatically
recognizes the emotion represented on a face.
• Thus a neural network based solution combined with image
processing is used in classifying the universal emotions.
• Happiness, Sadness, Anger, Disgust, Surprise and Fear.
Colored frontal face images are given as input to the prototype
system.
• There are basically 22 expression are there ,for our purpose
we only use basic 7 emotions.
WORKING
• After the face is detected, image processing based feature point
extraction method is used to extract a set of selected feature
points.
• Finally, a set of values obtained after processing those
extracted feature points are given as input to the neural
network to recognize the emotion contained .
• The three main steps that are common in automatic deep FER,
i.e., pre-processing, deep feature learning and deep feature
classification.
WORKING
DATASETTRAINING
• Matrix generation from given images
• Convolution
• Pooling
• Flattening
• Storing (H5py)
CPU USAGE GRAPH
WORKING
Trained Dataset Validation image
MODULES
• Module 1:- Data analysis
• Module 2:- Training the dataset
• Module 3:-Data identification
Related Works
• Face detection
• Missing Person identification
• Object detection
• Vehicle detection
• Pedestrian identification
FUTURE ENHANCEMENT
User’s emotion using its facial expressions will be detected. These
expressions can be derived from the live feed via system's camera
or using web cameras.
HARDWARE REQUIREMENTS
TRAINING
• System with min of 16 GB ram
• Processor I7 or above
• Minimum 5 GB memory required.
TESTING
• System with min of 8 GB ram
• Processor I5 or above
• Minimum 5 GB memory required.
EXPERIMENTS WITH DATASET
DATASET
433 "Angry Human Face", 510 "Happy Human Face", 425 Disgusted Human Face",
339 "Fearful Human Face", 369"Neutral Human Face", 436 "Sad Human Face",
469"Surprised Human Face" and 155 “Contempt Human Face”. Totally 3136 images
datasets.
https://drive.google.com/drive/folders/1U3KEp_Ruk-CXXvHNmJcnIVTrjE1wCHKM?usp=sharing
SCREEN SHOTS
ANGER
SCREEN SHOTS
HAPPY
SCREEN SHOTS
NEUTRAL
SCREEN SHOTS
FEAR
SCREEN SHOTS
DISGUSTED
SCREEN SHOTS
CONTEMPT
SCREEN SHOTS
SURPRISE
SCREEN SHOTS
SAD
GITHUB REPOSITORYDETAILS
LINK:https://github.com/vishnu02424/facial-emotion-recognition
PAPER WRITTEN
END

Contenu connexe

Tendances

Facial emotion recognition
Facial emotion recognitionFacial emotion recognition
Facial emotion recognitionAnukriti Dureha
 
HUMAN EMOTION RECOGNIITION SYSTEM
HUMAN EMOTION RECOGNIITION SYSTEMHUMAN EMOTION RECOGNIITION SYSTEM
HUMAN EMOTION RECOGNIITION SYSTEMsoumi sarkar
 
Speech emotion recognition
Speech emotion recognitionSpeech emotion recognition
Speech emotion recognitionsaniya shaikh
 
Facial Emotion Recognition using Convolution Neural Network
Facial Emotion Recognition using Convolution Neural NetworkFacial Emotion Recognition using Convolution Neural Network
Facial Emotion Recognition using Convolution Neural NetworkYogeshIJTSRD
 
Facial Expression Recognition
Facial Expression Recognition Facial Expression Recognition
Facial Expression Recognition Rupinder Saini
 
Facial emotion detection on babies' emotional face using Deep Learning.
Facial emotion detection on babies' emotional face using Deep Learning.Facial emotion detection on babies' emotional face using Deep Learning.
Facial emotion detection on babies' emotional face using Deep Learning.Takrim Ul Islam Laskar
 
SPEECH BASED EMOTION RECOGNITION USING VOICE
SPEECH BASED  EMOTION RECOGNITION USING VOICESPEECH BASED  EMOTION RECOGNITION USING VOICE
SPEECH BASED EMOTION RECOGNITION USING VOICEVamshidharSingh
 
Introduction to emotion detection
Introduction to emotion detectionIntroduction to emotion detection
Introduction to emotion detectionTyler Schnoebelen
 
Emotion based music player
Emotion based music playerEmotion based music player
Emotion based music playerNizam Muhammed
 
Human Emotion Recognition using Machine Learning
Human Emotion Recognition using Machine LearningHuman Emotion Recognition using Machine Learning
Human Emotion Recognition using Machine Learningijtsrd
 
Emotion Speech Recognition - Convolutional Neural Network Capstone Project
Emotion Speech Recognition - Convolutional Neural Network Capstone ProjectEmotion Speech Recognition - Convolutional Neural Network Capstone Project
Emotion Speech Recognition - Convolutional Neural Network Capstone ProjectDiego Rios
 
Face detection ppt
Face detection pptFace detection ppt
Face detection pptPooja R
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technologyShubhamLamichane
 
Facel expression recognition
Facel expression recognitionFacel expression recognition
Facel expression recognitionMintoo Jakhmola
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technologyranjit banshpal
 
Action Recognition (Thesis presentation)
Action Recognition (Thesis presentation)Action Recognition (Thesis presentation)
Action Recognition (Thesis presentation)nikhilus85
 
Automated Face Detection System
Automated Face Detection SystemAutomated Face Detection System
Automated Face Detection SystemAbhiroop Ghatak
 

Tendances (20)

Facial emotion recognition
Facial emotion recognitionFacial emotion recognition
Facial emotion recognition
 
HUMAN EMOTION RECOGNIITION SYSTEM
HUMAN EMOTION RECOGNIITION SYSTEMHUMAN EMOTION RECOGNIITION SYSTEM
HUMAN EMOTION RECOGNIITION SYSTEM
 
Speech emotion recognition
Speech emotion recognitionSpeech emotion recognition
Speech emotion recognition
 
Emotion recognition
Emotion recognitionEmotion recognition
Emotion recognition
 
Facial Emotion Recognition using Convolution Neural Network
Facial Emotion Recognition using Convolution Neural NetworkFacial Emotion Recognition using Convolution Neural Network
Facial Emotion Recognition using Convolution Neural Network
 
Facial Expression Recognition
Facial Expression Recognition Facial Expression Recognition
Facial Expression Recognition
 
Facial emotion detection on babies' emotional face using Deep Learning.
Facial emotion detection on babies' emotional face using Deep Learning.Facial emotion detection on babies' emotional face using Deep Learning.
Facial emotion detection on babies' emotional face using Deep Learning.
 
SPEECH BASED EMOTION RECOGNITION USING VOICE
SPEECH BASED  EMOTION RECOGNITION USING VOICESPEECH BASED  EMOTION RECOGNITION USING VOICE
SPEECH BASED EMOTION RECOGNITION USING VOICE
 
Introduction to emotion detection
Introduction to emotion detectionIntroduction to emotion detection
Introduction to emotion detection
 
Emotion based music player
Emotion based music playerEmotion based music player
Emotion based music player
 
Human Emotion Recognition using Machine Learning
Human Emotion Recognition using Machine LearningHuman Emotion Recognition using Machine Learning
Human Emotion Recognition using Machine Learning
 
Emotion Speech Recognition - Convolutional Neural Network Capstone Project
Emotion Speech Recognition - Convolutional Neural Network Capstone ProjectEmotion Speech Recognition - Convolutional Neural Network Capstone Project
Emotion Speech Recognition - Convolutional Neural Network Capstone Project
 
Face detection ppt
Face detection pptFace detection ppt
Face detection ppt
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technology
 
Image captioning
Image captioningImage captioning
Image captioning
 
Facel expression recognition
Facel expression recognitionFacel expression recognition
Facel expression recognition
 
Face recognition technology
Face recognition technologyFace recognition technology
Face recognition technology
 
Action Recognition (Thesis presentation)
Action Recognition (Thesis presentation)Action Recognition (Thesis presentation)
Action Recognition (Thesis presentation)
 
Automated Face Detection System
Automated Face Detection SystemAutomated Face Detection System
Automated Face Detection System
 
Final year ppt
Final year pptFinal year ppt
Final year ppt
 

Similaire à Emotion recognition using image processing in deep learning

Facial expression recognition projc 2 (3) (1)
Facial expression recognition projc 2 (3) (1)Facial expression recognition projc 2 (3) (1)
Facial expression recognition projc 2 (3) (1)AbhiAchalla
 
Transfer Leaning Using Pytorch synopsis Minor project pptx
Transfer Leaning Using Pytorch  synopsis Minor project pptxTransfer Leaning Using Pytorch  synopsis Minor project pptx
Transfer Leaning Using Pytorch synopsis Minor project pptxAnkit Gupta
 
Automatic Attendace using convolutional neural network Face Recognition
Automatic Attendace using convolutional neural network Face RecognitionAutomatic Attendace using convolutional neural network Face Recognition
Automatic Attendace using convolutional neural network Face Recognitionvatsal199567
 
Big Data Analytics (ML, DL, AI) hands-on
Big Data Analytics (ML, DL, AI) hands-onBig Data Analytics (ML, DL, AI) hands-on
Big Data Analytics (ML, DL, AI) hands-onDony Riyanto
 
Week1- Introduction.pptx
Week1- Introduction.pptxWeek1- Introduction.pptx
Week1- Introduction.pptxfahmi324663
 
Introduction To TensorFlow
Introduction To TensorFlowIntroduction To TensorFlow
Introduction To TensorFlowSpotle.ai
 
Face Recognition - Deep Learning
Face Recognition - Deep LearningFace Recognition - Deep Learning
Face Recognition - Deep LearningAashish Chaubey
 
OWF14 - Big Data : The State of Machine Learning in 2014
OWF14 - Big Data : The State of Machine  Learning in 2014OWF14 - Big Data : The State of Machine  Learning in 2014
OWF14 - Big Data : The State of Machine Learning in 2014Paris Open Source Summit
 
Fake news detection
Fake news detection Fake news detection
Fake news detection shalushamil
 
Cognitive Toolkit - Deep Learning framework from Microsoft
Cognitive Toolkit - Deep Learning framework from MicrosoftCognitive Toolkit - Deep Learning framework from Microsoft
Cognitive Toolkit - Deep Learning framework from MicrosoftŁukasz Grala
 
Makine Öğrenmesi ile Görüntü Tanıma | Image Recognition using Machine Learning
Makine Öğrenmesi ile Görüntü Tanıma | Image Recognition using Machine LearningMakine Öğrenmesi ile Görüntü Tanıma | Image Recognition using Machine Learning
Makine Öğrenmesi ile Görüntü Tanıma | Image Recognition using Machine LearningAli Alkan
 
Adarsh_Masekar(2GP19CS003).pptx
Adarsh_Masekar(2GP19CS003).pptxAdarsh_Masekar(2GP19CS003).pptx
Adarsh_Masekar(2GP19CS003).pptxhkabir55
 
Deep Learning with CNTK
Deep Learning with CNTKDeep Learning with CNTK
Deep Learning with CNTKAshish Jaiman
 
Using Crowdsourced Images to Create Image Recognition Models with Analytics Z...
Using Crowdsourced Images to Create Image Recognition Models with Analytics Z...Using Crowdsourced Images to Create Image Recognition Models with Analytics Z...
Using Crowdsourced Images to Create Image Recognition Models with Analytics Z...Maurice Nsabimana
 
Deep Learning: Evolution of ML from Statistical to Brain-like Computing- Data...
Deep Learning: Evolution of ML from Statistical to Brain-like Computing- Data...Deep Learning: Evolution of ML from Statistical to Brain-like Computing- Data...
Deep Learning: Evolution of ML from Statistical to Brain-like Computing- Data...Impetus Technologies
 
Human age and gender Detection
Human age and gender DetectionHuman age and gender Detection
Human age and gender DetectionAbhiAchalla
 

Similaire à Emotion recognition using image processing in deep learning (20)

Python Open CV
Python Open CVPython Open CV
Python Open CV
 
Facial expression recognition projc 2 (3) (1)
Facial expression recognition projc 2 (3) (1)Facial expression recognition projc 2 (3) (1)
Facial expression recognition projc 2 (3) (1)
 
Transfer Leaning Using Pytorch synopsis Minor project pptx
Transfer Leaning Using Pytorch  synopsis Minor project pptxTransfer Leaning Using Pytorch  synopsis Minor project pptx
Transfer Leaning Using Pytorch synopsis Minor project pptx
 
Journey of Generative AI
Journey of Generative AIJourney of Generative AI
Journey of Generative AI
 
Automatic Attendace using convolutional neural network Face Recognition
Automatic Attendace using convolutional neural network Face RecognitionAutomatic Attendace using convolutional neural network Face Recognition
Automatic Attendace using convolutional neural network Face Recognition
 
Big Data Analytics (ML, DL, AI) hands-on
Big Data Analytics (ML, DL, AI) hands-onBig Data Analytics (ML, DL, AI) hands-on
Big Data Analytics (ML, DL, AI) hands-on
 
Week1- Introduction.pptx
Week1- Introduction.pptxWeek1- Introduction.pptx
Week1- Introduction.pptx
 
Introduction To TensorFlow
Introduction To TensorFlowIntroduction To TensorFlow
Introduction To TensorFlow
 
Poonam data scientist
Poonam data scientistPoonam data scientist
Poonam data scientist
 
Face Recognition - Deep Learning
Face Recognition - Deep LearningFace Recognition - Deep Learning
Face Recognition - Deep Learning
 
OWF14 - Big Data : The State of Machine Learning in 2014
OWF14 - Big Data : The State of Machine  Learning in 2014OWF14 - Big Data : The State of Machine  Learning in 2014
OWF14 - Big Data : The State of Machine Learning in 2014
 
Fake news detection
Fake news detection Fake news detection
Fake news detection
 
Novi sad ai event 1-2018
Novi sad ai event 1-2018Novi sad ai event 1-2018
Novi sad ai event 1-2018
 
Cognitive Toolkit - Deep Learning framework from Microsoft
Cognitive Toolkit - Deep Learning framework from MicrosoftCognitive Toolkit - Deep Learning framework from Microsoft
Cognitive Toolkit - Deep Learning framework from Microsoft
 
Makine Öğrenmesi ile Görüntü Tanıma | Image Recognition using Machine Learning
Makine Öğrenmesi ile Görüntü Tanıma | Image Recognition using Machine LearningMakine Öğrenmesi ile Görüntü Tanıma | Image Recognition using Machine Learning
Makine Öğrenmesi ile Görüntü Tanıma | Image Recognition using Machine Learning
 
Adarsh_Masekar(2GP19CS003).pptx
Adarsh_Masekar(2GP19CS003).pptxAdarsh_Masekar(2GP19CS003).pptx
Adarsh_Masekar(2GP19CS003).pptx
 
Deep Learning with CNTK
Deep Learning with CNTKDeep Learning with CNTK
Deep Learning with CNTK
 
Using Crowdsourced Images to Create Image Recognition Models with Analytics Z...
Using Crowdsourced Images to Create Image Recognition Models with Analytics Z...Using Crowdsourced Images to Create Image Recognition Models with Analytics Z...
Using Crowdsourced Images to Create Image Recognition Models with Analytics Z...
 
Deep Learning: Evolution of ML from Statistical to Brain-like Computing- Data...
Deep Learning: Evolution of ML from Statistical to Brain-like Computing- Data...Deep Learning: Evolution of ML from Statistical to Brain-like Computing- Data...
Deep Learning: Evolution of ML from Statistical to Brain-like Computing- Data...
 
Human age and gender Detection
Human age and gender DetectionHuman age and gender Detection
Human age and gender Detection
 

Dernier

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 

Dernier (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

Emotion recognition using image processing in deep learning

  • 1. ACompactDeepLearningModelforRobustFacialEmotion RecognitionwithAnacondaPythonKerasandPandaspackages UnderTheGuidanceof: Asst. Prof. Mr.Akhil Mathew Philip DEPARTMENTOFCOMPUTERAPPLICATIONS VISHNU V ROLL N0 :60 REGISTRATION NO:LMGP16MCA061 DEPT OF COMPUTER APPLICATIONS SAINTGITS COLLEGE OF ENGINEERING 2017-2019 BATCH
  • 3. ABSTRACT • User’s emotion using its facial expressions will be detected. These expressions can be derived from the live feed via system's camera or any pre-existing image available in the memory. Emotions possessed by humans can be recognized and has a vast scope of study in the computer vision industry upon which several researches have already been done. • We propose a compact CNN model for facial expression recognition. • The work has been implemented using Python Open Source Computer Vision Library (OpenCV) and NumPy,pandas,keras packages. The scanned image (testing dataset) is being compared to training dataset and thus emotion is predicted.
  • 4. OBJECTIVES • The objective of this paper is to develop a system which can analyze the image and predict the expression of the person. • Development of this software is more useful for police officers to predict the current emotional state of prisoners and criminals. • This project is also useful for doctor's to predict expression of children which are affected by autism. • The major application of this work would be to predict a person’s emotion based on his face images, video frames etc. This can even be applied for evaluating the public option relating to a particular movie form the video reaction posts on social Medias.
  • 5. CHALLENGES • low-intensity expressions which are difficult to distinguish with insufficient image resolution. • Data collection for facial expression recognition is expensive and time-consuming. • Recognizing precise expression from a variety of expression forms of different people would be a huge problem. To solve this problem, this project generates an Emotion Detection Model to extract emotion from video frame image input.
  • 6. FACIALEXPRESSION • Facial expression is one of the most powerful, natural and universal signals for human beings to convey their emotional states and intentions. • The frame-to-sequence approach successfully exploits temporal information and it improves the accuracies on the public benchmarking databases. • Prototypical facial expressions are anger, disgust, fear, happiness, sadness, neutral and surprise. Contempt was subsequently added as one of the basic emotions. • Behaviors, actions, poses, facial expressions and speech; these are considered as channels that convey human emotions.
  • 7. STEPS IN PROCESS • This work mainly focuses on psychological approach of COLOUR CIRCLE-EMOTION relation to find the accurate emotion behind the video frame input image (image input). • At first the whole image will be image preprocessed and pixel by pixel data studied. • The combinations of these circles based on combined data will result into a new color. • This resulted color will be directly linked to a particular emotion..
  • 8. PACKAGES USED • Numpy- NumPy is a library for the Python programming language, adding support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays. • Scipy-SciPy is a free and open-source Python library used for scientific computing and technical computing. SciPy contains modules for optimization, linear algebra, integration, interpolation, special functions, FFT, signal and image processing, ODE solvers and other tasks common in science and engineering. • Mathplotlib- Matplotlib is a Python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms. • Opencv- OpenCV is a Python library which is designed to solve computer vision problems. OpenCV supports a wide variety of programming languages such as C++, Python, Java etc. Support for multiple platforms including Windows, Linux, and Mac OS.
  • 9. PACKAGES USED • Pandas- pandas is an open source, BSD-licensed library providing high- performance, easy-to-use data structures and data analysis tools for the Python programming language. pandas is a NumFOCUS sponsored project. This will help ensure the success of development of pandas as a world-class open-source project, and makes it possible to donate to the project. • Theano-Theano is a Python library that allows you to define, optimize, and evaluate mathematical expressions involving multi-dimensional arrays efficiently. Theano features: tight integration with NumPy, transparent use of a GPU , efficient symbolic differentiation , speed and stability optimizations, dynamic C code generation, extensive unit-testing and self- verification • Keras- Keras is an open-source neural-network library written in Python. It is capable of running on top of Tensor Flow, Microsoft Cognitive Toolkit, Theano, or PlaidML. Designed to enable fast experimentation with deep neural networks, it focuses on being user-friendly, modular, and extensible.
  • 10. PACKAGES USED • Seaborn- Seaborn is a Python data visualization library based on matplotlib. It provides a high-level interface for drawing attractive and informative statistical graphics. • H5py- The h5py package is a Pythonic interface to the HDF5 binary data format.HDF5 lets you store huge amounts of numerical data, and easily manipulate that data from NumPy. • Tensor flow-Tensor Flow is a free and open-source software library for dataflow and differentiable programming across a range of tasks. It is a symbolic math library, and is also used for machine learning applications such as neural networks. • Python-dateutil-The dateutil module provides powerful extensions to the standard date time module, available in Python 2.3+. • Pytz- pytz brings the Olson tz database into Python. This library allows accurate and cross platform time zone calculations using Python 2.4 or higher. It also solves the issue of ambiguous times at the end of daylight saving time.
  • 11. PACKAGES USED • Pyyaml-YAML is a data serialization format designed for human readability and interaction with scripting languages.PyYAML is a YAML parser and emitter for the Python programming language.
  • 12. WORKING • This paper proposes a prototype system which automatically recognizes the emotion represented on a face. • Thus a neural network based solution combined with image processing is used in classifying the universal emotions. • Happiness, Sadness, Anger, Disgust, Surprise and Fear. Colored frontal face images are given as input to the prototype system. • There are basically 22 expression are there ,for our purpose we only use basic 7 emotions.
  • 13. WORKING • After the face is detected, image processing based feature point extraction method is used to extract a set of selected feature points. • Finally, a set of values obtained after processing those extracted feature points are given as input to the neural network to recognize the emotion contained . • The three main steps that are common in automatic deep FER, i.e., pre-processing, deep feature learning and deep feature classification.
  • 14. WORKING DATASETTRAINING • Matrix generation from given images • Convolution • Pooling • Flattening • Storing (H5py)
  • 17. MODULES • Module 1:- Data analysis • Module 2:- Training the dataset • Module 3:-Data identification Related Works • Face detection • Missing Person identification • Object detection • Vehicle detection • Pedestrian identification
  • 18. FUTURE ENHANCEMENT User’s emotion using its facial expressions will be detected. These expressions can be derived from the live feed via system's camera or using web cameras.
  • 19. HARDWARE REQUIREMENTS TRAINING • System with min of 16 GB ram • Processor I7 or above • Minimum 5 GB memory required. TESTING • System with min of 8 GB ram • Processor I5 or above • Minimum 5 GB memory required.
  • 20. EXPERIMENTS WITH DATASET DATASET 433 "Angry Human Face", 510 "Happy Human Face", 425 Disgusted Human Face", 339 "Fearful Human Face", 369"Neutral Human Face", 436 "Sad Human Face", 469"Surprised Human Face" and 155 “Contempt Human Face”. Totally 3136 images datasets. https://drive.google.com/drive/folders/1U3KEp_Ruk-CXXvHNmJcnIVTrjE1wCHKM?usp=sharing
  • 31. END