[Paper Review] Facial Emotions Recognition using Convolutional Neural Net
This paper proposes a convolutional neural network (CNN)-based system for recognizing seven basic facial emotions—angry, disgust, fear, happy, sad, surprise, and neutral—using preprocessed images from the JAFFE and KDEF datasets. By applying data augmentation and a three-convolutional-layer architecture with dropout, the model achieves 78.1% accuracy on a combined dataset, with a real-time GUI application for live emotion classification.
Facial expressions vary from person to person, and the brightness, contrast, and resolution of every random image are different. This is why recognizing facial expressions is very difficult. This article proposes an efficient system for facial emotion recognition for the seven basic human emotions (angry, disgust, fear, happy, sad, surprise, and neutral), using a convolution neural network (CNN), which predicts and assigns probabilities to each emotion. Since deep learning models learn from data, thus, our proposed system processes each image with various pre-processing steps for better prediction. Every image was first passed through the face detection algorithm to include in the training dataset. As CNN requires a large amount of data, we duplicated our data using various filters on each image. Pre-processed images of size 80*100 are passed as input to the first layer of CNN. Three convolutional layers were used, followed by a pooling layer and three dense layers. The dropout rate for the dense layer was 20%. The model was trained by combining two publicly available datasets, JAFFE and KDEF. 90% of the data was used for training, while 10% was used for testing. We achieved maximum accuracy of 78.1 % using the combined dataset. Moreover, we designed an application of the proposed system with a graphical user interface that classifies emotions in real-time.
Motivation & Objective
- To develop an accurate and robust facial emotion recognition system for seven basic human emotions.
- To address variability in facial expressions, lighting, and image quality through comprehensive image pre-processing.
- To improve model generalization by combining and augmenting data from the JAFFE and KDEF datasets.
- To implement a real-time emotion classification application with a graphical user interface.
- To evaluate the performance of a CNN-based model on a diverse, pre-processed facial image dataset.
Proposed method
- Face detection was applied to extract facial regions before feeding images into the CNN.
- Images were pre-processed and augmented using filters to increase training data diversity and improve model robustness.
- A CNN architecture with three convolutional layers, max-pooling, and three fully connected dense layers was used.
- A dropout rate of 20% was applied to the dense layers to reduce overfitting.
- The model was trained on 90% of the combined JAFFE and KDEF dataset and tested on 10%.
- A real-time GUI application was developed to classify emotions from live video input using the trained model.
Experimental results
Research questions
- RQ1Can a CNN effectively recognize seven basic facial emotions under varying image conditions such as lighting and resolution?
- RQ2How does data augmentation impact the performance of a CNN in facial emotion recognition tasks?
- RQ3What level of accuracy can be achieved by combining the JAFFE and KDEF datasets using a custom CNN architecture?
- RQ4Can a trained CNN model be effectively deployed in a real-time GUI application for live emotion classification?
- RQ5How does dropout regularization influence the generalization of the emotion recognition model?
Key findings
- The proposed CNN model achieved a maximum accuracy of 78.1% on the combined JAFFE and KDEF dataset.
- Data augmentation through filtering significantly improved model robustness and generalization across diverse image conditions.
- The inclusion of dropout with a 20% rate helped reduce overfitting and improved model stability.
- The system successfully implemented a real-time emotion classification application with a functional graphical user interface.
- Face detection preprocessing enhanced the relevance of input data by focusing on facial regions only.
- The model demonstrated consistent performance across the seven target emotions, though accuracy varied slightly per class.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.