Emotion-detection
Emotion Detection using deep unbaised CONV-net!!
Website : https://ash1998.github.io/Emotion-detection/
Getting Data
The dataset used here is the famous FER2013 dataset from kaggle’s FER challenge of 2013
Download
Zip File : from here 92MB
Using API :
1.Install Kaggle from github
2.Use the command in terminal kaggle competitions download -c challenges-in-representation-learning-facial-expression-recognition-challenge
Docs on Kaggle API usage : github | kaggle
Dependencies
- Python
- Jupyter
- Keras
- Tensorflow
- Matplotlib
- Pandas
- Numpy
- tqdm
Usage
For model1:
- Download the data and unzip it as
FER2013dir. - Clone this repo.
- Add the full path of
fer2013.csvintocell 3ofFER2013-model1.ipynb. - Run the file or use the pretrained model weights.
Using pre-trained weights:
The Layers for the network :
For EDA notebook :
- Change the path to weights folder in
cell3.Images
Testset Accuracy :
Some Images prediction :
EDA confusion Matrix and Scores:
ED Analysis:
HappyEmotion is the most detected, as it has most number of examplesSad,Surprise,NeutralandAngerare also good in detecting due to enough examples.FearandDisgustperform worse, possible reasons : Less training examples and fordisgust: pretty similar toangerfeatures.Sademotions are also closely detected asneutral, cuz its hard to distinguish them with just this much data.