https://github.com/sayamalt/facial-expression-recognition
Successfully established a deep learning model which can accurately predict the emotion of a human being based on his/her face.
https://github.com/sayamalt/facial-expression-recognition
computer-vision convolutional-neural-networks facial-expression-recognition opencv
Last synced: 2 months ago
JSON representation
Successfully established a deep learning model which can accurately predict the emotion of a human being based on his/her face.
- Host: GitHub
- URL: https://github.com/sayamalt/facial-expression-recognition
- Owner: SayamAlt
- Created: 2022-08-18T15:35:42.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-13T09:53:47.000Z (over 3 years ago)
- Last Synced: 2025-05-19T08:49:58.858Z (about 1 year ago)
- Topics: computer-vision, convolutional-neural-networks, facial-expression-recognition, opencv
- Language: Jupyter Notebook
- Homepage:
- Size: 243 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Facial-Expression-Recognition



## Context
Facial Emotion Recognition (FER) is the technology that analyses facial expressions from both static images and videos in order to reveal information on one's emotional state. Facial expressions can display personal emotions and indicate an individual's intentions within a social situation. They are extremely important to the social interaction of individuals. Background scenes in which faces are perceived provide important contextual information for facial expression processing.
Facial Emotion Recognition is an AI-based technology that helps to identify human faces in images. It uses facial expressions to identify parts of an image or video to determine age, gender and emotions. This technology can be applied to fields like security, biometrics, law enforcement, etc., for tracking and surveillance purposes.
## Dataset Used
Link: https://www.kaggle.com/datasets/aadityasinghal/facial-expression-dataset
## Content
The dataset consists of train and test sets, with each set containing images belonging to 7 distinct categories of human expression, namely angry, fear, disgust, sad, neutral, surprise and happy. The class "disgust" is the minority class as compared to all other classes.
The data consists of 48x48 pixel grayscale images of faces. The faces have been automatically registered so that the face is more or less centered and occupies about the same amount of space in each image. The task is to categorize each face based on the emotion shown in the facial expression in to one of seven categories (0=Angry, 1=Disgust, 2=Fear, 3=Happy, 4=Sad, 5=Surprise, 6=Neutral).
## Python Libraries Used
- Numpy
- Pandas
- Seaborn
- Matplotlib
- Scikit-learn
- Keras
- Tensorflow
- OpenCV
## Acknowledgements
This dataset was prepared by Pierre-Luc Carrier and Aaron Courville, as part of an ongoing research project. They have graciously provided the workshop organizers with a preliminary version of their dataset.