journal article·2023-04-30Open access

Hybrid Facial Emotion Recognition Using CNN-Based Features

H. M. Shahzad, Sohail Masood Bhatti, Arfan Jaffar, Sheeraz Akram, Mousa Alhajlah, Awais Mahmood

Applied Sciences· Volume 13· Issue 9

Abstract

In computer vision, the convolutional neural network (CNN) is a very popular model used for emotion recognition. It has been successfully applied to detect various objects in digital images with remarkable accuracy. In this paper, we extracted learned features from a pre-trained CNN and evaluated different machine learning (ML) algorithms to perform classification. Our research looks at the impact of replacing the standard SoftMax classifier with other ML algorithms by applying them to the FC6, FC7, and FC8 layers of Deep Convolutional Neural Networks (DCNNs). Experiments were conducted on two well-known CNN architectures, AlexNet and VGG-16, using a dataset of masked facial expressions (MLF-W-FER dataset). The results of our experiments demonstrate that Support Vector Machine (SVM) and Ensemble classifiers outperform the SoftMax classifier on both AlexNet and VGG-16 architectures. These algorithms were able to achieve improved accuracy of between 7% and 9% on each layer, suggesting that replacing the classifier in each layer of a DCNN with SVM or ensemble classifiers can be an efficient method for enhancing image classification performance. Overall, our research demonstrates the potential for combining the strengths of CNNs and other machine learning (ML) algorithms to achieve better results in emotion recognition tasks. By extracting learned features from pre-trained CNNs and applying a variety of classifiers, we provide a framework for investigating alternative methods to improve the accuracy of image classification.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Emotion and Mood Recognition · Face and Expression Recognition · Brain Tumor Detection and Classification

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Faculty of Computer Science and Information Technology, The Superior University, Lahore 54000, Pakistan

Intelligent Data Visual Computing Research (IDVCR), Lahore 54000, Pakistan

Information Systems Department, College of Computer and Information Sciences, Imam Mohammad Ibn Saud Islamic University (IMSIU), Riyadh 12571, Saudi Arabia

Computer Science and Information Systems Department, Applied Computer Science College, King Saud University, Riyadh 12571, Saudi Arabia

Funding

King Saud University

References (47)

Show source-provided references
1. Leo, M., Carcagnì, P., Mazzeo, P.L., Spagnolo, P., Cazzato, D., and Distante, C. (2020). Analysis of facial information for healthcare applications: A survey on computer vision-based approaches. Information, 11.10.3390/info11030128 ↗
2. Pal, S., Mukhopadhyay, S., and Suryadevara, N. (2021). Development and progress in sensors and technologies for human emotion recognition. Sensors, 21.10.3390/s21165554 ↗
3. Ad-corre: Adaptive correlation-based loss for facial expression recognition in the wild10.1109/ACCESS.2022.3156598 ↗
4. Minaee, S., Liang, X., and Yan, S. (2022). Modern Augmented Reality: Applications, Trends, and Future Directions. arXiv.
5. Ko, B.C. (2018). A brief review of facial emotion recognition based on visual information. Sensors, 18.10.3390/s18020401 ↗
6. The implications of face masks for babies and families during the COVID-19 pandemic: A discussion paper10.1016/j.jnn.2020.10.005 ↗
7. Unmasking the difficulty of listening to talkers with masks: Lessons from the COVID-19 pandemic
8. Effect of face masks on interpersonal communication during the COVID-19 pandemic10.3389/fpubh.2020.582191 ↗
9. Grahlow, M., Rupp, C.I., and Derntl, B. (2020). The impact of face masks on emotion recognition performance and perception of threat. PLoS ONE, 17.10.31234/osf.io/6msz8 ↗
10. Grundmann, F., Epstude, K., and Scheibe, S. (2021). Face masks reduce emotion-recognition accuracy and perceived closeness. PLoS ONE, 16.10.1371/journal.pone.0249792 ↗
11. Deep learning: A comprehensive overview on techniques, taxonomy, applications and research directions10.1007/s42979-021-00815-1 ↗
12. A novel spontaneous facial expression recognition using dynamically weighted majority voting based ensemble classifier10.1007/s11042-018-5806-y ↗
13. Dirt and mud detection and diagnosis on a wind turbine blade employing guided waves and supervised learning classifiers10.1016/j.ress.2018.02.013 ↗
14. Kim, J.H., Poulose, A., and Han, D.S. (2021). The extensive usage of the facial image threshing machine for facial emotion recognition performance. Sensors, 21.10.3390/s21062026 ↗
15. A survey on facial emotion recognition techniques: A state-of-the-art literature review10.1016/j.ins.2021.10.005 ↗
16. Tian, C., Ma, J., Zhang, C., and Zhan, P. (2018). A deep neural network model for short-term load forecast based on long short-term memory network and convolutional neural network. Energies, 11.10.3390/en11123493 ↗
17. Bouktif, S., Fiaz, A., Ouni, A., and Serhani, M.A. (2020). Multi-sequence LSTM-RNN deep learning and metaheuristics for electric load forecasting. Energies, 13.10.3390/en13020391 ↗
18. Understanding Deep Learning Techniques for Recognition of Human Emotions using Facial Expressions: A Comprehensive Survey10.1109/TIM.2023.3243661 ↗
19. Image denoising using complex-valued deep CNN10.1016/j.patcog.2020.107639 ↗
20. Image classification based on CNN: A survey
21. Deep transfer learning based classification model for COVID-19 disease10.1016/j.irbm.2020.05.003 ↗
22. Liu, M., Li, B., and Zhang, W. (2022). Research on Small Acceptance Domain Text Detection Algorithm Based on Attention Mechanism and Hybrid Feature Pyramid. Electronics, 11.10.3390/electronics11213559 ↗
23. Zaman, K., Sun, Z., Shah, S.M., Shoaib, M., Pei, L., and Hussain, A. (2022). Driver Emotions Recognition Based on Improved Faster R-CNN and Neural Architectural Search Network. Symmetry, 14.10.3390/sym14040687 ↗
24. Real time violence detection in surveillance videos using Convolutional Neural Networks10.1007/s11042-022-13169-4 ↗
25. Transfer learning using vgg-16 with deep convolutional neural network for classifying images10.29322/IJSRP.9.10.2019.p9420 ↗
26. Refining Parkinson’s neurological disorder identification through deep transfer learning10.1007/s00521-019-04069-0 ↗
27. Ejaz, M.S., Islam, M.R., Sifatullah, M., and Sarker, A. (2019, January 3–5). Implementation of principal component analysis on masked and non-masked face recognition. Proceedings of the 2019 1st International Conference on Advances in Science, Engineering and Robotics Technology (ICASERT), Dhaka, Bangladesh.10.1109/ICASERT.2019.8934543 ↗
28. Genç, Ç., Colley, A., Löchtefeld, M., and Häkkilä, J. (2020, January 4). Face mask design to mitigate facial expression occlusion. Proceedings of the 2020 ACM International Symposium on Wearable Computers, Virtual Event.10.1145/3410531.3414303 ↗
29. Peng, P., Zhao, X., Pan, X., and Ye, W. (2018). Gas classification using deep convolutional neural networks. Sensors, 18.10.3390/s18010157 ↗
30. Deep learning based mathematical model for feature extraction to detect corona virus disease using chest x-ray images10.1142/S0218488521500410 ↗
31. Jaworek-Korjakowska, J., Kleczek, P., and Gorgon, M. (2019, January 16–17). Melanoma thickness prediction based on convolutional neural network with VGG-19 model transfer learning. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, Long Beach, CA, USA.10.1109/CVPRW.2019.00333 ↗
32. Caron, M., Bojanowski, P., Joulin, A., and Douze, M. (2018, January 8–14). Deep clustering for unsupervised learning of visual features. Proceedings of the European conference on computer vision (ECCV), Munich, Germany.10.1007/978-3-030-01264-9_9 ↗
33. Transfer learning using computational intelligence: A survey10.1016/j.knosys.2015.01.010 ↗
34. Breast cancer detection on histopathological images using a composite dilated Backbone Network10.1155/2022/8517706 ↗
35. Deep convolutional neural network VGG-16 model for differential diagnosing of papillary thyroid carcinomas in cytological images: A pilot study10.7150/jca.28769 ↗
36. Samir, S., Emary, E., El-Sayed, K., and Onsi, H. (2020). Optimization of a pre-trained AlexNet model for detecting and localizing image forgeries. Information, 11.10.3390/info11050275 ↗
37. Feature extraction using traditional image processing and convolutional neural network methods to classify white blood cells: A study10.1007/s13246-019-00742-9 ↗
38. Gender and region detection from human voice using the three-layer feature extraction method with 1D CNN
39. A comparative study of training algorithms for supervised machine learning
40. Performance analysis of machine learning algorithms in intrusion detection system: A review10.1016/j.procs.2020.04.133 ↗
41. What is machine learning? A primer for the epidemiologist
42. Kang, S. (2021). K-nearest neighbor learning with graph neural networks. Mathematics, 9.10.3390/math9080830 ↗
43. An intelligent prediction system for educational data mining based on ensemble and filtering approaches10.1016/j.procs.2020.03.358 ↗
44. Wang, C., Fang, H., Zhong, Y., and Deng, W. (2022, January 11–13). Mlfw: A database for face recognition on masked faces. Proceedings of the Biometric Recognition: 16th Chinese Conference, CCBR 2022, Beijing, China.10.1007/978-3-031-20233-9_18 ↗
45. The design of dynamic ensemble selection strategy for the error-correcting output codes family10.1016/j.ins.2021.04.038 ↗
46. Yang, B., Wu, J., and Hattori, G. (2020, January 22). Facial expression recognition with the advent of face masks. Proceedings of the 19th International Conference on Mobile and Ubiquitous Multimedia, Essen, Germany.10.1145/3428361.3432075 ↗
47. A Multi-Modal Deep Learning Approach for Emotion Recognition10.32604/iasc.2023.032525 ↗