Face Emotion Recognition
Face Emotion Recognition
Batch Members
Binay Mohanty(7205788754)
Brajeswari Kabisatpathhy(6370921557)
Soumyanshu Sahoo(9090625821)
Sitanshu Malik(7609856178)
Subhrakanta Khandai(8260994314)
MOTIVATION & OBJECTIVE
MOTIVATION:
Enhance human-computer interaction.
Use facial emotion analysis in areas like mental health, marketing, and
entertainment.
Improve communication between humans and AI-powered systems by
enabling machines to recognize and respond to emotions.
OBJECTIVE:
Build a model to classify emotions into six categories: Ahegao, Angry,
Happy, Neutral, Sad, and Surprise.
Develop a deep learning-based system with high accuracy in recognizing
facial emotions under varying conditions (lighting, angle, etc.).
Importance:
Improves human-computer interaction.
Applications in healthcare, security, and customer service.
Creates personalized and adaptive experiences in applications like
gaming, virtual assistants, and e-learning platforms.
Dataset Details:
Classes: Ahegao , Angry, Happy, Neutral, Sad, Surprise.
Size: 15,453 images resized to 128x128 pixels.
Datasets are collected from Kaggle.
Preprocessing:
Image resizing and augmentation (rotation, shifting, flipping).
One-hot encoding for labels.
2. Data Collection:
The dataset is organized into folders, where each folder corresponds to one emotion
category.
Images are collected in various formats like .jpg and .png.
3. Preprocessing:
Image Resizing: All images are resized to 128x128 pixels for consistency in input dimensions.
Filtering: Only images with the required dimensions (128x128x3 for RGB) are
included.
One-Hot Encoding: Each emotion category is converted into a one-hot encoded label for
classification:
Ahegao → [1, 0, 0, 0, 0, 0]
Angry → [0, 1, 0, 0, 0, 0]
Happy → [0, 0, 1, 0, 0, 0]
Neutral → [0, 0, 0, 1, 0, 0]
Sad → [0, 0, 0, 0, 1, 0]
Surprise → [0, 0, 0, 0, 0, 1]
4. Data Augmentation:
To improve generalization and handle limited data, the ImageDataGenerator is used for
augmentation:
Rotation: Up to 10 degrees.
Width/Height Shift: Up to 10% of the image.
Horizontal Flip: Randomly flips the images.
Loss: 0.8504
Accuracy: 0.8412
Test Accuracy: 0.8411
HARDWARE SPECIFICATION:
RAM : 8 GB
HARD DISK : 256 GB SSD
PROCESSOR : Intel i5
SOFTWARE SPECIFICATION:
SOFTWARE TOOLS : Python 3.9, Google Colab
PROGRAMMING LANGUAGE: Python
USED LIBRARY1 : Seaborn
USED LIBRARY2 : Matplotlib
USED LIBRARY3 : TensorFlow/Keras
USED LIBRARY4 : Pillow, Numpy, Scikit-Learn
Foundation For Innovation and Technology Transfer, IIT,
Delhi
12
CONCLUSION
https://www.deeplearningbook.org
https://www.kaggle.com/datasets/msambare/fer2013
https://papers.nips.cc/paper/2012/hash/6c1a3d57be94c8db9f0b68210d89fe21-
Abstract.html
https://link.springer.com/chapter/10.1007/978-981-13-2513-0_20
https://link.springer.com/article/10.1007/s12193-015-0186-2
https://ieeexplore.ieee.org/document/7410701
https://keras.io/