Comparison of Multi-Face Detection Performance on Images Using Haarcascade, Dlib, and RetinaFace
DOI:
https://doi.org/10.56741/jnest.v4i03.1134Keywords:
Multi-Face Detection, Performance Comparison, Haarcascade, Dlib, RetinaFaceAbstract
Multi-face detection presents a significant challenge in computer vision, especially in environments with limited hardware resources. This study compares the performance of three multi-face detection methods—Haarcascade, Dlib (HOG and CNN), and RetinaFace—using a subset of the WIDER FACE dataset in a CPU-only environment without GPU acceleration. The experiment was conducted in two stages using a total of 300 images from the WIDER FACE dataset, which reflect real-world variations such as pose, scale, illumination, expression, and occlusion. Performance evaluation was carried out using precision, recall, F1-score, accuracy, and processing time as metrics. The results show that RetinaFace consistently outperforms the other methods, achieving superior metrics in Recall (0.92), F1-score (0.93), and Accuracy (0.88) on Subset A, and leading across all metrics on Subset B. While Dlib-CNN demonstrates high detection performance, it suffers from very slow processing time. In contrast, Haarcascade delivers the fastest processing speed but performs poorly in terms of evaluation metrics. The experiments also reveal that RetinaFace is the most consistent and reliable method based on standard deviation values of precision (0.01), recall (0.11), F1-score (0.07), and accuracy (0.11). Overall, this study contributes valuable insights for selecting efficient face detection methods under constrained resource conditions.
Downloads
References
S. Shinde, “Face Recognition Based Attendance System,” Int J Res Appl Sci Eng Technol, vol. 12, no. 4, pp. 3911–3918, Apr. 2024, doi: 10.22214/ijraset.2024.60784. DOI: https://doi.org/10.22214/ijraset.2024.60784
S. Saputra, M. Akbar, and H. Hikmatiar, “Graphical User Interface (GUI) for Face Detection Using Viola-Jones Algorithm,” Bincang Sains dan Teknologi, vol. 4, no. 01, pp. 1–9, Jan. 2025, doi: 10.56741/bst.v4i01.768. DOI: https://doi.org/10.56741/bst.v4i01.768
S. Kanagamalliga, B. B. S. Krishna, R. Abishek, and S. Rajalingam, “Survey and Analysis of Real-Time Face Detection Techniques in Video Scenes: Current Advancements and Future Prospects,” in 2023 Second International Conference on Advances in Computational Intelligence and Communication (ICACIC), IEEE, Dec. 2023, pp. 1–5. doi: 10.1109/ICACIC59454.2023.10435279. DOI: https://doi.org/10.1109/ICACIC59454.2023.10435279
S. R. Dubey and S. Mukherjee, “A Multi-Face Challenging Dataset for Robust Face Recognition,” in 2018 15th International Conference on Control, Automation, Robotics and Vision (ICARCV), IEEE, Nov. 2018, pp. 168–173. doi: 10.1109/ICARCV.2018.8581283. DOI: https://doi.org/10.1109/ICARCV.2018.8581283
H.-Y. Kim, H.-J. Lee, and S.-G. Lee, “Face Representation Based on Non-Alpha Weberface and Histogram Equalization for Face Recognition Under Varying Illumination Conditions,” Journal of KIISE, vol. 44, no. 3, pp. 295–305, Mar. 2017, doi: 10.5626/JOK.2017.44.3.295. DOI: https://doi.org/10.5626/JOK.2017.44.3.295
J. Efendi, M. I. Zul, and W. Yunanto, “Real Time Face Recognition using Eigenface and Viola-Jones Face Detector,” JOIV : International Journal on Informatics Visualization, vol. 1, no. 1, pp. 16–22, Mar. 2017, doi: 10.30630/joiv.1.1.15. DOI: https://doi.org/10.30630/joiv.1.1.15
R. Z. Ye, A. Subramanian, D. Diedrich, H. Lindroth, B. Pickering, and V. Herasevich, “Effects of Image Quality on the Accuracy Human Pose Estimation and Detection of Eye Lid Opening/Closing Using Openpose and DLib,” J Imaging, vol. 8, no. 12, p. 330, Dec. 2022, doi: 10.3390/jimaging8120330. DOI: https://doi.org/10.3390/jimaging8120330
D. Zhang, J. Li, and Z. Shan, “Implementation of Dlib Deep Learning Face Recognition Technology,” in 2020 International Conference on Robots & Intelligent System (ICRIS), IEEE, Nov. 2020, pp. 88–91. doi: 10.1109/ICRIS52159.2020.00030. DOI: https://doi.org/10.1109/ICRIS52159.2020.00030
S. Suwarno and K. Kevin, “Analysis of Face Recognition Algorithm: Dlib and OpenCV,” JOURNAL OF INFORMATICS AND TELECOMMUNICATION ENGINEERING, vol. 4, no. 1, pp. 173–184, Jul. 2020, doi: 10.31289/jite.v4i1.3865. DOI: https://doi.org/10.31289/jite.v4i1.3865
M. P. Jacob, “Comparison of Popular Face Detection and Recognition Techniques,” International Research Journal of Modernization in Engineering Technology and Science, vol. 3, no. 4, pp. 1304–1313, 2021, [Online]. Available: www.irjmets.com
K. Abdul Majeed et al., “Face Detectors Evaluation to Select the Fastest among DLIB, HAAR Cascade, and MTCNN,” PAKISTAN JOURNAL OF EMERGING SCIENCE AND TECHNOLOGIES (PJEST), vol. 1, no. 1, 2021.
C. B, M. Dhanalakshmi, V. M G, V. Bohra, and V. A. Kalsariya, “An Improved Attendance Monitoring System through Facial Recognition using RetinaFace Algorithm,” in 2024 3rd International Conference for Innovation in Technology (INOCON), IEEE, Mar. 2024, pp. 1–5. doi: 10.1109/INOCON60754.2024.10511664. DOI: https://doi.org/10.1109/INOCON60754.2024.10511664
Z. Ren, X. Liu, J. Xu, Y. Zhang, and M. Fang, “LittleFaceNet: A Small-Sized Face Recognition Method Based on RetinaFace and AdaFace,” J Imaging, vol. 11, no. 1, p. 24, Jan. 2025, doi: 10.3390/jimaging11010024. DOI: https://doi.org/10.3390/jimaging11010024
X. Liu, S. Zhang, J. Hu, and P. Mao, “ResRetinaFace: an efficient face detection network based on RetinaFace and residual structure,” J Electron Imaging, vol. 33, no. 04, Jul. 2024, doi: 10.1117/1.JEI.33.4.043012. DOI: https://doi.org/10.1117/1.JEI.33.4.043012
J. Deng, J. Guo, E. Ververas, I. Kotsia, and S. Zafeiriou, “RetinaFace: Single-Shot Multi-Level Face Localisation in the Wild,” in 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), IEEE, Jun. 2020, pp. 5202–5211. doi: 10.1109/CVPR42600.2020.00525. DOI: https://doi.org/10.1109/CVPR42600.2020.00525
Q. Wu, X. Wang, N. Li, S. Fong, L. Zhang, and J. Yang, “Real-Time Face and Facial Landmark Joint Detection Based on End-to-End Deep Network,” IEEE Trans Instrum Meas, vol. 74, pp. 1–13, 2025, doi: 10.1109/TIM.2025.3541698. DOI: https://doi.org/10.1109/TIM.2025.3541698
S. Bajpai, A. Singh, and K. V. Karthik, “An Experimental Comparison of Face Detection Algorithms,” International Journal of Computer Theory and Engineering, vol. 5, no. 1, pp. 47–51, 2013, doi: 10.7763/ijcte.2013.v5.644. DOI: https://doi.org/10.7763/IJCTE.2013.V5.644
T. Edirisooriya and E. Jayatunga, “Comparative Study of Face Detection Methods for Robust Face Recognition Systems,” in 2021 5th SLAAI International Conference on Artificial Intelligence (SLAAI-ICAI), IEEE, Dec. 2021, pp. 1–6. doi: 10.1109/SLAAI-ICAI54477.2021.9664689. DOI: https://doi.org/10.1109/SLAAI-ICAI54477.2021.9664689
V. Bazarevsky, Y. Kartynnik, A. Vakunov, K. Raveendran, and M. Grundmann, “BlazeFace: Sub-millisecond Neural Face Detection on Mobile GPUs,” Jul. 2019, [Online]. Available: http://arxiv.org/abs/1907.05047
S. Zhang, X. Zhu, Z. Lei, H. Shi, X. Wang, and S. Z. Li, “FaceBoxes: A CPU Real-time Face Detector with High Accuracy,” Aug. 2017, [Online]. Available: http://arxiv.org/abs/1708.05234 DOI: https://doi.org/10.1109/BTAS.2017.8272675
S. Yang, P. Luo, C. C. Loy, and X. Tang, “WIDER FACE: A Face Detection Benchmark,” in 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), IEEE, Jun. 2016, pp. 5525–5533. doi: 10.1109/CVPR.2016.596. DOI: https://doi.org/10.1109/CVPR.2016.596
L. Yang, Y. Zhang, J. Chen, S. Zhang, and D. Z. Chen, “Suggestive Annotation: A Deep Active Learning Framework for Biomedical Image Segmentation,” 2017, pp. 399–407. doi: 10.1007/978-3-319-66179-7_46. DOI: https://doi.org/10.1007/978-3-319-66179-7_46
M. Everingham, S. M. A. Eslami, L. Van Gool, C. K. I. Williams, J. Winn, and A. Zisserman, “The Pascal Visual Object Classes Challenge: A Retrospective,” Int J Comput Vis, vol. 111, no. 1, pp. 98–136, Jan. 2015, doi: 10.1007/s11263-014-0733-5. DOI: https://doi.org/10.1007/s11263-014-0733-5
A. Yudhana, R. Umar, and S. Saputra, “Fish Freshness Identification Using Machine Learning: Performance Comparison of k-NN and Naïve Bayes Classifier,” Journal of Computing Science and Engineering, vol. 16, no. 3, pp. 153–164, Sep. 2022, doi: 10.5626/JCSE.2022.16.3.153. DOI: https://doi.org/10.5626/JCSE.2022.16.3.153
Y.-Q. Wang, “An Analysis of the Viola-Jones Face Detection Algorithm,” Image Processing On Line, vol. 4, pp. 128–148, Jun. 2014, doi: 10.5201/ipol.2014.104. DOI: https://doi.org/10.5201/ipol.2014.104
K. Zhang, Z. Zhang, Z. Li, and Y. Qiao, “Joint Face Detection and Alignment Using Multitask Cascaded Convolutional Networks,” IEEE Signal Process Lett, vol. 23, no. 10, pp. 1499–1503, Oct. 2016, doi: 10.1109/LSP.2016.2603342. DOI: https://doi.org/10.1109/LSP.2016.2603342
M. Najibi, P. Samangouei, R. Chellappa, and L. S. Davis, “SSH: Single Stage Headless Face Detector,” in 2017 IEEE International Conference on Computer Vision (ICCV), IEEE, Oct. 2017, pp. 4885–4894. doi: 10.1109/ICCV.2017.522. DOI: https://doi.org/10.1109/ICCV.2017.522
H. Jiang and E. Learned-Miller, “Face Detection with the Faster R-CNN,” in 2017 12th IEEE International Conference on Automatic Face & Gesture Recognition (FG 2017), IEEE, May 2017, pp. 650–657. doi: 10.1109/FG.2017.82. DOI: https://doi.org/10.1109/FG.2017.82
J. Li et al., “DSFD: Dual Shot Face Detector,” in 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), IEEE, Jun. 2019, pp. 5055–5064. doi: 10.1109/CVPR.2019.00520. DOI: https://doi.org/10.1109/CVPR.2019.00520
Downloads
Published
How to Cite
Issue
Section
Categories
License
Copyright (c) 2025 Journal of Novel Engineering Science and Technology

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.






















