Volume 17 , Issue 1 , PP: 103-119, 2026 | Cite this article as | XML | Html | PDF | Full Length Article
Amal Sufiuh Ajrash 1 * , Wildan Jameel Hadi 2 , Ammar Hussein Jassim 3
Doi: https://doi.org/10.54216/JCIM.170109
Deep learning showed promise in many real-world applications. Recognition and item identification are the most common. This publication tries to design and describe a system that can classify people from images based on whether they are correctly wearing masks. The proposed system is two-part. The first part is designed for facial detection using the YOLOv9 (You Only Look Once version 9) compact deep learning model, which uses the mean intersection method over union to determine an optimal number of anchoring boxes and the Adam optimizer to improve facial detection efficacy. The second component is a convolutional neural network for face feature extraction. These faces are classified as a mask, without_mask, and incorrect_mask. These two components are integrated into the proposed system for facemask recognition. Empirical evaluations were conducted on the two self-collected datasets to train and evaluate the proposed system's performance. The observed precision value of this system was 94.6% in the last epoch; the recall value is 87.1%, and the mean average precision results are 92.74% as a face detector. The classifier model train accuracy is 98.35%, and validation accuracy is 98.8%. Finally, the comparative results indicated that the proposed framework was an effective model for face detection, attaining a higher mean average precision value and outperforming other networks assessed on the designated dataset for this task. The suggested network effectively detects and classifies several faces in photos, including small faces in congested places.
Deep Convolutional Neural Network (DCNN) , Face Mask Detection , Face Mask &lrm , Recognition , Machine Learning (ML) , YOLOv9
[1] B. Rezazadeh, P. Asghari, and A. M. Rahmani, "Computer-aided methods for combating COVID-19 in prevention, detection, and service provision approaches," Neural Comput. & Applic., vol. 35, pp. 14739–14778, 2023, doi: https://doi.org/10.1007/s00521-023-08612-y.
[2] C. Bisogni, A. Castiglione, S. Hossain, F. Narducci, and S. Umer, "Impact of Deep Learning Approaches on Facial Expression Recognition in Healthcare Industries," IEEE Trans. Ind. Informatics, vol. 18, pp. 5619–5627, 2022, doi: https://doi.org/10.1109/TII.2022.3141400.
[3] N. Ullah, A. Javed, M. Ali Ghazanfar, A. Alsufyani, and S. Bourouis, "A novel Deep Mask Net model for face mask detection and masked facial recognition," J. King Saud Univ.-Comput. Inf. Sci., vol. 34, no. 10, pp. 9905–9914, 2022, doi: https://doi.org/10.1016/j.jksuci.2021.12.017.
[4] J. Li, Z. Xu, L. Fu, X. Zhou, and H. Yu, "Domain adaptation from daytime to nighttime: A situation-sensitive vehicle detection and traffic flow parameter estimation framework," Transp. Res. Part C Emerg. Technol., vol. 124, p. 102946, 2021, doi: https://doi.org/10.1016/j.trc.2020.102946.
[5] J. Zhu, G. Zhang, S. Zhou, and K. Li, "Relation-aware Siamese region proposal network for visual object tracking," Multimed. Tools Appl., vol. 80, no. 10, pp. 15469-15485, 2021, doi: https://doi.org/10.1007/s11042-021-10574-z.
[6] M. Y. Muhamad, A. Rozniza, and S. H. Muhammad, "Comparison of Faster R-CNN and YOLOv5 for Overlapping Objects Recognition," Baghdad Sci. J., vol. 20, no. 3, p. 0893, 2023, doi: https://doi.org/10.21123/bsj.2022.7243.
[7] L. Wang, Y. Shoulin, H. Alyami, A. A. Laghari, M. Rashid, J. Almotiri, H. J. Alyamani, and F. Alturise, "A novel deep learning-based single shot multibox detector model for object detection in optical remote sensing images," Geosci. Data J., vol. 11, no. 3, pp. 237-251, 2022, doi: https://doi.org/10.1002/gdj3.162.
[8] H.S. Amit, M.H. Siti Z., S. Hussein, and K. Nurulaqilla, "YOLO: A Competitive Analysis of Modern Object Detection Algorithms for Road Defects Detection Using Drone Images," Baghdad Sci. J., vol. 21, no. 6, 2024, doi: https://doi.org/10.21123/bsj.2023.9027.
[9] N. Rachburee and W. Punlumjeak, "An assistive model of obstacle detection based on deep learning: YOLOv3 for visually impaired people," Int. J. Electr. Comput. Eng., vol. 11, no. 4, p. 3434, 2021, doi: https://doi.org/10.11591/ijece.v11i4.pp3434-3442.
[10] X. Gao, M. Nguyen, and W. Q. Yan, "Human Face Mask Detection Using YOLOv7+CBAM in Deep Learning," in Handbook of Research on AI and ML for Intelligent Machines and Systems, IGI Global, 2023, pp. 94-106, doi: https://doi.org/10.4018/978-1-6684-9999-3.ch005.
[11] B. Lin and M. Hou, "Face Mask Detection Based on Improved YOLOv8," J. Electr. Syst., vol. 20, no. 3, pp. 365-375, 2024, doi: https://doi.org/10.52783/jes.2859.
[12] C. Dewi, D. Manongga, Hendry, E. Mailoa, and K.D. Hartomo, "Deep Learning and YOLOv8 Utilized in an Accurate Face Mask Detection System," Big Data Cogn. Comput., vol. 8, no. 1, p. 9, 2024, doi: https://doi.org/10.3390/bdcc8010009.
[13] M. Banerjee, R. Goyal, P. Gupta, and A. Tripathi, "Real-Time Face Recognition System with Enhanced Security Features Using Deep Learning," Int. J. Exp. Res. Rev., vol. 32, pp. 131-144, 2023, doi: https://doi.org/10.52756/ijerr.2023.v32.011.
[14] P. Wu, H. Li, N. Zeng, and F. Li, "FMD-Yolo: An efficient face mask detection method for COVID-19 prevention and control in public," Image Vis. Comput., vol. 117, p. 104341, 2022, doi: https://doi.org/10.1016/j.imavis.2021.104341.
[15] S. Tamang, B. Sen, A. Pradhan, K. Sharma, and V. K. Singh, "Enhancing COVID-19 Safety: Exploring YOLOv8 Object Detection for Accurate Face Mask Classification," Int. J. Intell. Syst. Appl. Eng., vol. 11, no. 2, pp. 892–897, 2023, [Online]. Available: https://ijisae.org/index.php/IJISAE/article/view/2966.
[16] J. Yu and W. Zhang, "Face Mask Wearing Detection Algorithm Based on Improved YOLO-v4," Sensors, vol. 21, no. 9, p. 3263, 2021, doi: https://doi.org/10.3390/s21093263.
[17] S. Hraybi and M. Rizk, "Examining YOLO for real-time face-mask detection," in 4th Smart Cities Symposium (SCS 2021), Online Conference, Bahrain, 2021, pp. 571-575, doi: https://doi.org/10.1049/icp.2022.0402 .
[18] "Medical Mask Dataset (MMD)," Kaggle Inc., [Online]. Available: https://www.kaggle.com/vtech6/me medical-masks-dataset. [Accessed Jan. 11, 2024].
[19] "Face Mask Dataset (FMD)," Kaggle Inc., [Online]. Available: https://www.kaggle.com/andrewmvd/face-mask-detection. [Accessed Jan. 11, 2024].
[20] L. Guo, Q. Wang, W. Xue, and J. Guo, "Detection of Mask Wearing in Dim Light Based on Attention Mechanism," J. Univ. Electron. Sci. Technol. China, vol. 51, no. 1, pp. 123-129, 2022, doi: https://doi.org/10.12178/1001-0548.2021222.
[21] S. Abbasi, H. Abdi, and A. Ahmadi, "A Face-Mask Detection Approach based on YOLO Applied for a New Collected Dataset," in 26th International Computer Conference, Computer Society of Iran (CSICC), Tehran, Iran, 2021, pp. 1-6, doi: https://doi.org/10.1109/CSICC52343.2021.9420599.
[22] H. F. Al-Selwi, H. Nawaid, G. Hadhrami, A. Nur, and A. Azlan, "Face mask detection and counting using You Only Look Once algorithm with Jetson Nano and NVDIA giga texel shader extreme," IAES Int. J. Artif. Intell. (IJ-AI), vol. 12, no. 3, pp. 1169-1177, 2023, doi: http://doi.org/10.11591/ijai.v12.i3.pp1169-1177.
[23] J. Wang, J. Wang, X. Zhang, and N. Yang, "A Mask-Wearing Detection Model in Complex Scenarios Based on YOLOv7-CPCSDSA," Electronics, vol. 12, no. 14, p. 3128, 2023, doi: https://doi.org/10.3390/electronics12143128.
[24] Kumar, A. Kalia, A. Sharma, and M. Kaushal, "A hybrid tiny YOLO v4-SPP module-based improved face mask detection vision system," J. Ambient Intell. Humaniz. Comput., vol. 14, pp. 6783–6796, 2023, doi: https://doi.org/10.1007/s12652-021-03541-x.
[25] L. Suroiyah, Y. Rahmawati, and R. Dijaya, "Facemask Detection Using Yolo V5," J. Tek. Inform. (JUTIF), vol. 4, no. 6, pp. 1277-1286, 2023, doi: https://doi.org/10.52436/1.jutif.2023.4.6.1043.
[26] S. Guo, L. Li, T. Guo, Y. Cao, and Y. Li, "Research on Mask-Wearing Detection Algorithm Based on Improved YOLOv5," Sensors, vol. 22, no. 13, p. 4933, 2022, doi: https://doi.org/10.3390/s22134933.
[27] Z. Han, H. Huang, Q. Fan, L. Yiting, L. Yuqin, and X. Chen, "SMD-YOLO: An efficient and lightweight detection method for mask wearing status during the COVID-19 pandemic," Comput. Methods Programs Biomed., vol. 221, p. 106888, 2022, doi: https://doi.org/10.1016/j.cmpb.2022.106888.
[28] Kumar, A. Kalia, and A. Kalia, "ETL-YOLO v4: A face mask detection algorithm in era of COVID-19 pandemic," Optik, vol. 259, p. 169051, 2022, doi: https://doi.org/10.1016/j.ijleo.2022.169051.
[29] Dewi and H.J. Christanto, "Automatic Medical Face Mask Recognition for COVID-19 Mitigation: Utilizing YOLO V5 Object Detection," Revue d'Intelligence Artificielle, vol. 37, no. 3, pp. 627-638, 2023, doi: https://doi.org/10.18280/ria.370312.
[30] G. Zhao, S. Zou, and H. Wu, "Improved Algorithm for Face Mask Detection Based on YOLO-v4," Int. J. Comput. Intell. Syst., vol. 16, p. 104, 2023, doi: https://doi.org/10.1007/s44196-023-00286-7.