journal article·2022-08-24Open access

Feature Extraction with Handcrafted Methods and Convolutional Neural Networks for Facial Emotion Recognition

Eleni Tsalera, Andreas Papadakis, Maria Samarakou, Ioannis Voyiatzis

Applied Sciences· Volume 12· Issue 17

Abstract

This research compares the facial expression recognition accuracy achieved using image features extracted (a) manually through handcrafted methods and (b) automatically through convolutional neural networks (CNNs) from different depths, with and without retraining. The Karolinska Directed Emotional Faces, Japanese Female Facial Expression, and Radboud Faces Database databases have been used, which differ in image number and characteristics. Local binary patterns and histogram of oriented gradients have been selected as handcrafted methods and the features extracted are examined in terms of image and cell size. Five CNNs have been used, including three from the residual architecture of increasing depth, Inception_v3, and EfficientNet-B0. The CNN-based features are extracted from the pre-trained networks from the 25%, 50%, 75%, and 100% of their depths and, after their retraining on the new databases. Each method is also evaluated in terms of calculation time. CNN-based feature extraction has proved to be more efficient since the classification results are superior and the computational time is shorter. The best performance is achieved when the features are extracted from shallower layers of pre-trained CNNs (50% or 75% of their depth), achieving high accuracy results with shorter computational time. CNN retraining is, in principle, beneficial in terms of classification accuracy, mainly for the larger databases by an average of 8%, also increasing the computational time by an average of 70%. Its contribution in terms of classification accuracy is minimal when applied in smaller databases. Finally, the effect of two types of noise on the models is examined, with ResNet50 appearing to be the most robust to noise.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Face and Expression Recognition · Face recognition and analysis · Advanced Image and Video Retrieval Techniques

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

Affiliations

Department of Informatics and Computer Engineering, School of Engineering, University of West Attica, 11521 Athens, Greece

Department of Electrical and Electronic Engineering Educators, School of Pedagogical and Technological Education (ASPETE), 15122 Athens, Greece

References (51)

Show source-provided references
1. Affective Computing for HCI
2. Review of automated emotion-based quantification of facial expression in Parkinson’s patients10.1007/s00371-020-01859-9 ↗
3. Facial expressions recognition and discrimination in Parkinson’s disease10.1111/jnp.12209 ↗
4. Dhuheir, M., Albaseer, A., Baccour, E., Erbad, A., Abdallah, M., and Hamdi, M. (July, January 28). Emotion recognition for healthcare surveillance systems using neural networks: A survey. Proceedings of the 2021 International Wireless Communications and Mobile Computing (IWCMC), Harbin City, China.10.1109/IWCMC51323.2021.9498861 ↗
5. iSecureHome: A deep fusion framework for surveillance of smart homes using real-time emotion recognition10.1016/j.asoc.2022.108788 ↗
6. A convolution bidirectional long short-term memory neural network for driver emotion recognition10.1109/TITS.2020.3007357 ↗
7. Facial action coding system
8. Harris, C., and Stephens, M. (September, January 31). A Combined Corner and Edge Detector. Proceedings of the 4th Alvey Vision Conference, Manchester, UK.
9. Distinctive Image Features from Scale-Invariant Keypoints10.1023/B:VISI.0000029664.99615.94 ↗
10. Rosten, E., and Drummond, T. (2005, January 17–21). Fusing Points and Lines for High Performance Tracking. Proceedings of the IEEE International Conference on Computer Vision, Beijing, China.10.1109/ICCV.2005.104 ↗
11. SURF: Speeded Up Robust Features10.1016/j.cviu.2007.09.014 ↗
12. Calonder, M., Lepetit, V., Strecha, C., and Fua, P. (2010, January 5–11). BRIEF: Binary Robust Independent Elementary Features. Proceedings of the 11th European Conference on Computer Vision (ECCV), Heraklion, Crete, Greece.10.1007/978-3-642-15561-1_56 ↗
13. Rublee, E., Rabaud, V., Konolige, K., and Bradski, G. (2011, January 6–13). ORB: An Efficient Alternative to SIFT or SURF. Proceedings of the 2011 International Conference on Computer Vision, Barcelona, Spain.10.1109/ICCV.2011.6126544 ↗
14. KAZE Features
15. A comparative study of texture measures with classification based on featured distributions10.1016/0031-3203(95)00067-4 ↗
16. Dalal, N., and Triggs, B. (2005, January 20–25). Histograms of oriented gradients for human detection. Proceedings of the Computer Society Conference on Computer Vision and Pattern Recognition (CVPR), San Diego, CA, USA.
17. Tareen, S.A.K., and Saleem, Z. (2018, January 3–4). A comparative analysis of sift, surf, kaze, akaze, orb, and brisk. Proceedings of the International Conference on Computing, Mathematics and Engineering Technologies (iCoMET), Sukkur, Pakistan.10.1109/ICOMET.2018.8346440 ↗
18. Alhindi, T.J., Kalra, S., Ng, K.H., Afrin, A., and Tizhoosh, H.R. (2018, January 8–13). Comparing LBP, HOG and deep features for classification of histopathology images. Proceedings of the International Joint Conference on Neural Networks (IJCNN), Rio de Janeiro, Brazil.10.1109/IJCNN.2018.8489329 ↗
19. Alshazly, H., Linse, C., Barth, E., and Martinetz, T. (2019). Handcrafted versus CNN features for ear recognition. Symmetry, 11.10.3390/sym11121493 ↗
20. Comparison of handcrafted features and convolutional neural networks for liver MR image adequacy assessment10.1038/s41598-020-77264-y ↗
21. Handcrafted vs. non-handcrafted features for computer vision classification10.1016/j.patcog.2017.05.025 ↗
22. Zare, M.R., Alebiosu, D.O., and Lee, S.L. (2018, January 26–28). Comparison of handcrafted features and deep learning in classification of medical X-ray images. Proceedings of the Fourth International Conference on Information Retrieval and Knowledge Management (CAMP), Le Méridien Kota Kinabalu, Sabah, Malaysia.10.1109/INFRKM.2018.8464688 ↗
23. A comparative study on handcrafted features v/s deep features for open-set fingerprint liveness detection10.1016/j.patrec.2021.03.032 ↗
24. Multimodal emotion recognition using deep learning10.38094/jastt20291 ↗
25. Local learning with deep and handcrafted features for facial expression recognition10.1109/ACCESS.2019.2917266 ↗
26. Facial expression recognition via ResNet-50
27. A face emotion recognition method using convolutional neural network and image edge computing10.1109/ACCESS.2019.2949741 ↗
28. Ahmed, T.U., Hossain, S., Hossain, M.S., ul Islam, R., and Andersson, K. (June, January 30). Facial expression recognition using convolutional neural network with data augmentation. Proceedings of the Joint 8th International Conference on Informatics, Electronics & Vision (ICIEV) and 3rd International Conference on Imaging, Vision & Pattern Recognition (icIVPR), Spokane, WA, USA.
29. Facial Emotion Recognition Using Asymmetric Pyramidal Networks With Gradient Centralization10.1109/ACCESS.2021.3075389 ↗
30. Facial expression recognition with convolutional neural networks via a new face cropping and rotation strategy10.1007/s00371-019-01627-4 ↗
31. Lundqvist, D., Flykt, A., and Öhman, A. (1998). The Karolinska Directed Emotional Faces—KDEF [CD-ROM], Department of Clinical Neuroscience, Psychology section, Karolinska Institutet.10.1037/t27732-000 ↗
32. Lyons, M.J., Kamachi, M., and Gyoba, J. (2020). Coding facial expressions with Gabor wavelets. arXiv.
33. Presentation and validation of the Radboud Faces Database10.1080/02699930903485076 ↗
34. Adouani, A., Henia, W.M.B., and Lachiri, Z. (2019, January 21–24). Comparison of Haar-like, HOG and LBP approaches for face detection in video sequences. Proceedings of the 16th International Multi-Conference on Systems, Signals & Devices (SSD), Istanbul, Turkey.10.1109/SSD.2019.8893214 ↗
35. A novel face recognition method based on fusion of LBP and HOG10.1049/ipr2.12192 ↗
36. Smart face identification via improved LBP and HOG features10.1002/itl2.229 ↗
37. Multiresolution gray-scale and rotation invariant texture classification with local binary patterns10.1109/TPAMI.2002.1017623 ↗
38. He, K., Zhang, X., Ren, S., and Sun, J. (July, January 26). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.
39. Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J., and Wojna, Z. (July, January 26). Rethinking the inception architecture for computer vision. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.
40. Tan, M., and Le, Q. (2019;, January 9–15). Efficientnet: Rethinking model scaling for convolutional neural networks. Proceedings of the 36th International Conference on Machine Learning, Long Beach, CA, USA.
41. Novel principal component analysis-based feature selection mechanism for classroom sound classification10.1111/coin.12468 ↗
42. Thanh Noi, P., and Kappas, M. (2017). Comparison of random forest, k-nearest neighbor, and support vector machine classifiers for land cover classification using Sentinel-2 imagery. Sensors, 18.10.3390/s18010018 ↗
43. Support-vector networks10.1007/BF00994018 ↗
44. Tsalera, E., Papadakis, A., and Samarakou, M. (2021). Comparison of Pre-Trained CNNs for Audio Classification Using Transfer Learning. J. Sens. Actuator Netw., 10.10.3390/jsan10040072 ↗
45. Zhou, P., Feng, J., Ma, C., Xiong, C., and Hoi, S. (2020). Towards theoretically understanding why sgd generalizes better than adam in deep learning. arXiv.
46. Kumain, S.C., Singh, M., Singh, N., and Kumar, K. (2018, January 15–17). An efficient Gaussian noise reduction technique for noisy images using optimized filter approach. Proceedings of the First International Conference on Secure Cyber Computing and Communication (ICSCCC), Jalandhar, India.10.1109/ICSCCC.2018.8703305 ↗
47. A salt and pepper noise image denoising method based on the generative classification10.1007/s11042-018-6732-8 ↗
48. Denoising images corrupted with impulse, Gaussian, or a mixture of impulse and Gaussian noise
49. Karahan, S., Yildirum, M.K., Kirtac, K., Rende, F.S., Butun, G., and Ekenel, H.K. (2016, January 21–23). How image degradations affect deep CNN-based face recognition?. Proceedings of the International Conference of the Biometrics Special Interest Group (BIOSIG), Darmstadt, Germany.10.1109/BIOSIG.2016.7736924 ↗
50. Ziyadinov, V., and Tereshonok, M. (2022). Noise immunity and robustness study of image recognition using a convolutional neural network. Sensors, 22.10.3390/s22031241 ↗
51. A comprehensive study on robustness of HOG and LBP towards image distortions10.1088/1742-6596/1325/1/012012 ↗