FACE DETECTION USING REFINED-RETINAFACE MODEL
Abstract
RetinaFace is a multi-task and single-stage face detection model that detects faces and landmarks. However, it has limitations in detecting non-face content in output bounding boxes and mislocalizes facial landmarks for profile faces. To address these issues, Refined-RetinaFace (R-RetinaFace) is proposed. R-RetinaFace adds a post-optimization module that resizes bounding boxes and ensures all landmarks are within them. R-RetinaFace outperforms RetinaFace on SDUMLA-HMT and CASIA-3D-FaceV1 databases. On SDUMLA-HMT, R-RetinaFace achieves an ideal detection rate of 98.02%, a moderate detection rate of 1.32%, and a poor detection rate of 0.66%. On CASIA-3D-FaceV1, R-RetinaFace achieves ideal detection rates of 92.2%, moderate detection rates of 7%, and poor detection rates of 0.8%. In contrast, RetinaFace did not achieve ideal detection on both databases. It achieved only moderate and poor detection rates. On SDUMLA-HMT, RetinaFace achieves a moderate detection rate of 96.32% and a poor detection rate of 3.68%. On CASIA-3D-FaceV1, RetinaFace achieves a moderate detection rate of 83.9% and a poor detection rate of 16.1%. These results put R-RetinaFace a state-of-the-art method for face detection
Full text article
References
Al-Dabbas, H. M., Azeez, R. A., Ali, A. E. (2023). Machine Learning Approach for Facial Image Detection System, Iraqi Journal of Science, 64(10), 5428- 5441. DOI: 10.24996/ijs.2023.64.10.44.
Boss, P., Bandyopadhyay, S. K. (2020). Human Face and Facial Parts Detection using Template Matching Technique. International Journal of Engineering and Advanced Technology (IJEAT), 9(4), 2296-2299. DOI: 10.35940/ijeat.D6689.049420.
CASIA-3D FaceV1, 2004, http://biometrics.idealtest.org/.
Chen, W., Huang, H., Peng, S., & Zhou, C. (2020). YOLO-face: a real-time face detector. The Visual Computer, 37(4), 805-813. DOI:10.1007/s00371-020-01831-7.
Çarıkçı, M., & Özen, F. (2012). A face recognition system based on eigenfaces method. Elsevier, Vol. 1, 118–123. DOI:10.1016/j.protcy.2012.02.023.
Cerna, L. R., Cámara-Chávez, G., & Menotti, D. (2013). Face detection: Histogram of oriented gradients and bag of feature method. In Proceedings of the 2013 International Conference on Image Processing, Computer Vision, and Pattern Recognition, IPCV, Vol. 2, 657-661.
Deng, J., Guo, J., Zhou, Y., Yu, J., Kotsia, I., & Zafeiriou1, S. (2019). RetinaFace: Single-stage Dense Face Localisation in the Wild, 1-10. DOI: 10.48550/arXiv.1905.00641.
Deng, J., Guo, J., Ververas, E., Kotsia, I. & Zafeiriou, S. (2020). RetinaFace: Single-Shot Multi-Level Face Localisation in the Wild," 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 5202-5211. DOI: 10.1109/CVPR42600.2020.00525.
Dengi, O., & Patil, D. Y. (2024). A Comparative Study of Classical and Modern Face Detection and Recognition Methods: Accuracy, Challenges, Efficiency and Performance Analysis. International Research Journal of Engineering and Technology, 11(5), 704-709.
Gao, Q., Ding, B., Jia, X., Xie, Y., & Han, X. (2024). Dense pedestrian face detection in complex environments, Scientific Report, 14(1), 1-17. DOI:10.1038/s41598-024-72523-8.
Guo, X. (2021). A KNN Classifier for Face Recognition. International Conference on Communications, Information System and Computer Engineering (CISCE), Beijing, China, 292-297. DOI: 10.1109/CISCE52179.2021.9445908.
Hajraoui, A., Slimane, M., Mellal, B., & Sabri, M. M. (2014). Face Detection Algorithm based on Skin Detection, Watershed Method and Gabor Filters. International Journal of Computer Applications, 94(6), 33-39. DOI:10.5120/16349-5695.
Hangaragi, S., Tripty, S., & Neelima, N. (2023). Face Detection and Recognition Using Face Mesh and Deep Neural Network, International Conference on Machine Learning and Data Engineering, Perocedia Computer Science, Vol. 218, 741-749. DOI:10.1016/j.procs.2023.01.054.
Hasan, B. M. S., & Mstafa, R.J. (2022). A Study of Gender Classification Techniques Based on Iris Images: A Deep Survey and Analysis. Science Journal of University of Zakho, 10(4), 222 –234. DOI:10.25271/sjuoz.2022.10.4.1039.
Hassan, M., Biswas, A., Al Hakim, N., Mumtaj, M., Samin, A. A., Hossen, M. S., Hossain, M. L., Soumo, S. P., Dey, A. (2025). Face Detection with MTCNN Using Densenet for Enhance Security. Journal of Networking and Communication Systems, 8(1), 33-49. DOI: 10.46253/jnacs.v8i1.a4.
Hasan, M. K., Ahsan, M. S., Abdullah-Al-Mamun, Newaz, S. H. S., & Lee, G. M. (2021). Human Face Detection Techniques: A Comprehensive Review and Future Research Directions. Electronics, 10(19), 1-46. DOI:10.3390/electronics10192354.
Hasan, Z. F. (2022). An Improved Facial Expression Recognition Method Using Combined Hog and Gabor Features. Scientific Journal of University of Zakho,10(2), 54-59. DOI:10.25271/sjuoz.2022.10.2.897.
Hassen, F., & Naser, M. A. (2024).A Face Detection System: A Comprehensive Survey. (2024). Journal Of University Of Babylon For Pure And Applied Sciences, 32(2), 45-61. DOI:10.29196/jubpas.v32i2.5266.
Ho, H. T., Nguyen, L. V., Le, T. H. T., & Lee, O. J. (2024). Face Detection Using Eigenfaces: A Comprehensive Review, in IEEE Access, vol. 12, 118406-118426. DOI: 10.1109/ACCESS.2024.3435964.
Jabbar, M. K., Hussain, M. A., & Kareem, T. A. (2018). Face Detection and Recognition using Color Segmentation, Template Matching and Gabor Neural Network with Fuzzy System, Wasit Journal of Engineering Sciences, 6(3), 29-38. DOI:10.31185/ejuow.Vol6.Iss3.102.
Jiang, H., & Learned-Miller, E. (2017). Face Detection with the Faster R-CNN. 12th IEEE International Conference on Automatic Face & Gesture Recognition, Washington, DC, USA, 650-657. DOI: 10.1109/FG.2017.82.
Kokare, S. & Ghisare, V. (2025). SVM-Based Approach for Human Face Detection and Recognition, 16(2), 1-5. DOI:10.71097/IJSAT.v16.i2.3306.
Komlavi, A. A., Chaibou, K., & Naroua, H. (2024). Comparative study of machine learning algorithms for face recognition, Revue Africaine de Recherche en Informatique et Mathématiques Appliquées, Vol. 40, 1-27. DOI:10.46298/arima.9291.
Kremic E., & Subasi, A. (2015). Performance of random forest and SVM in face recognition. Int. Arab J. Inf. Technol., 3(2), 287–293.
Kukenys I., & Mccane, B. (2008). Support Vector Machines for Human Face Detection. Proceedings of the New Zealand Computer Science Research Student Conference [Online]. Available:
Kumar, A. (2014). An Empirical Study of Selection of the appropriate Color Space for Skin Detection: A Case of Face Detection in Color images. International Conference on Issues and Challenges in Intelligent Computing Techniques (ICICT), Ghaziabad, India, 725-730, DOI: 10.1109/ICICICT.2014.6781370.
Kumar, A., Kaur, A., & Kumar, M. (2019). Face detection techniques: A review. Artificial Intelligence Review, 52(2), 927–948. DOI: 10.1007/s10462-018-9650-2.
Liu, B., & Yu, H. (2023). A Lightweight and Accurate Face Detection Algorithm Based on RetinaFace. 1-14. DOI:10.48550/arXiv.2308.04340.
Madan, A. (2021). Face Recognition Using Haar Cascade Classifier. Modern Trends in Science and technology, 7(10), 85-87. DOI: 10.46501/IJMTST070119.
Mady, H., & Hilles,S. M. S. (2018). Face recognition and detection using Random forest and combination of LBP and HOG features. International Conference on Smart Computing and Electronic Enterprise. (ICSCEE2018) ©2018 IEEE.
Mala, Y. H., & Mohammad, M. A. (2022). Brain Waves Signal Modeling for Object Classification Using Random Forest Method. Science Journal of University of Zakho,10(1), 16-23. DOI:10.25271/sjuoz.2022.10.1.876.
Maw, H. M., Lin, Z., & Mon, T. (2018). Face Detection using Fusion of Skin Detection and Viola-Jones Face Detection. 2nd International Conference on Advanced Information Technologies (ICAIT), Nov. 1-2, Yangon, Mynamar, 68-73.
Minaee, S., Luo, P., Lin, Z., & Bowyer, K. (2021). Going Deeper Into Face Detection: A Survey, 1-7. https://arxiv.org/abs/2103.14983.
Ochango, V. A. (2023). A Model for Face Recognition using EigenFace Algorithm. International Journal of Formal Sciences: Current and Future Research Trends (IJFSCFRT), 18(1), 12-21.
Pal, S. (2020). Human Face Detection Technique using Haar-like Features. International Journal of Computer Applications, 175(32), 56-60. DOI: 10.5120/ijca2020920883.
Paul, P. P., & Gavrilova, M. (2011). PCA based geometric modeling for automatic face detection. 2011 International Conference on Computational Science and Its Applications, Santander, Spain, 33-38, DOI: 10.1109/ICCSA.2011.69.
Ponnmoli, K. M., & Pandian, A. (2025). Comparative Evaluation of Face Detection Algorithms: Accuracy, Efficiency, and Robustness.” Indica Journal, 6(3), 1-8. DOI: 10.5281/zenodo.15023420.
Praveen, K., Rahman, H. K., Nandakumar, D., Shervin S., & Jyotsna. A. (2025). Face Detection Attendance Marking Using AI: A Deep Learning Approach for Classroom Environment, International Research Journal of Innovations in Engineering and Technology (IRJIET), 9(1), 11-16. DOI:10.47001/IRJIET/2025.901002.
Qi, D., Tan, W., Yao, Q., & Liu, J. (2022). YOLO5Face: Why Reinventing a Face Detector. 1-10. http://arxiv.org/abs/2105.12931.
Ren, Z., Liu, X., Xu, J., Zhang, Y., & Fang, M. (2025). LittleFaceNet: A Small-Sized Face Recognition Method Based on RetinaFace and AdaFace. Journal of Imaging, 11(1), 1-20. DOI: 10.3390/jimaging11010024.
Sakai, T., Nagao, M. &Kanade, T. (1972). Computer Analysis and Classification of Photographs of Human Faces. First USA-JAPAN Computer Conference 55-62.
Saputra, S., Akbar, M., & Hikmatiar, H. (2025). Graphical User Interface (GUI) for Face Detection Using Viola-Jones Algorithm. Bincang Sains dan Teknologi, 4(1), 1–9. DOI: 10.56741/bst.v4i01.768.
Soni L. N., & Waoo, A. A. (2023). A Review of Recent Advances Methodologies for Face Detection. 86- International Journal of Current Engineering and Technology, 13(2), 86-92. DOI.org/10.14741/ijcet/v.13.2.6.
Tahir, A. AK. & Anghelus, S. 2024. Biometric Based Recognition Systems - An Overview. International Journal of Open Information Technologies, 12(7), 110-118. http://injoit.org/index.php/j1/article/viewFile/1858/1734.
Thaher, T., Mafarja, M., Saffarini, M., Abdulhakim. M. Mohamed, A. M., & Ayman A. El-Saleh, A. A. (2025). A Comprehensive Review of Face Detection Techniques for Occluded Faces: Methods, Datasets, and Open Challenges, Computer Modeling in Engineering Science, 43(3), 2615-2673. DOI: 10.32604/cmes.2025.064857.
Thakurdesai, N., Raut, N., Tripathi, A. (2018). Face Recognition using One-shot Learning. International Journal of Computer Applications, 182(23, 35-39. DOI: 10.5120/ijca2018918032.
Tripathi, S., Sharma, V., & Sharma, S. (2011). Face Detection using Combined Skin Color Detector and Template Matching Method. International Journal of Computer Applications, 26(7), 5-8. DOI: 10.5120/3119-4290.
Tsai, C. C., Cheng, W. C., Taur, J. S., and Tao, C. W. (2006). Face Detection Using Eigenface and Neural Network. 2006 IEEE International Conference on Systems, Man, and Cybernetics, October 8-11, 2006, Taipei, Taiwan, Vol. 5, 4343-4347. DOI: 10.1109/ICSMC.2006.384817.
Viola, P.; Jones, M. (2001). Rapid Object Detection Using A Boosted Cascade of Simple Features. Proceedings of the 2001 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR), Kauai, HI, USA Vol. 1, 1-9. DOI: 10.1109/CVPR.2001.990517.
Viola, P., Jones, M.J. (2004). Robust Real-Time Face Detection. International Journal of Computer Vision, 57, 137–154. DOI:10.1023/B:VISI.0000013087.49260.fb.
Wang, J., Yuan, Y., & Yu, G. (2017). Face Attention Network: An Effective Face Detector for the Occluded Faces. 1-10. DOI:10.48550/arXiv.1711.07246.
Wirdiani, N. K. A., Hridayami, P., Widiari, N. P. A., Rismawan, K. D., Putu Bagus Candradinatha, P. B., & I Putu Deva Jayantha, I. P. D. (2019). Face Identification Based on K-Nearest Neighbor. Scientific Journal of Informatics, 6(2), 150–159. DOI: 10.15294/sji.v6i2.19503.
Xiong, Y., Meng, W., Yan, J., & Yang, J. (2023). A Rotation-Invariance Face Detector Based on RetinaNet. Journal of Physics: Institute of Physics, 1-7. DOI: 10.1088/1742-6596/2562/1/012066.
Xue, X., Hu, J., & Zhang, P. (2020). Intelligent detection and recognition system for mask wearing based on improved RetinaFace algorithm. Proceedings - 2020 2nd International Conference on Machine Learning, Big Data and Business Intelligence, MLBDBI 2020, Institute of Electrical and Electronics Engineers Inc., 474–479. DOI: 10.1109/MLBDBI51377.2020.00100.
Yang, S., Luo, P., Loy C. C., & Tang, X. (2016). WIDER FACE: A Face Detection Benchmark. IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 5525-5533, DOI: 10.1109/CVPR.2016.596.
Yazdani, H. R., & Shojaeifard, A. R. (2023). Facial recognition system using eigenfaces and PCA. Mathematics and Computational Sciences, 4(1), 29-35. DOI: 10.30511/mcs.2023.562662.1085.
Ye, B., Shi, Y., Li, H., Li, L., & Tong, S. (2021). Face SSD: A Real-time Face Detector based on SSD. 40th Chinese Control Conference (CCC), Shanghai, China, 8445-8450. DOI: 10.23919/CCC52363.2021.9550294.
Yin, Y., Liu, L. & Sun, X. (2011). SDUMLA-HMT: A Multimodal Biometric Database. Proceedings of the 6th Chinese conference on Biometric recognition, 260–268. https://dl.acm.org/doi/proceedings/10.5555/2074627.
Yousif, R. Z., Abdulrahman Hamad, S. A., & S. Mohammed Jihad Abdalwahid, S. M. J. (2024). A Comprehensive Review of Face Detection Using Machine Learning and Deep Learning Approaches. 5th International Conference On Communication Engineering and Computer Science (CIC-COCOS’24), Cihan University-Erbil, 369–374. DOI: 10.24086/cocos2024/paper.1499.
Yuen, C. T., Rizon, M., San, W. S., & Seong, T. C. (2009). Facial Features for Template Matching Based Face Recognition. American Journal of Applied Sciences 6 (11), 1897-1901. DOI: 10.3844/ajassp.2009.1897.1901.
Zhang, F., Fan, X., Ai, G., Song, J., Qin, Y., & Wu, J. (2019). Accurate Face Detection for High Performance. 1-9. https://arxiv.org/abs/1905.01585.
Zhang, N., Luo, J., & Gao, W. (2020). Research on face detection technology based on MTCNN. Proceedings - 2020 International Conference on Computer Network, Electronic and Automation (ICCNEA), Institute of Electrical and Electronics Engineers Inc., 154–158. DOI: 10.1109/ICCNEA50255.2020.00040.
Zhang, X., Gonnot, T., & Saniie, J. (2017). Real-Time Face Detection and Recognition in Complex Background. Journal of Signal and Information Processing, 8(2) 99-112. DOI: 10.4236/jsip.2017.82007.
Zhong, C., Sun, Z., & Tan, T. (2007). Robust 3D Face Recognition Using Learned Visual Codebook. 2007 IEEE Conference on Computer Vision and Pattern Recognition, Minneapolis, MN, 1-6. DOI: 10.1109/CVPR.2007.383279.
Zhong, C., Sun, Z., & Tan, T. (2008). Learning Efficient Codes for 3D Face recognition. 15th IEEE International Conference on Image Processing, San Diego, CA, 1928-1931. DOI: 10.1109/ICIP.2008.4712158.
Authors
Copyright (c) 2026 Sagvan J. M. Ameen, Ahmed AK. Tahir

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License [CC BY-NC-SA 4.0] that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work, with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online.