Emotion Detection πŸ˜ πŸ€’πŸ˜±πŸ˜‡πŸ˜β˜ΉοΈπŸ˜² CNN using keras

Mayank Choudhary - Aug 21 '21 - - Dev Community

We will use 7 emotions namely - We have use 7 emotions namely - 'Angry'😠, 'Disgust'🀒, 'Fear'😱, 'Happy'πŸ˜‡, 'Neutral'😐, 'Sad'☹️, 'Surprise'😲 to train and test(validation) our algorithm using Convolution Neural Networks. You can directly use kaggle kernel notebook, so that you don't need to download the dataset. Also, you can download your code and run it in your local device directly.
Kaggle notebook - https://www.kaggle.com/mayank7900/notebook0a0917a828/edit

Tools and Libraries used -

  • Install anaconda
  • Jupyter notebook
  • VSCode
  • matplotlib
  • numpy
  • openCV
  • keras

Given dataset of different expressions:

https://www.kaggle.com/jonathanoheix/face-expression-recognition-dataset
Screenshot (249)

Screenshot of some angry expressions from the dataset on kaggle:
image

Screenshot (257)

Emotion Detection β€” Classifying the emotion on the face as emotion_labels = ['Angry','Disgust','Fear','Happy','Neutral', 'Sad', 'Surprise']
Screenshot (256)
Screenshot (254)

. . . . . . . . . . . . . . . . . . .
Terabox Video Player