An Enhancement of Haar Cascade Algorithm Applied to Face Recognition for Gate Pass Security

Clarence A. Antipona,Romeo R. Magsino,Raymund M. Dioses,Khatalyn E. Mata
2024-11-06
Abstract:This study is focused on enhancing the Haar Cascade Algorithm to decrease the false positive and false negative rate in face matching and face detection to increase the accuracy rate even under challenging conditions. The face recognition library was implemented with Haar Cascade Algorithm in which the 128-dimensional vectors representing the unique features of a face are encoded. A subprocess was applied where the grayscale image from Haar Cascade was converted to RGB to improve the face encoding. Logical process and face filtering are also used to decrease non-face detection. The Enhanced Haar Cascade Algorithm produced a 98.39% accuracy rate (21.39% increase), 63.59% precision rate, 98.30% recall rate, and 72.23% in F1 Score. In comparison, the Haar Cascade Algorithm achieved a 46.70% to 77.00% accuracy rate, 44.15% precision rate, 98.61% recall rate, and 47.01% in F1 Score. Both algorithms used the Confusion Matrix Test with 301,950 comparisons using the same dataset of 550 images. The 98.39% accuracy rate shows a significant decrease in false positive and false negative rates in facial recognition. Face matching and face detection are more accurate in images with complex backgrounds, lighting variations, and occlusions, or even those with similar attributes.
Computer Vision and Pattern Recognition
What problem does this paper attempt to address?
The problem that this paper attempts to solve is to improve the accuracy of face recognition in access control security, especially to reduce the false positive rate and false negative rate under challenging conditions such as complex backgrounds, illumination changes and occlusions. Specifically, the authors aim to improve the accuracy of face matching and detection by enhancing the Haar Cascade algorithm. When dealing with images under these conditions, the traditional Haar Cascade algorithm may have a relatively high false positive rate and false negative rate, thus affecting the overall performance of the system. Therefore, this paper proposes an enhanced Haar Cascade algorithm that combines 128 - dimensional face coding, RGB conversion and logical processing to improve the accuracy and reliability of face recognition. Through this series of improvement measures, researchers hope to achieve more accurate face recognition under various conditions, thereby enhancing the security of access control systems, preventing unauthorized access, and ensuring personal safety.