Features Extraction Improvement for Facial Expression Recognition Using HOG and Machine Learning Techniques
Dhiaa M. Abed1, Awab Qasim Karamanj1, Thura J. Mohammed2 , Saja B. Attallah1,4 ,
Abusnina M. Mukhtar3,4,*
1College of Biomedical Engineering, University of Technology, Baghdad, Iraq
2 School of Computer Sciences, Universiti Sains Malaysia, Pulau Pinang, Malaysia
3 Department of Biomedical Engineering, Alasmarya Islamic University, Libya
4Department of Biomedical Engineering, Universiti Teknologi Malaysia, Johor Bahru, Malaysia
|
Abstract Facial Expression Recognition (FER) is a vital aspect of human-computer interaction with applications in healthcare, education security, and affective computing. Even with the success of deep learning, generalizability, interpretability, and efficiency of most systems, especially in uncontrolled settings, are still problematic. In this study, we propose an enhanced feature extraction technique based on Histograms of Oriented Gradient (HOG) where the central difference operator, not the conventional forward difference, used for gradient estimation. The modification enhances the accuracy of gradients, reduces truncation error, and leads to more stable facial feature descriptors. The enhanced HOG is tested on five popular datasets, CK+, JAFFE, MMI, ExpW, and AffectNet, using three traditional Machine Learning (ML) classifiers: Support Vector Machine (SVM), K-Nearest Neighbors (KNN), and Random Forest (RF). Experimental results indicate uniform accuracy enhancements across all the classifiers and datasets, with improvements spiking to 7%–10% and recall and F1-score also witnessing marked increases. In this study, RF registered the maximum accuracy, 97.94%, on CK+ and 95.48% on AffectNet, hence solidifying its stability and dependability. This study shows how well mathematical optimization works with classical ML for FER. The approach we suggest provides an easy-to-understand, small, and quick alternative to deep models, making it perfect for real-time and resource-limited applications.
|
Emails: Dhiaa.M.Alfyadh@uotechnology.edu.iq; awab.q.abdulrasool@uotechnology.edu.iq; thurajamal@student.usm.my; 060191@uotechnology.edu.iq; m.abosninah@asmarya.edu.ly
Received: April 02, 2025 Revised: June 05, 2025 Accepted: July 29, 2025
Keywords: Facial Expression Recognition; Improved HOG; Central Difference Gradient; Machine Learning; Feature Extraction; Affective Computing