Facial Expression Recognition: Compare the Role of Alignment and Augmentation
Abstract
Facial expression recognition (FER) plays a central role in improving human-computer interaction, but its effectiveness is often compromised by variations in facial appearance caused by factors such as head pose, lighting and occlusion. This study investigates the impact of facial alignment and data augmentation on improving the accuracy of FER. We implemented three preprocessing techniques: face alignment using a 68-point landmark detection model, data augmentation through scaling, rotation, and addition of Gaussian noise, and a combined approach of alignment followed by augmentation. Our experiments used the CK+ dataset and selected images from the EXPW dataset to evaluate model performance in different environments. The results showed that while all models achieved comparable accuracies around 85% on the EXPW dataset, the aligned and augmented model did not significantly outperform the others. In particular, the model's performance in recognising sad expressions improved after augmentation, although facial alignment showed a negligible effect, possibly due to the loss of essential features during the alignment process or its limited advantage in complex environments. Conversely, in the simpler CK+ dataset, all models showed reduced accuracy, particularly in distinguishing between sad and angry expressions. To address the observed limitations, we propose to refine the face matching technique by incorporating deep learning methods, and consider a partial matching approach to mitigate overfitting. Future work will focus on enhancing model training by integrating diverse datasets and improving feature selection mechanisms for critical facial features, which are essential for accurate emotion recognition.
References
- H. -H. Wang and J. -W. Gu, "The Applications of Facial Expression Recognition in Human-computer Interaction, " 2018 IEEE International Conference on Advanced Manufacturing (ICAM), Yunlin, Taiwan, 2018, pp. 288-291, doi: 10.1109/AMCON.2018.8614755.
- Shan Li and Weihong Deng∗ , Member, IEE(2018).Deep Facial Expression Recognition: A Survey.IEEE Transactions on Affective Computing 2020.
- Cootes, T. F., Edwards, G. J., & Taylor, C. J. (2001). Active Appearance Models. IEEE Transactions on Pattern Analysis and Machine Intelligence, 23(6), 681-685.
- Zhu, X., Ramanan, D., & Fowlkes, C. (2012). Face Detection, Pose Estimation, and Landmark Localization in the Wild. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2879-2886.
- Bulat, A., & Tzimiropoulos, G. (2017). How to train your dragon: Learning deformable face alignment via active regression. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 1220-1229.
- Yang, J., Luo, P., & Loy, C. C. (2019). Wider Face: A Face Detection Benchmark. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 5525-5534.
- Shorten, C., & Khoshgoftaar, T. M. (2019). A survey on image data augmentation for deep learning. Journal of Big Data, 6(1), 60.
- Perez, L., & Wang, J. (2017). The effectiveness of data augmentation in image classification using deep learning. arXiv preprint arXiv: 1712.04621.
- Goodfellow, I., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., & Ozair, S. (2014). Generative adversarial nets. In Advances in Neural Information Processing Systems (NeurIPS), 2672-2680.
- Z. Zhang, P. Luo, C. C. Loy, and X. Tang, "From facial expression recognition to interpersonal relation prediction, " arXiv preprint arXiv: 1609.06426, Sep. 2016
- P. Lucey, J. F. Cohn, T. Kanade, J. Saragih, Z. Ambadar, and I. Matthews, "The extended Cohn-Kanade dataset (CK+): A complete dataset for action unit and emotion-specified expression, " in Proc. IEEE Computer Society Conf. Computer Vision and Pattern Recognition Workshops,
- V. Kazemi and J. Sullivan, "One millisecond face alignment with an ensemble of regression trees, " 2014 IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA, 2014, pp. 1867-1874, doi: 10.1109/CVPR.2014.241.keywords: {Shape; Regression tree analysis; Face; Training; Boosting; Training data; Vectors; Face Alignment; Real-Time; Gradient Boosting; Decision Trees},
- GitHub. (2024). FER2013: Facial Expression Recognition using CNN. GitHub repository. Retrieved from https: //github.com/gitshanks/fer2013