SlideShare a Scribd company logo
MS .Thesis Defense
Facial expressions and key facial coordinates detection using deep learning
techniques
Syed Aienullah Agha (MS IT)
Supervisor: Dr. Syed Attique Shah (FICT)
Co-Supervisor: Dr. Mehmood biryalai (FICT)
Department of Information Technology, Balochistan
University of Information Technology, Engineering, and
Management Sciences (BUITEMS)
Contents
2
1. Introduction
2. Objectives
3. Litrature Review
4. Methodology
5. Results
6. Conclusion
7. References
Acknowledgments
3
Explicitly, I am greatly thankful to all the concerned souls who have been
provided me inclusive guidelines and productive suggestions in order to
utter my research. From the core of my heart, I impart special thanks to
my decisive supervisors Dr Attique Shah and Dr Mehmood Baryalai. No
doubt, my research journey could not be possible to reach its peak without
their special assistance. Apart from others, such experiences with them
have educated me and will also enlighten my soul ahead.
Facial Expressions
• Facial expressions are the non verbal
cues which we usually use in our
interpersonal communication.
• Many researchers believes that 93%
of communication occurs through non
verbal cues and only 7% of
communication take place through the
use of words.
• There are 7 universal facial
expressions that are common across
all the cultures.
4
Figure 1: Seven universal facial expressions
Facial key coordinates
• Facial key coordinates are the special points
in a facial structure which that maps the
expression of an emotion.
• It is a critical step in face identification and is
described as the process of finding certain
areas, points and landmarks.
5
Figure 2: Facial key coordinates.
Facial expression recognition
6
• Facial expression recognition (FER) is a research field that aimed to identify human emotions based
on facial expressions.
• It can be utilized in biometric authentication, interactive human-computer interaction, robotics, and
clinical care to treat schizophrenia, anxiety, stress, and psychological issues.
Problem Statement
7
• It has often been said that the eyes are the "window to the soul." This statement
may be carried to a logical assumption that not only the eyes but the entire face
may reflect the "hidden" emotions of the individual.
• As we better know that conceiving a human's expression is easy for us. Certainly,
it is still a difficult task for a computer to recognize human emotions accurately.
• Over the last few years, various state-of-the-art machine learning-based facial
expression models proposed by different researchers. However, traditional
machine learning models are brittle and have a low recognition rate due to lack of
image information and noise intrusion.
Objectives
9
• Detection of key feature coordinates. These are coordinated points in a facial structure that maps
the expression of an emotion.
• Recognition of facial expressions using the proposed model, e.g., happiness, sadness, anger,
surprise, disgust, stoic, fear with a remarkable accuracy score.
Literature Review
10
Studies Dataset Classifier Accuracy
Giannopoulos et al. [1] FER2013 ALEXNET 73%
Jain et al. [2] JAFFE CNN 80%
Zhenhua. [3] JAFFE CNN 64%
Kuan Li. [4] CK+ &
JAFFE
CNN 80%
Moises Garcia. [5] JAFFE DNN 80%
Nessrine Abbassi. [6] FER2013 VGG19 72%
Shekhar Singh et al. [7] FER2013 CNN 75.2%
Methodology
11
Dataset Availability:
FER2103 and key facial points dataset which has been adopted for the
experiment in this research work, consisting of 28,709 training images,
3,589 test images, and 3,589 validation images were collected from
wolfram.com using Google search. The size of all images is 48*48, and
there are seven categories of emotions present in the FER2013 dataset.
 Moreover, for facial key coordinates detection we used the key
facial points detection dataset. The dataset consists of x-coordinates
and y-coordinates of 15 facial key points of 2140 images (96 X 96)
in a grayscale.
Figure 10: Dataset Images
Dataset distribution
Graphical representation of dataset segmentation
12
Pre-processing
14
Figure 11: Augmented Pictures
Architecture
16
Figure 12: Proposed model architecture
Results
Figure 14: Accuracy comparison after augmentation
Figure 13: Accuracy comparison before augmentation
18
Loss comparison
19
Figure 15: Loss comparison before augmentation Figure 16: Loss comparison after augmentation
20
Confusion Matrix
21
Figure 19: Confusion matrix of facial expressions Figure 20: Confusion matrix of key facial points
Classification Report
22
Model’s Prediction
24
Figure 21: Proposed model prediction
25
Conclusion
26
• This thesis discussed how to recognize facial expressions and key coordinates using the
residual network model.
• For feature extraction, we have used a state-of-the-art pre-trained ResNet model. By which
we can save computational resources as its already trained weights don't need to train again.
• Pre-processing techniques were also helpful in this regard where we first re shape our
images from 48x48 to 96x96 pixels and data augmentation process provides us more variety
for all the images.
• the proposed model's result showed us that the Residual networks perform tremendously on
huge image datasets and can attain good accuracy scores on different computer vision tasks.
however, the proposed model recognized facial expression and key coordinates with
considerably high accuracy and outperformed previously proposed, state-of-the-art models.
References
• [1] Panagiotis Giannopoulos, Isidoros Perikos, and Ioannis Hatzilygeroudis. Deep learn-ing approaches for
facial emotion recognition: A case study on fer-2013. InAdvancesin hybridization of intelligent methods,
pages 1–16. Springer, 2018.
• [2] Deepak Kumar Jain, Pourya Shamsolmoali, and Paramjit Sehdev. Extended deepneural network for facial
emotion recognition.Pattern Recognition Letters, 120:69–74, 2019.
• [3] Zhenhua Nie. Research on facial expression recognition of robot based on cnn con-volution neural
network. In2020 IEEE international conference on power, intelligentcomputing and systems (ICPICS), pages
1067–1070. IEEE, 2020.
• [4] Kuan Li, Yi Jin, Muhammad Waqar Akram, Ruize Han, and Jiongwei Chen. Facialexpression recognition
with convolutional neural networks via a new face croppingand rotation strategy.The visual computer,
36(2):391–404, 2020.
• [5] Moises Garcia Villanueva and Salvador Ram ́ırez Zavala. Deep neural network archi-tecture: Application
for facial expression recognition.IEEE Latin America Transac-tions, 18(07):1311–1319, 2020.
• [6] Nessrine Abbassi, Rabie Helaly, Mohamed Ali Hajjaji, and Abdellatif Mtibaa. A deeplearning facial
emotion classification system: a vggnet-19 based approach. In202020th International Conference on Sciences
and Techniques of Automatic Control and Computer Engineering (STA), pages 271–276. IEEE, 2020.
27
Thank You

More Related Content

PPTX
Biometric authentication
PDF
What you need to know about Generative AI and Data Management?
PPTX
Responsible AI in Industry (Tutorials at AAAI 2021, FAccT 2021, and WWW 2021)
PDF
India's_Generative_AI_Startup_Landscape_Report_2023_Inc42 (1).pdf
PDF
How Machine Learning Influences Social Media
PPTX
Big Data Helsinki v 3 | "Federated Learning and Privacy-preserving AI" - Oguz...
PDF
Customizing LLMs
PDF
Andy Roy - Conversational AI - Why We Must Build.pdf
Biometric authentication
What you need to know about Generative AI and Data Management?
Responsible AI in Industry (Tutorials at AAAI 2021, FAccT 2021, and WWW 2021)
India's_Generative_AI_Startup_Landscape_Report_2023_Inc42 (1).pdf
How Machine Learning Influences Social Media
Big Data Helsinki v 3 | "Federated Learning and Privacy-preserving AI" - Oguz...
Customizing LLMs
Andy Roy - Conversational AI - Why We Must Build.pdf

What's hot (20)

PPTX
Implementing Artificial Intelligence with Big Data
PPTX
Explainable AI in Industry (KDD 2019 Tutorial)
PDF
The Art of the Possible with Graphs
PPTX
Using Generative AI
PDF
GenAI in Research with Responsible AI
PDF
Generative-AI-in-enterprise-20230615.pdf
PDF
Governance of trustworthy AI
PDF
Introduction to Deep Learning
PPTX
Fake news detection project
PPTX
Face Mask Detection PPT.pptx
PDF
Build an LLM-powered application using LangChain.pdf
PPTX
Computer Vision.pptx
PDF
Automate your Job and Business with ChatGPT #3 - Fundamentals of LLM/GPT
PPTX
Biometrics and Multi-Factor Authentication, The Unleashed Dragon
PPTX
Biometricsppt
PPTX
Ethical Issues in Machine Learning Algorithms. (Part 3)
PPTX
Explainable AI in Industry (AAAI 2020 Tutorial)
PDF
Retrieval Augmented Generation in Practice: Scalable GenAI platforms with k8s...
PPTX
Explainable AI
PPTX
Explainability for Natural Language Processing
Implementing Artificial Intelligence with Big Data
Explainable AI in Industry (KDD 2019 Tutorial)
The Art of the Possible with Graphs
Using Generative AI
GenAI in Research with Responsible AI
Generative-AI-in-enterprise-20230615.pdf
Governance of trustworthy AI
Introduction to Deep Learning
Fake news detection project
Face Mask Detection PPT.pptx
Build an LLM-powered application using LangChain.pdf
Computer Vision.pptx
Automate your Job and Business with ChatGPT #3 - Fundamentals of LLM/GPT
Biometrics and Multi-Factor Authentication, The Unleashed Dragon
Biometricsppt
Ethical Issues in Machine Learning Algorithms. (Part 3)
Explainable AI in Industry (AAAI 2020 Tutorial)
Retrieval Augmented Generation in Practice: Scalable GenAI platforms with k8s...
Explainable AI
Explainability for Natural Language Processing
Ad

Similar to Machine Learning.pptx (20)

PDF
Hybrid Facial Expression Recognition (FER2013) Model for Real-Time Emotion Cl...
PPTX
Project report of thr facial expressionppt.pptx
PPTX
Facial Expression Recognition System using Deep Convolutional Neural Networks.
PDF
A pre-trained model vs dedicated convolution neural networks for emotion reco...
PDF
FACIAL EMOTION RECOGNITION SYSTEM
PPTX
Deep_FER_Survey_jhbhebjehbrfbePresentation.pptx
PDF
icmi2015_ChaZhang
PDF
Facial Expression Identification System
PPTX
Phd Presentaiton on Facial Expresson recogntion - Final.pptx
PPTX
Recognizing Facial Expression Through Frequency Neural Network.pptx
PDF
Facial expression recognition
PDF
Facial Emotion Recognition using Convolution Neural Network
PDF
FACE EXPRESSION RECOGNITION USING CONVOLUTION NEURAL NETWORK (CNN) MODELS
PDF
Deep Neural NEtwork
PDF
Efficient facial expression_recognition_algorithm_based_on_hierarchical_deep_...
PDF
2018 09
PDF
Recognition of Sentiment using Deep Neural Network
PDF
A Real-Time Emotion Recognition from Facial Expression Using Conventional Neu...
PPTX
Mental Health Monitor using facial expression
PDF
IRJET- Multiple Feature Fusion for Facial Expression Recognition in Video: Su...
Hybrid Facial Expression Recognition (FER2013) Model for Real-Time Emotion Cl...
Project report of thr facial expressionppt.pptx
Facial Expression Recognition System using Deep Convolutional Neural Networks.
A pre-trained model vs dedicated convolution neural networks for emotion reco...
FACIAL EMOTION RECOGNITION SYSTEM
Deep_FER_Survey_jhbhebjehbrfbePresentation.pptx
icmi2015_ChaZhang
Facial Expression Identification System
Phd Presentaiton on Facial Expresson recogntion - Final.pptx
Recognizing Facial Expression Through Frequency Neural Network.pptx
Facial expression recognition
Facial Emotion Recognition using Convolution Neural Network
FACE EXPRESSION RECOGNITION USING CONVOLUTION NEURAL NETWORK (CNN) MODELS
Deep Neural NEtwork
Efficient facial expression_recognition_algorithm_based_on_hierarchical_deep_...
2018 09
Recognition of Sentiment using Deep Neural Network
A Real-Time Emotion Recognition from Facial Expression Using Conventional Neu...
Mental Health Monitor using facial expression
IRJET- Multiple Feature Fusion for Facial Expression Recognition in Video: Su...
Ad

Recently uploaded (20)

PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Well-logging-methods_new................
PDF
PPT on Performance Review to get promotions
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
Geodesy 1.pptx...............................................
PPTX
web development for engineering and engineering
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
additive manufacturing of ss316l using mig welding
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
CYBER-CRIMES AND SECURITY A guide to understanding
Fundamentals of safety and accident prevention -final (1).pptx
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
R24 SURVEYING LAB MANUAL for civil enggi
Well-logging-methods_new................
PPT on Performance Review to get promotions
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Geodesy 1.pptx...............................................
web development for engineering and engineering
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Model Code of Practice - Construction Work - 21102022 .pdf
bas. eng. economics group 4 presentation 1.pptx
additive manufacturing of ss316l using mig welding
Foundation to blockchain - A guide to Blockchain Tech
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems

Machine Learning.pptx

  • 1. MS .Thesis Defense Facial expressions and key facial coordinates detection using deep learning techniques Syed Aienullah Agha (MS IT) Supervisor: Dr. Syed Attique Shah (FICT) Co-Supervisor: Dr. Mehmood biryalai (FICT) Department of Information Technology, Balochistan University of Information Technology, Engineering, and Management Sciences (BUITEMS)
  • 2. Contents 2 1. Introduction 2. Objectives 3. Litrature Review 4. Methodology 5. Results 6. Conclusion 7. References
  • 3. Acknowledgments 3 Explicitly, I am greatly thankful to all the concerned souls who have been provided me inclusive guidelines and productive suggestions in order to utter my research. From the core of my heart, I impart special thanks to my decisive supervisors Dr Attique Shah and Dr Mehmood Baryalai. No doubt, my research journey could not be possible to reach its peak without their special assistance. Apart from others, such experiences with them have educated me and will also enlighten my soul ahead.
  • 4. Facial Expressions • Facial expressions are the non verbal cues which we usually use in our interpersonal communication. • Many researchers believes that 93% of communication occurs through non verbal cues and only 7% of communication take place through the use of words. • There are 7 universal facial expressions that are common across all the cultures. 4 Figure 1: Seven universal facial expressions
  • 5. Facial key coordinates • Facial key coordinates are the special points in a facial structure which that maps the expression of an emotion. • It is a critical step in face identification and is described as the process of finding certain areas, points and landmarks. 5 Figure 2: Facial key coordinates.
  • 6. Facial expression recognition 6 • Facial expression recognition (FER) is a research field that aimed to identify human emotions based on facial expressions. • It can be utilized in biometric authentication, interactive human-computer interaction, robotics, and clinical care to treat schizophrenia, anxiety, stress, and psychological issues.
  • 7. Problem Statement 7 • It has often been said that the eyes are the "window to the soul." This statement may be carried to a logical assumption that not only the eyes but the entire face may reflect the "hidden" emotions of the individual. • As we better know that conceiving a human's expression is easy for us. Certainly, it is still a difficult task for a computer to recognize human emotions accurately. • Over the last few years, various state-of-the-art machine learning-based facial expression models proposed by different researchers. However, traditional machine learning models are brittle and have a low recognition rate due to lack of image information and noise intrusion.
  • 8. Objectives 9 • Detection of key feature coordinates. These are coordinated points in a facial structure that maps the expression of an emotion. • Recognition of facial expressions using the proposed model, e.g., happiness, sadness, anger, surprise, disgust, stoic, fear with a remarkable accuracy score.
  • 9. Literature Review 10 Studies Dataset Classifier Accuracy Giannopoulos et al. [1] FER2013 ALEXNET 73% Jain et al. [2] JAFFE CNN 80% Zhenhua. [3] JAFFE CNN 64% Kuan Li. [4] CK+ & JAFFE CNN 80% Moises Garcia. [5] JAFFE DNN 80% Nessrine Abbassi. [6] FER2013 VGG19 72% Shekhar Singh et al. [7] FER2013 CNN 75.2%
  • 10. Methodology 11 Dataset Availability: FER2103 and key facial points dataset which has been adopted for the experiment in this research work, consisting of 28,709 training images, 3,589 test images, and 3,589 validation images were collected from wolfram.com using Google search. The size of all images is 48*48, and there are seven categories of emotions present in the FER2013 dataset.  Moreover, for facial key coordinates detection we used the key facial points detection dataset. The dataset consists of x-coordinates and y-coordinates of 15 facial key points of 2140 images (96 X 96) in a grayscale. Figure 10: Dataset Images
  • 11. Dataset distribution Graphical representation of dataset segmentation 12
  • 14. Results Figure 14: Accuracy comparison after augmentation Figure 13: Accuracy comparison before augmentation
  • 15. 18
  • 16. Loss comparison 19 Figure 15: Loss comparison before augmentation Figure 16: Loss comparison after augmentation
  • 17. 20
  • 18. Confusion Matrix 21 Figure 19: Confusion matrix of facial expressions Figure 20: Confusion matrix of key facial points
  • 20. Model’s Prediction 24 Figure 21: Proposed model prediction
  • 21. 25
  • 22. Conclusion 26 • This thesis discussed how to recognize facial expressions and key coordinates using the residual network model. • For feature extraction, we have used a state-of-the-art pre-trained ResNet model. By which we can save computational resources as its already trained weights don't need to train again. • Pre-processing techniques were also helpful in this regard where we first re shape our images from 48x48 to 96x96 pixels and data augmentation process provides us more variety for all the images. • the proposed model's result showed us that the Residual networks perform tremendously on huge image datasets and can attain good accuracy scores on different computer vision tasks. however, the proposed model recognized facial expression and key coordinates with considerably high accuracy and outperformed previously proposed, state-of-the-art models.
  • 23. References • [1] Panagiotis Giannopoulos, Isidoros Perikos, and Ioannis Hatzilygeroudis. Deep learn-ing approaches for facial emotion recognition: A case study on fer-2013. InAdvancesin hybridization of intelligent methods, pages 1–16. Springer, 2018. • [2] Deepak Kumar Jain, Pourya Shamsolmoali, and Paramjit Sehdev. Extended deepneural network for facial emotion recognition.Pattern Recognition Letters, 120:69–74, 2019. • [3] Zhenhua Nie. Research on facial expression recognition of robot based on cnn con-volution neural network. In2020 IEEE international conference on power, intelligentcomputing and systems (ICPICS), pages 1067–1070. IEEE, 2020. • [4] Kuan Li, Yi Jin, Muhammad Waqar Akram, Ruize Han, and Jiongwei Chen. Facialexpression recognition with convolutional neural networks via a new face croppingand rotation strategy.The visual computer, 36(2):391–404, 2020. • [5] Moises Garcia Villanueva and Salvador Ram ́ırez Zavala. Deep neural network archi-tecture: Application for facial expression recognition.IEEE Latin America Transac-tions, 18(07):1311–1319, 2020. • [6] Nessrine Abbassi, Rabie Helaly, Mohamed Ali Hajjaji, and Abdellatif Mtibaa. A deeplearning facial emotion classification system: a vggnet-19 based approach. In202020th International Conference on Sciences and Techniques of Automatic Control and Computer Engineering (STA), pages 271–276. IEEE, 2020. 27

Editor's Notes

  • #12: Lister Hill National Center for Biomedical Communications.Naational library of madicies. https://lhncbc.nlm.nih.gov/LHC-downloads/downloads.htmlmalaria-datasets, 2021.