This project inteds at classifying face images based on emotions. There are 7 categories namely
- Happy
- Sad
- Angry
- Disgust
- Neutral
- Surprise
- Fear
We have used a CNN which trains on fer2013
dataset. Link to the dataset is here.
- Clone the repository using the following command.
git clone https://github.com/shashankp28/soi-hardly-human-2022.git
- Next install the required libraries.
pip install -r requirements.txt
- Download all 3 models from google drive using this link.
- Copy these models into the
model
folder.
- SOI_HH_Augmentaion:
You need to have the dataset with training and testing folders named asdata
. On running it performs necessary data sampling. - SOI_HH_Training:
Here you can see the model description, code to train the model and training logs. - SOI_HH_Metric:
Gives the evaluated accuracy for training and testing samples. - SOI_HH_Camera:
Opens webcam, detects face and shows current emotion. - SOI_HH_Submission:
Used to replicate the submission.csv.example.csv
andEMOTOR_TEST
folder need to be present inside the repository.