SlideShare a Scribd company logo
(Roll no- 91/MCA/090021)
1
Projectunder theguidance of
DR. AMLAN CHAKRABARTI
What is Emotion?
⚫Emotions are reflected in voice, hand and body gestures,
and mainly through facial expressions.
2
Facial Emotion
Anger Fear Disgust Happy Sad
⚫There are six types of facial emotions.
3
Surprise
Importance of emotion recognition
4
⚫Human beings express emotions in day to day
interactions.
⚫Understanding emotions and knowing how to react to
people’s expressions greatly enriches the interaction.
Review Of Previous Work
5
⚫Image pre-processing
⚫Facial feature extraction
-select some point on feature region
-consider a matrix surrounding that point
-calculate distances
⚫Facial expression detection
Reff.: [“Optical flow based analyses to detect emotion from human facial image data”- Axel Besinger ,
Tamara Sztynda, Sara Lal , Carmen Duthoit, Johnson Agbinya, Budi Jap ,David Eager, Gamini
Dissanayake]
Proposed Methodology
6
⚫Capture Image
⚫Image Pre-processing
-RGB to gray scale conversion
-Scale Normalization
⚫Crop Feature Regions
⚫Edge Detection
-Prewitt edge detection
⚫Facial Emotion Classification
Methodology(Cont…)
7
Capture Image
8
⚫Digital camera, web-cam
⚫Resolution must be fixed
⚫Distance between the web-cam and the face has to be
fixed.
⚫Position of face must be fixed
⚫Must not wear glasses or have facial hair.
Capture Image(Cont…)
Normal Facial Image Emotional Facial Image
9
RGB to gray scale conversion
Color Facial Image Grayscale Facial Image
⚫Reduce complexity.
10
Scale Normalization
⚫Select only the face portion within a rectangular
frame
⚫Remove unnecessary information
⚫By defining region.
11
Crop Feature Regions
⚫Region of Interest: two Eyes, two Eye brows, Lip
⚫By defining the particular regions.
12
Edge detection
13
ROI ROI after edge detection
Input: ASample Image
Output: Detected Edges
Step 1:Accept the input image
Step 2:Apply mask h1 and h3 (prewitt mask) to the input
image.
Step 3: Masks manipulation of h1 and h3 separately on
the input image
14
Edge Detection (Cont…)
Algorithm:
Edge detection(Cont…)
Step 4: Results combined to find the absolute magnitude of the
gradient
Where
Step 5: The absolute magnitude is the output edges.
15
Facial Emotion Classification
16
⚫Calculate displacement of the points.
⚫Calculate averages of those values.
⚫Calculate standard deviation (SD) of those averages.
⚫Compare this SD with a threshold.
⚫Get Emotion.
Algorithm
17
⚫Step 1: Take a still image of a normal expression pic1
(say) of a human face.
⚫Step 2: Converts the color image to grayscale.
⚫Step 3: Crop the five facial image region of interest (ROI)
(eyes, eye brows and lip) from the image by defining
region.
⚫Step 4: Find edges of all image region.
⚫Step 5: Take a still image of a emotional face (angry or
happy) pic2 (say) of same person and repeat step 2, 3 and
4.
Algorithm(Cont…)
18
⚫Step 7: Comparing the deviation of edges of the
specified region of pic1 with pic2 by finding the
Euclidian distances of coordinate of each pixel.
⚫Step 8: Put the Euclidian distances in a array k (say).
⚫Step 9: Find the standard deviation (SD) from
the elements of array.
⚫Step 10: Comparing the SD with pre-define threshold
and get the emotions.
Experiment & Result
⚫30 images were used to create the template.
⚫60 were tested.
Statistical Valuesof Threecategories
⚫
19
Experiment & Result
⚫Total 83.33% classify Facial Emotion.
63.33% were correct
20
Experiment & Result
⚫80% happy Emotion classification were correct.
⚫50%Angry Emotion classification were correct.
⚫Almost 100% null classification were correct.
21
Applications
22
⚫ E-Learning system
⚫Robotics System
⚫Human-Computer interaction
System
Conclusion and Future Work
23
⚫Implementation through this process isquite easy.
⚫Have to improve over thecapturing Process.
⚫ROI extracted manually
-That should be automatically.
⚫Edgedetection procedure should be less complex.
THANK YOU
24

More Related Content

Similar to 430634527-Final-Facial-Emotion-Detection-ppt-pdf.pptx

Semantic 3DTV Content Analysis and Description
Semantic 3DTV Content Analysis and DescriptionSemantic 3DTV Content Analysis and Description
Semantic 3DTV Content Analysis and Description
Distinguished Lecturer Series - Leon The Mathematician
 
F ACIAL E XPRESSION R ECOGNITION B ASED ON E DGE D ETECTION
F ACIAL  E XPRESSION  R ECOGNITION  B ASED ON  E DGE  D ETECTIONF ACIAL  E XPRESSION  R ECOGNITION  B ASED ON  E DGE  D ETECTION
F ACIAL E XPRESSION R ECOGNITION B ASED ON E DGE D ETECTION
IJCSES Journal
 
Real time facial expression analysis using pca
Real time facial expression analysis using pcaReal time facial expression analysis using pca
Real time facial expression analysis using pca
International Journal of Science and Research (IJSR)
 
EMOTION RECOGNITION FROM FACIAL EXPRESSION BASED ON BEZIER CURVE
EMOTION RECOGNITION FROM FACIAL EXPRESSION BASED ON BEZIER CURVEEMOTION RECOGNITION FROM FACIAL EXPRESSION BASED ON BEZIER CURVE
EMOTION RECOGNITION FROM FACIAL EXPRESSION BASED ON BEZIER CURVE
ijait
 
Face detection using template matching
Face detection using template matchingFace detection using template matching
Face detection using template matchingBrijesh Borad
 
D03502018022
D03502018022D03502018022
D03502018022
theijes
 
A study of techniques for facial detection and expression classification
A study of techniques for facial detection and expression classificationA study of techniques for facial detection and expression classification
A study of techniques for facial detection and expression classification
IJCSES Journal
 
Facial emotion recognition
Facial emotion recognitionFacial emotion recognition
Facial emotion recognition
Rahin Patel
 
FINDING FACIAL EXPRESSION PATTERNS ON VIDEOS BASED ON SMILE AND EYES-OPEN CON...
FINDING FACIAL EXPRESSION PATTERNS ON VIDEOS BASED ON SMILE AND EYES-OPEN CON...FINDING FACIAL EXPRESSION PATTERNS ON VIDEOS BASED ON SMILE AND EYES-OPEN CON...
FINDING FACIAL EXPRESSION PATTERNS ON VIDEOS BASED ON SMILE AND EYES-OPEN CON...
ijaia
 
Single frontal face detection by finding dark pixel group and comparing xy
Single frontal face detection by  finding dark pixel group and  comparing xySingle frontal face detection by  finding dark pixel group and  comparing xy
Single frontal face detection by finding dark pixel group and comparing xyIAEME Publication
 
REAL TIME INTELLIGENT EMOTIONAL MUSIC PLAYER USING ANDROID
REAL TIME INTELLIGENT EMOTIONAL MUSIC PLAYER USING ANDROIDREAL TIME INTELLIGENT EMOTIONAL MUSIC PLAYER USING ANDROID
REAL TIME INTELLIGENT EMOTIONAL MUSIC PLAYER USING ANDROID
Journal For Research
 
A Novel Mathematical Based Method for Generating Virtual Samples from a Front...
A Novel Mathematical Based Method for Generating Virtual Samples from a Front...A Novel Mathematical Based Method for Generating Virtual Samples from a Front...
A Novel Mathematical Based Method for Generating Virtual Samples from a Front...
CSCJournals
 
Lc3420022006
Lc3420022006Lc3420022006
Lc3420022006
IJERA Editor
 
IRJET-Facial Expression Recognition using Efficient LBP and CNN
IRJET-Facial Expression Recognition using Efficient LBP and CNNIRJET-Facial Expression Recognition using Efficient LBP and CNN
IRJET-Facial Expression Recognition using Efficient LBP and CNN
IRJET Journal
 
Intellectual Person Identification Using 3DMM, GPSO and Genetic Algorithm
Intellectual Person Identification Using 3DMM, GPSO and Genetic AlgorithmIntellectual Person Identification Using 3DMM, GPSO and Genetic Algorithm
Intellectual Person Identification Using 3DMM, GPSO and Genetic Algorithm
IJCSIS Research Publications
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Science
researchinventy
 
EMOTION RECOGNITION SYSTEMS: A REVIEW
EMOTION RECOGNITION SYSTEMS: A REVIEWEMOTION RECOGNITION SYSTEMS: A REVIEW
EMOTION RECOGNITION SYSTEMS: A REVIEW
IRJET Journal
 
IRJET - Emotion Recognising System-Crowd Behavior Analysis
IRJET -  	  Emotion Recognising System-Crowd Behavior AnalysisIRJET -  	  Emotion Recognising System-Crowd Behavior Analysis
IRJET - Emotion Recognising System-Crowd Behavior Analysis
IRJET Journal
 
Thermal Imaging Emotion Recognition final report 01
Thermal Imaging Emotion Recognition final report 01Thermal Imaging Emotion Recognition final report 01
Thermal Imaging Emotion Recognition final report 01Ai Zhang
 
A Literature Review On Emotion Recognition System Using Various Facial Expres...
A Literature Review On Emotion Recognition System Using Various Facial Expres...A Literature Review On Emotion Recognition System Using Various Facial Expres...
A Literature Review On Emotion Recognition System Using Various Facial Expres...
Lisa Graves
 

Similar to 430634527-Final-Facial-Emotion-Detection-ppt-pdf.pptx (20)

Semantic 3DTV Content Analysis and Description
Semantic 3DTV Content Analysis and DescriptionSemantic 3DTV Content Analysis and Description
Semantic 3DTV Content Analysis and Description
 
F ACIAL E XPRESSION R ECOGNITION B ASED ON E DGE D ETECTION
F ACIAL  E XPRESSION  R ECOGNITION  B ASED ON  E DGE  D ETECTIONF ACIAL  E XPRESSION  R ECOGNITION  B ASED ON  E DGE  D ETECTION
F ACIAL E XPRESSION R ECOGNITION B ASED ON E DGE D ETECTION
 
Real time facial expression analysis using pca
Real time facial expression analysis using pcaReal time facial expression analysis using pca
Real time facial expression analysis using pca
 
EMOTION RECOGNITION FROM FACIAL EXPRESSION BASED ON BEZIER CURVE
EMOTION RECOGNITION FROM FACIAL EXPRESSION BASED ON BEZIER CURVEEMOTION RECOGNITION FROM FACIAL EXPRESSION BASED ON BEZIER CURVE
EMOTION RECOGNITION FROM FACIAL EXPRESSION BASED ON BEZIER CURVE
 
Face detection using template matching
Face detection using template matchingFace detection using template matching
Face detection using template matching
 
D03502018022
D03502018022D03502018022
D03502018022
 
A study of techniques for facial detection and expression classification
A study of techniques for facial detection and expression classificationA study of techniques for facial detection and expression classification
A study of techniques for facial detection and expression classification
 
Facial emotion recognition
Facial emotion recognitionFacial emotion recognition
Facial emotion recognition
 
FINDING FACIAL EXPRESSION PATTERNS ON VIDEOS BASED ON SMILE AND EYES-OPEN CON...
FINDING FACIAL EXPRESSION PATTERNS ON VIDEOS BASED ON SMILE AND EYES-OPEN CON...FINDING FACIAL EXPRESSION PATTERNS ON VIDEOS BASED ON SMILE AND EYES-OPEN CON...
FINDING FACIAL EXPRESSION PATTERNS ON VIDEOS BASED ON SMILE AND EYES-OPEN CON...
 
Single frontal face detection by finding dark pixel group and comparing xy
Single frontal face detection by  finding dark pixel group and  comparing xySingle frontal face detection by  finding dark pixel group and  comparing xy
Single frontal face detection by finding dark pixel group and comparing xy
 
REAL TIME INTELLIGENT EMOTIONAL MUSIC PLAYER USING ANDROID
REAL TIME INTELLIGENT EMOTIONAL MUSIC PLAYER USING ANDROIDREAL TIME INTELLIGENT EMOTIONAL MUSIC PLAYER USING ANDROID
REAL TIME INTELLIGENT EMOTIONAL MUSIC PLAYER USING ANDROID
 
A Novel Mathematical Based Method for Generating Virtual Samples from a Front...
A Novel Mathematical Based Method for Generating Virtual Samples from a Front...A Novel Mathematical Based Method for Generating Virtual Samples from a Front...
A Novel Mathematical Based Method for Generating Virtual Samples from a Front...
 
Lc3420022006
Lc3420022006Lc3420022006
Lc3420022006
 
IRJET-Facial Expression Recognition using Efficient LBP and CNN
IRJET-Facial Expression Recognition using Efficient LBP and CNNIRJET-Facial Expression Recognition using Efficient LBP and CNN
IRJET-Facial Expression Recognition using Efficient LBP and CNN
 
Intellectual Person Identification Using 3DMM, GPSO and Genetic Algorithm
Intellectual Person Identification Using 3DMM, GPSO and Genetic AlgorithmIntellectual Person Identification Using 3DMM, GPSO and Genetic Algorithm
Intellectual Person Identification Using 3DMM, GPSO and Genetic Algorithm
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Science
 
EMOTION RECOGNITION SYSTEMS: A REVIEW
EMOTION RECOGNITION SYSTEMS: A REVIEWEMOTION RECOGNITION SYSTEMS: A REVIEW
EMOTION RECOGNITION SYSTEMS: A REVIEW
 
IRJET - Emotion Recognising System-Crowd Behavior Analysis
IRJET -  	  Emotion Recognising System-Crowd Behavior AnalysisIRJET -  	  Emotion Recognising System-Crowd Behavior Analysis
IRJET - Emotion Recognising System-Crowd Behavior Analysis
 
Thermal Imaging Emotion Recognition final report 01
Thermal Imaging Emotion Recognition final report 01Thermal Imaging Emotion Recognition final report 01
Thermal Imaging Emotion Recognition final report 01
 
A Literature Review On Emotion Recognition System Using Various Facial Expres...
A Literature Review On Emotion Recognition System Using Various Facial Expres...A Literature Review On Emotion Recognition System Using Various Facial Expres...
A Literature Review On Emotion Recognition System Using Various Facial Expres...
 

Recently uploaded

What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
Autohaus Service and Sales
 
Ec330B Lc Excavator Volvo Service Repair.pdf
Ec330B Lc Excavator Volvo Service Repair.pdfEc330B Lc Excavator Volvo Service Repair.pdf
Ec330B Lc Excavator Volvo Service Repair.pdf
Excavator
 
一比一原版BC毕业证波士顿学院毕业证成绩单如何办理
一比一原版BC毕业证波士顿学院毕业证成绩单如何办理一比一原版BC毕业证波士顿学院毕业证成绩单如何办理
一比一原版BC毕业证波士顿学院毕业证成绩单如何办理
amvovau
 
Wondering if Your Mercedes EIS is at Fault Here’s How to Tell
Wondering if Your Mercedes EIS is at Fault Here’s How to TellWondering if Your Mercedes EIS is at Fault Here’s How to Tell
Wondering if Your Mercedes EIS is at Fault Here’s How to Tell
Vic Auto Collision & Repair
 
What Does the Active Steering Malfunction Warning Mean for Your BMW
What Does the Active Steering Malfunction Warning Mean for Your BMWWhat Does the Active Steering Malfunction Warning Mean for Your BMW
What Does the Active Steering Malfunction Warning Mean for Your BMW
Tanner Motors
 
Tyre Industrymarket overview with examples of CEAT
Tyre Industrymarket overview with examples of CEATTyre Industrymarket overview with examples of CEAT
Tyre Industrymarket overview with examples of CEAT
kshamashah95
 
Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Core technology of Hyundai Motor Group's EV platform 'E-GMP'Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Hyundai Motor Group
 
Why Is Your BMW X3 Hood Not Responding To Release Commands
Why Is Your BMW X3 Hood Not Responding To Release CommandsWhy Is Your BMW X3 Hood Not Responding To Release Commands
Why Is Your BMW X3 Hood Not Responding To Release Commands
Dart Auto
 
What Exactly Is The Common Rail Direct Injection System & How Does It Work
What Exactly Is The Common Rail Direct Injection System & How Does It WorkWhat Exactly Is The Common Rail Direct Injection System & How Does It Work
What Exactly Is The Common Rail Direct Injection System & How Does It Work
Motor Cars International
 
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out HereWhy Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
Masters European & Gapanese Auto Repair
 
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
psavhef
 
The Future of Autonomous Vehicles | civilthings.com | Detailed information
The Future of Autonomous Vehicles | civilthings.com |  Detailed informationThe Future of Autonomous Vehicles | civilthings.com |  Detailed information
The Future of Autonomous Vehicles | civilthings.com | Detailed information
gettygaming1
 
gtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
gtycccccccccccccccccccccccccccccccccccccccccccccccccccccccgtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
gtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
4thzenzstar
 
Antique Plastic Traders Company Profile
Antique Plastic Traders Company ProfileAntique Plastic Traders Company Profile
Antique Plastic Traders Company Profile
Antique Plastic Traders
 
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
Bertini's German Motors
 

Recently uploaded (15)

What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
 
Ec330B Lc Excavator Volvo Service Repair.pdf
Ec330B Lc Excavator Volvo Service Repair.pdfEc330B Lc Excavator Volvo Service Repair.pdf
Ec330B Lc Excavator Volvo Service Repair.pdf
 
一比一原版BC毕业证波士顿学院毕业证成绩单如何办理
一比一原版BC毕业证波士顿学院毕业证成绩单如何办理一比一原版BC毕业证波士顿学院毕业证成绩单如何办理
一比一原版BC毕业证波士顿学院毕业证成绩单如何办理
 
Wondering if Your Mercedes EIS is at Fault Here’s How to Tell
Wondering if Your Mercedes EIS is at Fault Here’s How to TellWondering if Your Mercedes EIS is at Fault Here’s How to Tell
Wondering if Your Mercedes EIS is at Fault Here’s How to Tell
 
What Does the Active Steering Malfunction Warning Mean for Your BMW
What Does the Active Steering Malfunction Warning Mean for Your BMWWhat Does the Active Steering Malfunction Warning Mean for Your BMW
What Does the Active Steering Malfunction Warning Mean for Your BMW
 
Tyre Industrymarket overview with examples of CEAT
Tyre Industrymarket overview with examples of CEATTyre Industrymarket overview with examples of CEAT
Tyre Industrymarket overview with examples of CEAT
 
Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Core technology of Hyundai Motor Group's EV platform 'E-GMP'Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Core technology of Hyundai Motor Group's EV platform 'E-GMP'
 
Why Is Your BMW X3 Hood Not Responding To Release Commands
Why Is Your BMW X3 Hood Not Responding To Release CommandsWhy Is Your BMW X3 Hood Not Responding To Release Commands
Why Is Your BMW X3 Hood Not Responding To Release Commands
 
What Exactly Is The Common Rail Direct Injection System & How Does It Work
What Exactly Is The Common Rail Direct Injection System & How Does It WorkWhat Exactly Is The Common Rail Direct Injection System & How Does It Work
What Exactly Is The Common Rail Direct Injection System & How Does It Work
 
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out HereWhy Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
 
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
 
The Future of Autonomous Vehicles | civilthings.com | Detailed information
The Future of Autonomous Vehicles | civilthings.com |  Detailed informationThe Future of Autonomous Vehicles | civilthings.com |  Detailed information
The Future of Autonomous Vehicles | civilthings.com | Detailed information
 
gtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
gtycccccccccccccccccccccccccccccccccccccccccccccccccccccccgtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
gtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
 
Antique Plastic Traders Company Profile
Antique Plastic Traders Company ProfileAntique Plastic Traders Company Profile
Antique Plastic Traders Company Profile
 
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
 

430634527-Final-Facial-Emotion-Detection-ppt-pdf.pptx

  • 1. (Roll no- 91/MCA/090021) 1 Projectunder theguidance of DR. AMLAN CHAKRABARTI
  • 2. What is Emotion? ⚫Emotions are reflected in voice, hand and body gestures, and mainly through facial expressions. 2
  • 3. Facial Emotion Anger Fear Disgust Happy Sad ⚫There are six types of facial emotions. 3 Surprise
  • 4. Importance of emotion recognition 4 ⚫Human beings express emotions in day to day interactions. ⚫Understanding emotions and knowing how to react to people’s expressions greatly enriches the interaction.
  • 5. Review Of Previous Work 5 ⚫Image pre-processing ⚫Facial feature extraction -select some point on feature region -consider a matrix surrounding that point -calculate distances ⚫Facial expression detection Reff.: [“Optical flow based analyses to detect emotion from human facial image data”- Axel Besinger , Tamara Sztynda, Sara Lal , Carmen Duthoit, Johnson Agbinya, Budi Jap ,David Eager, Gamini Dissanayake]
  • 6. Proposed Methodology 6 ⚫Capture Image ⚫Image Pre-processing -RGB to gray scale conversion -Scale Normalization ⚫Crop Feature Regions ⚫Edge Detection -Prewitt edge detection ⚫Facial Emotion Classification
  • 8. Capture Image 8 ⚫Digital camera, web-cam ⚫Resolution must be fixed ⚫Distance between the web-cam and the face has to be fixed. ⚫Position of face must be fixed ⚫Must not wear glasses or have facial hair.
  • 9. Capture Image(Cont…) Normal Facial Image Emotional Facial Image 9
  • 10. RGB to gray scale conversion Color Facial Image Grayscale Facial Image ⚫Reduce complexity. 10
  • 11. Scale Normalization ⚫Select only the face portion within a rectangular frame ⚫Remove unnecessary information ⚫By defining region. 11
  • 12. Crop Feature Regions ⚫Region of Interest: two Eyes, two Eye brows, Lip ⚫By defining the particular regions. 12
  • 13. Edge detection 13 ROI ROI after edge detection
  • 14. Input: ASample Image Output: Detected Edges Step 1:Accept the input image Step 2:Apply mask h1 and h3 (prewitt mask) to the input image. Step 3: Masks manipulation of h1 and h3 separately on the input image 14 Edge Detection (Cont…) Algorithm:
  • 15. Edge detection(Cont…) Step 4: Results combined to find the absolute magnitude of the gradient Where Step 5: The absolute magnitude is the output edges. 15
  • 16. Facial Emotion Classification 16 ⚫Calculate displacement of the points. ⚫Calculate averages of those values. ⚫Calculate standard deviation (SD) of those averages. ⚫Compare this SD with a threshold. ⚫Get Emotion.
  • 17. Algorithm 17 ⚫Step 1: Take a still image of a normal expression pic1 (say) of a human face. ⚫Step 2: Converts the color image to grayscale. ⚫Step 3: Crop the five facial image region of interest (ROI) (eyes, eye brows and lip) from the image by defining region. ⚫Step 4: Find edges of all image region. ⚫Step 5: Take a still image of a emotional face (angry or happy) pic2 (say) of same person and repeat step 2, 3 and 4.
  • 18. Algorithm(Cont…) 18 ⚫Step 7: Comparing the deviation of edges of the specified region of pic1 with pic2 by finding the Euclidian distances of coordinate of each pixel. ⚫Step 8: Put the Euclidian distances in a array k (say). ⚫Step 9: Find the standard deviation (SD) from the elements of array. ⚫Step 10: Comparing the SD with pre-define threshold and get the emotions.
  • 19. Experiment & Result ⚫30 images were used to create the template. ⚫60 were tested. Statistical Valuesof Threecategories ⚫ 19
  • 20. Experiment & Result ⚫Total 83.33% classify Facial Emotion. 63.33% were correct 20
  • 21. Experiment & Result ⚫80% happy Emotion classification were correct. ⚫50%Angry Emotion classification were correct. ⚫Almost 100% null classification were correct. 21
  • 22. Applications 22 ⚫ E-Learning system ⚫Robotics System ⚫Human-Computer interaction System
  • 23. Conclusion and Future Work 23 ⚫Implementation through this process isquite easy. ⚫Have to improve over thecapturing Process. ⚫ROI extracted manually -That should be automatically. ⚫Edgedetection procedure should be less complex.