Real-Time Recognition of Three Facial Emotions (“Surprise, Neutral, Happy”) Based on CNN with Augmented Data
- 1 Laboratoire des Sciences, des Technologies de l’Information et de la Communication en Abrégé (LASTIC), Ecole Supérieure Africaine des Technologies de l’Information et de la Communication (ESATIC), Abidjan, Côte d’Ivoire
- 2 Laboratoire des Sciences, des Technologies de l’Information et de la Communication en Abrégé (LASTIC), Ecole Supérieure Africaine des Technologies de l’Information et de la Communication (ESATIC), Abidjan, Côte d’Ivoire
- 3 Laboratoire des Sciences, des Technologies de l’Information et de la Communication en Abrégé (LASTIC), Ecole Supérieure Africaine des Technologies de l’Information et de la Communication (ESATIC), Abidjan, Côte d’Ivoire
- 4 Laboratoire des Sciences, des Technologies de l’Information et de la Communication en Abrégé (LASTIC), Ecole Supérieure Africaine des Technologies de l’Information et de la Communication (ESATIC), Abidjan, Côte d’Ivoire
- 5 Institut National Polytechnique Félix Houphouët-Boigny (INPHB), École Doctorale Polytechnique (EDP)-Sciences et Techniques de l’Ingénieur (STI), Yamoussoukro, Côte d’Ivoire
Abstract
Emotion recognition from facial expressions has become essential for applications such as human-computer collaboration, robot communication, and interactive interfaces [1] . This work proposes a real-time recognition system ( i.e. , the system produces a prediction with a latency low enough for smooth interaction, typically less than 100 ms per image or greater than 10 frames per second) capable of classifying three emotions: surprise, neutrality, and joy from facial images. The model is based on a convolutional neural network (CNN) optimized by data augmentation techniques applied to the FER2013 dataset [2] (Data augmentation was applied only to the training subset, not before distribution). The CNN has three convolutional layers, four fully connected layers, and uses ReLU and Softmax functions. The proposed approach achieves a validation accuracy of 89%, maintains high and balanced recognition rates for each class, and is capable of processing slightly distorted faces ( i.e. , faces with small geometric or photometric variations, such as rotations, translations, scaling changes, or partial expressions) [3] . These results demonstrate the feasibility of fast, robust emotion recognition applicable to real-time interactive scenarios.
- Li, S. and Deng, W. (2022) Deep Facial Expression Recognition: A Survey. IEEE Transactions on Affective Computing , 13, 1195-1215. https://doi.org/10.1109/taffc.2020.2981446
- Goodfellow, I.J., Erhan, D., Luc Carrier, P., Courville, A., Mirza, M., Hamner, B., et al . (2015) Challenges in Representation Learning: A Report on Three Machine Learning Contests. Neural Networks , 64, 59-63. https://doi.org/10.1016/j.neunet.2014.09.005
- Echoukairi, H., El Ghmary, M., Ziani, S. and Ouacha, A. (2023) Improved Methods for Automatic Facial Expression Recognition. International Journal of Interactive Mobile Technologies ( iJIM ), 17, 33-44. https://doi.org/10.3991/ijim.v17i06.37031
- Guo, A. (2025) Enhancing Facial Expression Recognition with Robust CNN Architectures and Adaptive Preprocessing Techniques. Applied and Computational Engineering , 100, 137-145. https://doi.org/10.54254/2755-2721/2025.20426
- Ajitha, V. (2024) CNN-Driven Enhancement in Facial Emotion Recognition Systems. International Journal of Intelligent Systems and Applications in Engineering , 12, 2343-2350. https://ijisae.org/index.php/IJISAE/article/view/6620
- Liu, Y. (2023) The Study of Performance Related to Classical Convolutional Neural Networks in the Field of Facial Emotion Recognition. Applied and Computational Engineering , 8, 470-474. https://doi.org/10.54254/2755-2721/8/20230248
- Xie, Y., Tian, W. and Yu, Z. (2023) Robust Facial Expression Recognition with Transformer Block Enhancement Module. Engineering Applications of Artificial Intelligence , 126, Article ID: 106795. https://doi.org/10.1016/j.engappai.2023.106795
- Goodfellow, I., et al . (2013) Challenges in Representation Learning: Facial Expression Recognition Dataset (FER2013). Neural Networks , 27, 45-55.