This project implements a deep learning model to classify facial expressions into distinct emotion categories. Utilizing the Facial Expression Recognition (FER) Challenge dataset, the model processes 48x48 pixel grayscale images to identify emotions such as happiness, sadness, anger, and more.
- Source: Facial Expression Recognition (FER) Challenge Dataset
- Description: The dataset comprises grayscale images of faces, each sized at 48x48 pixels. The faces are centered and aligned, facilitating consistent input for the model. Each image is labeled with one of several emotion categories.
Develop a convolutional neural network (CNN) model capable of accurately classifying facial expressions into predefined emotion categories based on visual features extracted from the images.
- Normalization of pixel values to enhance model performance.
- One-hot encoding of emotion labels for multiclass classification.
- Splitting the dataset into training and validation sets to evaluate model generalization.
- Construction of a CNN with multiple convolutional and pooling layers to extract hierarchical features from the images.
- Incorporation of dropout layers to mitigate overfitting.
- Use of dense layers culminating in a softmax activation function to output probability distributions over emotion classes.
- Compilation of the model with categorical cross-entropy loss and an appropriate optimizer (e.g., Adam).
- Training over multiple epochs with batch processing.
- Monitoring of training and validation accuracy and loss to assess learning progress.
- Assessment of model performance on the validation set using accuracy and loss metrics.
- Visualization of training history to identify potential overfitting or underfitting.
- Generation of confusion matrices to analyze misclassifications.
- Python 3
- TensorFlow/Keras
- NumPy
- Matplotlib
- Pandas
- Scikit-learn
- Integration of real-time emotion detection using webcam input.
- Enhancement of model accuracy through data augmentation techniques.
- Deployment of the model as a web application for broader accessibility.
- Facial Expression Recognition (FER) Challenge Dataset
- TensorFlow and Keras for providing robust deep learning frameworks.