Skip to content

detect facial expressions using opencv and linear algebra

License

Notifications You must be signed in to change notification settings

hiepnguyen034/Emotion_Detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emotion_Detector

Detect facial expression using opencv and linear algebra

The model detects if the person in the image is sad, neutral, happy, or surprised

Dependencies

tensorflow, opencv

Accuracy

93.8% on the training set and ~83% on my own images. This could be improved by editing the new images so that they look similar to the images in the train and dev sets (i.e. images should come from the same distribution)

Computation graph

graph_large_attrs_key _too_large_attrs limit_attr_size 1024 run

To test with specific image(s)

Clone the repos-> Open the notebook customized_tests.ipynb and run all the cells before #CUSTOMIZED TEST CASES START FROM HERE# cell -> Insert path to the image that needs to be tested -> run the function test_specific_image(PATH). Input must be an image of one person, preferably a selfie with an empty background

About

detect facial expressions using opencv and linear algebra

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published