SlideShare a Scribd company logo
AI Facial Emotion
Detection
By: Ellie Pierson, Richard Thomas, Emily Joseph,
Renold Thomas, Luca Netter, Bergen Cloninger
Instructor: Laikh Tewari
What we are doing?
● Creating an AI to read emotions
○ Helps kids with autism
○ Driving assistance/safety
○ Help teachers in online teaching
Can you label the images below using these 5
emotions?
● Happy
● Sad
● Surprised
● Angry
● Neutral
1 2 3
4 5 6
Can you label the images below using these 5
emotions?
● Happy
● Sad
● Surprised
● Angry
● Neutral
✓
1 2 3
4 5 6
Happy Angry Surprised
Sad Angry Neutral
How can we use AI to identify these
emotions?
Setup and Approach
● Use the best model that predicts
emotions most accurately
Landmarks and distances
Models
Evaluating
Results!
1 2
3
4
● Calculate distances between
each facial landmark
● Find landmarks on different face
images
● Training models using data
consisting of faces and labels (knn,
lr, dt, neural networks)
● Evaluate model performance using
confusion matrix, epoch/accuracy
graphs, and accuracy scores
Model Input Data
EXTRACTED FEATURES
Each image has 64 facial landmarks
The # of distances between landmarks:
64+63+62+61… + 1 = 2278
Then we condense those 2278 distances into
just 20 features!
INPUT:
20 distance values for each
OR
RAW PIXELS
Each image in the data set is 48*48 pixels (in
grayscale)
48*48 = 2304
INPUT:
2,304 pixels for each image
KNN example
● We used a KNN model (K nearest neighbors) to establish a baseline
accuracy
● A KNN model is a type of classification where an algorithm tries to
predict what a new data point will look like based off of existing data
● KNN classification tends to be fast but inaccurate
● With this model, the accuracy comes out to be 43.55%
Log Reg Example
● Logistic regression is a model
that classifies based off of a
probability.
● Logistic regression creates a
curve shaped like an S.
● An ‘S-Curve’ cannot extend the
class number above or below 0-1.
● With this model, the accuracy
comes out to be 36.8%
Neural Network
● A Neural Network is a model based off of
how the human brain works, and uses
input, hidden, and output layers.
● Each layer consists of some amount of
neurons, which are used to test and train
information by sending the information
through every possible path between the
layers. It filters the information which in
this case is images, and attempts to
correctly predict the emotion
● With this model, the accuracy comes out
to be 51.7%, which is almost as good as a
human, but just shy.
Neural Network Example
● Here is an example of a
Neural Network:
● Ours looks similar to
this, but with many
more neurons in each
layer.
CNN Example
● Takes an image
● Filters through a set of layers
● Predicts a label
Through different variables:
Our best model showed: Validation Accuracy = 68% , Loss = 0.85
Transfer Learning
● CNN Data Set →Model →Test
Result
● Val Acc: 68.2%
● Better than most tested previous
models
Eye + Eyebrow Model
We wanted to see how our
models would do if we were
only given landmarks and
distances above the nose
as if we had a mask on.
Our models will only receive
inputs of eyes and
eyebrows landmarks.
Can you tell what
emotion this is?
Happy!
K Nearest Neighbors:
38.35%
Logistic Regression:
38.15%
Decision Tree:
34.35%
Neural Network:
42.65%
Comparison Table
The most accurate model was a pre
trained VGG model using Transfer
Learning at 68.2% accuracy. Our trained
CNN model was close behind at 68.0%
accuracy.
Future Applications
Emotion Detection could be used for:
● Help kids with autism
● In learning environments (i.e. Zoom,
Google Meet)
If we had 1 more week
● Create a live camera feature
Thank You

More Related Content

Similar to Inspirit AI Facial Emotion Detection Project (Dec 2021)

Emotion Classification In Software Engineering Texts: A Comparative Analysis ...
Emotion Classification In Software Engineering Texts: A Comparative Analysis ...Emotion Classification In Software Engineering Texts: A Comparative Analysis ...
Emotion Classification In Software Engineering Texts: A Comparative Analysis ...
Mia Mohammad Imran
 
Getting started with Machine Learning
Getting started with Machine LearningGetting started with Machine Learning
Getting started with Machine Learning
Gaurav Bhalotia
 
Emotion detection using cnn.pptx
Emotion detection using cnn.pptxEmotion detection using cnn.pptx
Emotion detection using cnn.pptx
RADO7900
 
Artificial Intelligence Chapter 9 Negnevitsky
Artificial Intelligence Chapter 9 NegnevitskyArtificial Intelligence Chapter 9 Negnevitsky
Artificial Intelligence Chapter 9 Negnevitskylopanath
 
Face emotion recognition (2).pptx
Face emotion recognition (2).pptxFace emotion recognition (2).pptx
Face emotion recognition (2).pptx
SatyamJyotsanaGargee
 
Module 5: Decision Trees
Module 5: Decision TreesModule 5: Decision Trees
Module 5: Decision Trees
Sara Hooker
 
Ct35535539
Ct35535539Ct35535539
Ct35535539
IJERA Editor
 
ASA.pptx
ASA.pptxASA.pptx
Speech emotion recognition
Speech emotion recognitionSpeech emotion recognition
Speech emotion recognition
saniya shaikh
 
Algorithms that mimic the human brain (1)
Algorithms that mimic the human brain (1)Algorithms that mimic the human brain (1)
Algorithms that mimic the human brain (1)
Bindu Reddy
 
Algorithms that mimic the human brain
Algorithms that mimic the human brainAlgorithms that mimic the human brain
Algorithms that mimic the human brain
Bindu Reddy
 
Nlp whitepaper the securly way
Nlp whitepaper   the securly wayNlp whitepaper   the securly way
Nlp whitepaper the securly way
Securly
 
Ml masterclass
Ml masterclassMl masterclass
Ml masterclass
Maxwell Rebo
 
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
 
Final Year Project - Enhancing Virtual Learning through Emotional Agents (Doc...
Final Year Project - Enhancing Virtual Learning through Emotional Agents (Doc...Final Year Project - Enhancing Virtual Learning through Emotional Agents (Doc...
Final Year Project - Enhancing Virtual Learning through Emotional Agents (Doc...Sana Nasar
 
Machine Learning Workshop, TSEC 2020
Machine Learning Workshop, TSEC 2020Machine Learning Workshop, TSEC 2020
Machine Learning Workshop, TSEC 2020
Siddharth Adelkar
 
Facial expression recognition
Facial expression recognitionFacial expression recognition
Facial expression recognition
ElyesMiri
 
Machine learning
Machine learningMachine learning
Machine learning
Abrar ali
 
Interpretable machine learning : Methods for understanding complex models
Interpretable machine learning : Methods for understanding complex modelsInterpretable machine learning : Methods for understanding complex models
Interpretable machine learning : Methods for understanding complex models
Manojit Nandi
 

Similar to Inspirit AI Facial Emotion Detection Project (Dec 2021) (20)

Emotion Classification In Software Engineering Texts: A Comparative Analysis ...
Emotion Classification In Software Engineering Texts: A Comparative Analysis ...Emotion Classification In Software Engineering Texts: A Comparative Analysis ...
Emotion Classification In Software Engineering Texts: A Comparative Analysis ...
 
Getting started with Machine Learning
Getting started with Machine LearningGetting started with Machine Learning
Getting started with Machine Learning
 
Emotion detection using cnn.pptx
Emotion detection using cnn.pptxEmotion detection using cnn.pptx
Emotion detection using cnn.pptx
 
Artificial Intelligence Chapter 9 Negnevitsky
Artificial Intelligence Chapter 9 NegnevitskyArtificial Intelligence Chapter 9 Negnevitsky
Artificial Intelligence Chapter 9 Negnevitsky
 
Face emotion recognition (2).pptx
Face emotion recognition (2).pptxFace emotion recognition (2).pptx
Face emotion recognition (2).pptx
 
Module 5: Decision Trees
Module 5: Decision TreesModule 5: Decision Trees
Module 5: Decision Trees
 
CS229 poster
CS229 posterCS229 poster
CS229 poster
 
Ct35535539
Ct35535539Ct35535539
Ct35535539
 
ASA.pptx
ASA.pptxASA.pptx
ASA.pptx
 
Speech emotion recognition
Speech emotion recognitionSpeech emotion recognition
Speech emotion recognition
 
Algorithms that mimic the human brain (1)
Algorithms that mimic the human brain (1)Algorithms that mimic the human brain (1)
Algorithms that mimic the human brain (1)
 
Algorithms that mimic the human brain
Algorithms that mimic the human brainAlgorithms that mimic the human brain
Algorithms that mimic the human brain
 
Nlp whitepaper the securly way
Nlp whitepaper   the securly wayNlp whitepaper   the securly way
Nlp whitepaper the securly way
 
Ml masterclass
Ml masterclassMl masterclass
Ml masterclass
 
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.
 
Final Year Project - Enhancing Virtual Learning through Emotional Agents (Doc...
Final Year Project - Enhancing Virtual Learning through Emotional Agents (Doc...Final Year Project - Enhancing Virtual Learning through Emotional Agents (Doc...
Final Year Project - Enhancing Virtual Learning through Emotional Agents (Doc...
 
Machine Learning Workshop, TSEC 2020
Machine Learning Workshop, TSEC 2020Machine Learning Workshop, TSEC 2020
Machine Learning Workshop, TSEC 2020
 
Facial expression recognition
Facial expression recognitionFacial expression recognition
Facial expression recognition
 
Machine learning
Machine learningMachine learning
Machine learning
 
Interpretable machine learning : Methods for understanding complex models
Interpretable machine learning : Methods for understanding complex modelsInterpretable machine learning : Methods for understanding complex models
Interpretable machine learning : Methods for understanding complex models
 

Recently uploaded

原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
u86oixdj
 
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
oz8q3jxlp
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
Subhajit Sahu
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
haila53
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
Machine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptxMachine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptx
balafet
 
Everything you wanted to know about LIHTC
Everything you wanted to know about LIHTCEverything you wanted to know about LIHTC
Everything you wanted to know about LIHTC
Roger Valdez
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Subhajit Sahu
 
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdfEnhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
GetInData
 
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
74nqk8xf
 
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
AbhimanyuSinha9
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
Timothy Spann
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
v3tuleee
 
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
dwreak4tg
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
TravisMalana
 
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
ahzuo
 
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
slg6lamcq
 
Nanandann Nilekani's ppt On India's .pdf
Nanandann Nilekani's ppt On India's .pdfNanandann Nilekani's ppt On India's .pdf
Nanandann Nilekani's ppt On India's .pdf
eddie19851
 
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
mbawufebxi
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
Timothy Spann
 

Recently uploaded (20)

原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
 
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
Machine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptxMachine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptx
 
Everything you wanted to know about LIHTC
Everything you wanted to know about LIHTCEverything you wanted to know about LIHTC
Everything you wanted to know about LIHTC
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
 
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdfEnhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
 
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
 
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
 
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
 
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
 
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
 
Nanandann Nilekani's ppt On India's .pdf
Nanandann Nilekani's ppt On India's .pdfNanandann Nilekani's ppt On India's .pdf
Nanandann Nilekani's ppt On India's .pdf
 
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
 

Inspirit AI Facial Emotion Detection Project (Dec 2021)

  • 1. AI Facial Emotion Detection By: Ellie Pierson, Richard Thomas, Emily Joseph, Renold Thomas, Luca Netter, Bergen Cloninger Instructor: Laikh Tewari
  • 2. What we are doing? ● Creating an AI to read emotions ○ Helps kids with autism ○ Driving assistance/safety ○ Help teachers in online teaching
  • 3. Can you label the images below using these 5 emotions? ● Happy ● Sad ● Surprised ● Angry ● Neutral 1 2 3 4 5 6
  • 4. Can you label the images below using these 5 emotions? ● Happy ● Sad ● Surprised ● Angry ● Neutral ✓ 1 2 3 4 5 6 Happy Angry Surprised Sad Angry Neutral
  • 5. How can we use AI to identify these emotions?
  • 6. Setup and Approach ● Use the best model that predicts emotions most accurately Landmarks and distances Models Evaluating Results! 1 2 3 4 ● Calculate distances between each facial landmark ● Find landmarks on different face images ● Training models using data consisting of faces and labels (knn, lr, dt, neural networks) ● Evaluate model performance using confusion matrix, epoch/accuracy graphs, and accuracy scores
  • 7. Model Input Data EXTRACTED FEATURES Each image has 64 facial landmarks The # of distances between landmarks: 64+63+62+61… + 1 = 2278 Then we condense those 2278 distances into just 20 features! INPUT: 20 distance values for each OR RAW PIXELS Each image in the data set is 48*48 pixels (in grayscale) 48*48 = 2304 INPUT: 2,304 pixels for each image
  • 8. KNN example ● We used a KNN model (K nearest neighbors) to establish a baseline accuracy ● A KNN model is a type of classification where an algorithm tries to predict what a new data point will look like based off of existing data ● KNN classification tends to be fast but inaccurate ● With this model, the accuracy comes out to be 43.55%
  • 9. Log Reg Example ● Logistic regression is a model that classifies based off of a probability. ● Logistic regression creates a curve shaped like an S. ● An ‘S-Curve’ cannot extend the class number above or below 0-1. ● With this model, the accuracy comes out to be 36.8%
  • 10. Neural Network ● A Neural Network is a model based off of how the human brain works, and uses input, hidden, and output layers. ● Each layer consists of some amount of neurons, which are used to test and train information by sending the information through every possible path between the layers. It filters the information which in this case is images, and attempts to correctly predict the emotion ● With this model, the accuracy comes out to be 51.7%, which is almost as good as a human, but just shy.
  • 11. Neural Network Example ● Here is an example of a Neural Network: ● Ours looks similar to this, but with many more neurons in each layer.
  • 12. CNN Example ● Takes an image ● Filters through a set of layers ● Predicts a label Through different variables: Our best model showed: Validation Accuracy = 68% , Loss = 0.85
  • 13. Transfer Learning ● CNN Data Set →Model →Test Result ● Val Acc: 68.2% ● Better than most tested previous models
  • 14. Eye + Eyebrow Model We wanted to see how our models would do if we were only given landmarks and distances above the nose as if we had a mask on. Our models will only receive inputs of eyes and eyebrows landmarks. Can you tell what emotion this is? Happy! K Nearest Neighbors: 38.35% Logistic Regression: 38.15% Decision Tree: 34.35% Neural Network: 42.65%
  • 15. Comparison Table The most accurate model was a pre trained VGG model using Transfer Learning at 68.2% accuracy. Our trained CNN model was close behind at 68.0% accuracy.
  • 16. Future Applications Emotion Detection could be used for: ● Help kids with autism ● In learning environments (i.e. Zoom, Google Meet)
  • 17. If we had 1 more week ● Create a live camera feature

Editor's Notes

  1. Kids with autism are able to make eye contact and read other people emotions through AI glasses. It improves their social skills. Cars can use this feature to read driver’s emotions and send personalized alerts to tell the driver if they are drowsy or if they are mad so they don’t drive recklessly. Teachers could use this to read students emotions and receive feedback to change the teacher’s approach to their teaching.
  2. Mention how to answer: chat, annotate, think
  3. Know how condensing features works: Standardization is the process of putting different variables on the same scale. It is a transformation that centers the data by removing the mean value of each feature and then scale it by dividing (non-constant) features by their standard deviation. After standardizing data the mean will be zero and the standard deviation one. We can use sklearn's inbuilt function which will help us to standardize our train data: Dimensionality reduction helps us find a low-dimensional representation of the data that retains as much information as possible. Principal Component Analysis (PCA) is one such technique.PCA is a technique used to emphasize variation and bring out strong patterns in a dataset.
  4. bergen cloninger the baseline accuracy from this “quick and dirty” algorithm is fairly low, the best accuracy being 43.55% a confusion matrix is a summary of the results of a classification problem. Ideally, a confusion matrix would have no discrepancy along the diagonal, as the predicted labels would perfectly match the true labels. The confusion matrix for this example highlights the diagonals but still has some major flaws
  5. bergen cloninger In a linear regression model, the trend line predicts that some points would have a probability of above 1 or below 0, which is impossible. A logistic regression curve solves this problem by “squishing” the line down in between the 0 and 1, allocating a probability for every point. In both the KNN and Logistic regression examples, the raw pixel data had a lower accuracy than the extracted features
  6. luca-
  7. We used a pre trained vgg model and using our cnn data set to fine tune the vgg model which gives us our test result
  8. Ellie
  9. Ellie
  10. To recognize our emotions in real time using a camera