Facial recognition is a critical technology in digital security, driven by significant advances in computer vision. This research focuses on optimizing the Viola-Jones algorithm to improve the accuracy and speed of face detection by adjusting parameters and integrating more sophisticated image processing techniques. Facing challenges such as suboptimal lighting and variations in face orientation, the study adopted a rigorous experimental design, in-depth quantitative analysis, and robust model validation. Of the ten facial images collected, all were intensively processed using Haar-like features to identify significant patterns and adjust algorithm parameters in Python. This optimization process increased performance from 7 identified faces to 9 post-optimization identified faces and a substantial decrease in detection time from 0.0065 seconds to 0.0017 seconds per image. The comprehensive evaluation showed an increase in accuracy from 70% to 90%, recall from 70.0% to 90.0%, Precision remained constant at 100.0%, and F1-score from 82.35% to 94.74%. These results show that the optimization has increased the algorithm's sensitivity to changes in light intensity and face orientation and improved the effectiveness of facial recognition systems in complex and dynamic security scenarios while providing concrete evidence of the benefits of using Haar-like features in the Viola-Jones algorithm
Copyrights © 2024