{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,1]],"date-time":"2026-04-01T05:01:35Z","timestamp":1775019695091,"version":"3.50.1"},"reference-count":43,"publisher":"Springer Science and Business Media LLC","issue":"1","license":[{"start":{"date-parts":[[2023,6,18]],"date-time":"2023-06-18T00:00:00Z","timestamp":1687046400000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2023,6,18]],"date-time":"2023-06-18T00:00:00Z","timestamp":1687046400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Int J Comput Intell Syst"],"abstract":"<jats:title>Abstract<\/jats:title><jats:p>To reduce the chance of being infected by the COVID-19, wearing masks correctly when entering and leaving public places has become the most feasible and effective ways to prevent the spread of the virus. It is a concern to how to quickly and accurately detect whether a face is worn a mask correctly while reduce missed detection and false detection in practical applied scenarios. In this paper, an improved algorithm is proposed based on the YOLO-v4 algorithm. The attention mechanism module is added to the appropriate network level to enhance the key feature points of face wearing masks and suppress useless information. Apart from that, three attention mechanism modules are added to different layers of the YOLO-v4 network for ablation experiments, including CBAM (convolutional block attention module), SENet (squeeze-and-excitation networks) and CANet (coordinate attention networks). The path-aggregation network and feature pyramid are used to extract features from images. Two network models were compared and improved in the experiment, and it is found that adding the dual-channel attention mechanism CBAM before the three YOLO heads of YOLOv4 and in the neck network had better detection performance than the single channel attention mechanism SENet and the coordinated attention mechanism CANet. The experimental results show that when the attention module CBAM and the YOLO-v4 model are integrated, the accuracy of the selected MAFA\u2009+\u2009WIDER Face dataset reaches the highest value of 93.56%, which is 4.66% higher than that of the original YOLO-v4.<\/jats:p>","DOI":"10.1007\/s44196-023-00286-7","type":"journal-article","created":{"date-parts":[[2023,6,18]],"date-time":"2023-06-18T04:01:25Z","timestamp":1687060885000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":13,"title":["Improved Algorithm for Face Mask Detection Based on YOLO-v4"],"prefix":"10.1007","volume":"16","author":[{"given":"Gang","family":"Zhao","sequence":"first","affiliation":[]},{"given":"Shuilong","family":"Zou","sequence":"additional","affiliation":[]},{"given":"Huijie","family":"Wu","sequence":"additional","affiliation":[]}],"member":"297","published-online":{"date-parts":[[2023,6,18]]},"reference":[{"issue":"1","key":"286_CR1","volume":"1684","author":"J Deng","year":"2020","unstructured":"Deng, J., Xuan, X., Wang, W., Li, Z., Yao, H., Wang, Z.: A review of research on object detection based on deep learning. J Phys: Conf Ser 1684(1), 012028 (2020)","journal-title":"J Phys: Conf Ser"},{"key":"286_CR2","doi-asserted-by":"crossref","unstructured":"Girshick, R., Donahue, J., Darrell, T., Malik, J.: Rich feature hierarchies for accurate object detection and semantic segmentation. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 580\u2013587 (2014)","DOI":"10.1109\/CVPR.2014.81"},{"issue":"9","key":"286_CR3","doi-asserted-by":"publisher","first-page":"1904","DOI":"10.1109\/TPAMI.2015.2389824","volume":"37","author":"K He","year":"2015","unstructured":"He, K., Zhang, X., Ren, S., Sun, J.: Spatial pyramid pooling in deep convolutional networks for visual recognition. IEEE Trans. Pattern Anal. Mach. Intell. 37(9), 1904\u20131916 (2015)","journal-title":"IEEE Trans. Pattern Anal. Mach. Intell."},{"key":"286_CR4","doi-asserted-by":"crossref","unstructured":"Girshick, R.: Fast r-cnn. In: Proceedings of the IEEE international conference on computer vision, pp 1440\u20131448 (2015)","DOI":"10.1109\/ICCV.2015.169"},{"issue":"6","key":"286_CR5","doi-asserted-by":"publisher","first-page":"1137","DOI":"10.1109\/TPAMI.2016.2577031","volume":"39","author":"S Ren","year":"2017","unstructured":"Ren, S., He, K., Girshick, R., et al.: Faster R-CNN: towards realtime object detection with region proposal networks. IEEE Trans. Pattern Anal. Mach. Intell. 39(6), 1137\u20131149 (2017)","journal-title":"IEEE Trans. Pattern Anal. Mach. Intell."},{"key":"286_CR6","doi-asserted-by":"crossref","unstructured":"Lin, T. Y., Doll\u00e1r, P., Girshick, R., He, K., Hariharan, B., Belongie, S.: Feature pyramid networks for object detection. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 2117\u20132125 (2017)","DOI":"10.1109\/CVPR.2017.106"},{"key":"286_CR7","doi-asserted-by":"crossref","unstructured":"Qiao, S., Chen, L. C., & Yuille, A.: Detectors: detecting objects with recursive feature pyramid and switchable atrous convolution. In: Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, pp 10213\u201310224 (2021)","DOI":"10.1109\/CVPR46437.2021.01008"},{"key":"286_CR8","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1155\/2014\/401696","volume":"2014","author":"Z Abo-Hammour","year":"2014","unstructured":"Abo-Hammour, Z., Abu Arqub, O., Momani, S., Shawagfeh, N.: Optimization solution of Troesch\u2019s and Bratu\u2019s problems of ordinary type using novel continuous genetic algorithm. Discrete Dyn. Nat. Soc. 2014, 1\u201315 (2014)","journal-title":"Discrete Dyn. Nat. Soc."},{"key":"286_CR9","doi-asserted-by":"publisher","first-page":"396","DOI":"10.1016\/j.ins.2014.03.128","volume":"279","author":"O Abu Arqub","year":"2014","unstructured":"Abu Arqub, O., Abo-Hammour, Z.: Numerical solution of systems of second-order boundary value problems using continuous genetic algorithm. Inform. Sci. 279, 396\u2013415 (2014)","journal-title":"Inform. Sci."},{"key":"286_CR10","doi-asserted-by":"publisher","DOI":"10.1016\/j.measurement.2020.108288","volume":"167","author":"M Loey","year":"2021","unstructured":"Loey, M., Manogaran, G., Taha, M.H.N., et al.: A hybrid deep transfer learning model with machine learning methods for face mask detection in the era of the COVID-19 pandemic. Measurement (Lond) 167, 108288 (2021)","journal-title":"Measurement (Lond)"},{"issue":"9","key":"286_CR11","doi-asserted-by":"publisher","first-page":"3263","DOI":"10.3390\/s21093263","volume":"21","author":"J Yu","year":"2021","unstructured":"Yu, J., Zhang, W.: Face mask wearing detection algorithm based on improved YOLO-v4. Sensors 21(9), 3263 (2021)","journal-title":"Sensors"},{"key":"286_CR12","doi-asserted-by":"publisher","DOI":"10.1007\/s12652-021-03541-x","author":"A Kumar","year":"2021","unstructured":"Kumar, A., Kalia, A., Sharma, A., Kaushal, M.: A hybrid tiny YOLO v4-SPP module based improved face mask detection vision system. J. Ambient Intell. Humaniz. Comput. (2021). https:\/\/doi.org\/10.1007\/s12652-021-03541-x","journal-title":"J. Ambient Intell. Humaniz. Comput."},{"key":"286_CR13","doi-asserted-by":"publisher","DOI":"10.1016\/j.imavis.2021.104341","volume":"117","author":"P Wu","year":"2022","unstructured":"Wu, P., Li, H., Zeng, N., Li, F.: FMD-Yolo: an efficient face mask detection method for COVID-19 prevention and control in public. Image Vis. Comput. 117, 104341 (2022)","journal-title":"Image Vis. Comput."},{"issue":"7","key":"286_CR14","doi-asserted-by":"publisher","first-page":"837","DOI":"10.3390\/electronics10070837","volume":"10","author":"X Jiang","year":"2021","unstructured":"Jiang, X., Gao, T., Zhu, Z., Zhao, Y.: Real-time face mask detection method based on YOLOv3. Electronics 10(7), 837 (2021)","journal-title":"Electronics"},{"key":"286_CR15","doi-asserted-by":"crossref","unstructured":"Hu, J., Shen, L., & Sun, G.: Squeeze-and-excitation networks. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 7132\u20137141 (2018)","DOI":"10.1109\/CVPR.2018.00745"},{"key":"286_CR16","doi-asserted-by":"publisher","DOI":"10.1016\/j.scs.2020.102692","volume":"66","author":"P Nagrath","year":"2021","unstructured":"Nagrath, P., Jain, R., Madan, A., Arora, R., Kataria, P., Hemanth, J.: SSDMNV2: a real time DNN-based face mask detection system using single shot multibox detector and MobileNetV2. Sustain. Cities Soc. 66, 102692 (2021)","journal-title":"Sustain. Cities Soc."},{"key":"286_CR17","doi-asserted-by":"crossref","unstructured":"Sanjaya, S. A., Rakhmawan, S. A.: Face mask detection using MobileNetV2 in the era of COVID-19 pandemic. In: 2020 International Conference on Data Analytics for Business and Industry: way Towards a Sustainable Economy (ICDABI), pp 1\u20135. IEEE (2020)","DOI":"10.1109\/ICDABI51230.2020.9325631"},{"key":"286_CR18","unstructured":"Shamrat, F. J. M., Chakraborty, S., Billah, M. M., Al Jubair, M., Islam, M. S., Ranjan, R.: Face mask detection using convolutional neural network (CNN) to reduce the spread of COVID-19. In: 2021 5th International Conference on Trends in Electronics and Informatics (ICOEI), pp 1231\u20131237, IEEE (2021)"},{"key":"286_CR19","doi-asserted-by":"crossref","unstructured":"Qi, C., Yang, L.: Face recognition in the scene of wearing a mask. In: 2020 International Conference on Advance in Ambient Computing and Intelligence (ICAACI), pp 77\u201380. IEEE (2020)","DOI":"10.1109\/ICAACI50733.2020.00021"},{"key":"286_CR20","doi-asserted-by":"crossref","unstructured":"Woo, S., Park, J., Lee, J. Y., Kweon, I. S.: Cbam: convolutional block attention module. In: Proceedings of the European conference on computer vision (ECCV), pp. 3\u201319 (2018)","DOI":"10.1007\/978-3-030-01234-2_1"},{"key":"286_CR21","doi-asserted-by":"crossref","unstructured":"Hou, Q., Zhou, D., Feng, J.: Coordinate attention for efficient mobile network design. In: Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, pp 13713\u201313722 (2021)","DOI":"10.1109\/CVPR46437.2021.01350"},{"key":"286_CR22","doi-asserted-by":"crossref","unstructured":"Chen, L., Zhang, H., Xiao, J., Nie, L., Shao, J., Liu, W., Chua, T. S.: SCA-CNN: spatial and channel-wise attention in convolutional networks for image captioning. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 5659\u20135667 (2017)","DOI":"10.1109\/CVPR.2017.667"},{"key":"286_CR23","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1007\/s41095-021-0261-5","volume":"8","author":"M-H Guo","year":"2022","unstructured":"Guo, M.-H., et al.: Attention mechanisms in computer vision: a survey. Comput. Vis. Med. 8, 1\u201338 (2022)","journal-title":"Comput. Vis. Med."},{"issue":"1","key":"286_CR24","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1038\/s41598-019-56847-4","volume":"10","author":"W Li","year":"2020","unstructured":"Li, W., Liu, K., Zhang, L., Cheng, F.: Object detection based on an adaptive attention mechanism. Sci. Rep. 10(1), 1\u201313 (2020)","journal-title":"Sci. Rep."},{"issue":"99","key":"286_CR25","first-page":"1","volume":"22","author":"SH Wang","year":"2021","unstructured":"Wang, S.H., Fernandes, S., Zhu, Z., Zhang, Y.D.: AVNC: attention-based VGG-style network for covid-19 diagnosis by CBAM. IEEE Sens. J. 22(99), 1\u20131 (2021)","journal-title":"IEEE Sens. J."},{"issue":"18","key":"286_CR26","doi-asserted-by":"publisher","first-page":"3776","DOI":"10.3390\/rs13183776","volume":"13","author":"L Zhu","year":"2021","unstructured":"Zhu, L., Geng, X., Li, Z., Liu, C.: Improving YOLOv5 with attention mechanism for detecting boulders from planetary images. Remote Sens. 13(18), 3776 (2021)","journal-title":"Remote Sens."},{"key":"286_CR27","doi-asserted-by":"crossref","unstructured":"Ubaid, M. T., Khan, M. Z., Rumaan, M., Arshed, M. A., Khan, M. U. G., & Darboe, A.: COVID-19 SOP\u2019s violations detection in terms of face mask using deep learning. In: 2021 International Conference on Innovative Computing (ICIC), pp 1\u20138. IEEE (2021)","DOI":"10.1109\/ICIC53490.2021.9692999"},{"issue":"12","key":"286_CR28","doi-asserted-by":"publisher","first-page":"1587","DOI":"10.3390\/e23121587","volume":"23","author":"M Zha","year":"2021","unstructured":"Zha, M., Qian, W., Yi, W., Hua, J.: A lightweight YOLOv4-based forestry pest detection method using coordinate attention and feature fusion. Entropy 23(12), 1587 (2021)","journal-title":"Entropy"},{"issue":"8","key":"286_CR29","first-page":"1400","volume":"24","author":"H Li","year":"2019","unstructured":"Li, H., Li, C., An, J., Ren, J.: Attention mechanism improves CNN remote sensing image object detection. J. Image Graph. 24(8), 1400\u20131408 (2019)","journal-title":"J. Image Graph."},{"issue":"6","key":"286_CR30","first-page":"1","volume":"33","author":"ZL Zhu","year":"2019","unstructured":"Zhu, Z.L., Rao, Y., Wu, Y., Qi, J.N., Zhang, Y.: Research progress of attention mechanism in deep learning. J. Chin. Inf. Process. 33(6), 1\u201311 (2019)","journal-title":"J. Chin. Inf. Process."},{"issue":"1","key":"286_CR31","doi-asserted-by":"publisher","DOI":"10.1088\/1742-6596\/1693\/1\/012173","volume":"1693","author":"X Yang","year":"2020","unstructured":"Yang, X.: An overview of the attention mechanisms in computer vision. J. Phys. Conf. Ser. 1693(1), 012173 (2020)","journal-title":"J. Phys. Conf. Ser."},{"key":"286_CR32","unstructured":"Jiang, Z., Zhao, L., Li, S., Jia, Y.: Real-time object detection method based on improved YOLOv4-tiny. arXiv preprint (2020) https:\/\/arXiv.org\/2011.04244"},{"key":"286_CR33","doi-asserted-by":"crossref","unstructured":"Wang, F., Jiang, M., Qian, C., Yang, S., Li, C., Zhang, H., Tang, X.: Residual attention network for image classification. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 3156\u20133164 (2017)","DOI":"10.1109\/CVPR.2017.683"},{"key":"286_CR34","doi-asserted-by":"crossref","unstructured":"Gao, C., Cai, Q., Ming, S.: YOLOv4 object detection algorithm with efficient channel attention mechanism. In: 2020 5th International Conference on Mechanical, Control and Computer Engineering (ICMCCE), pp 1764\u20131770. IEEE (2020)","DOI":"10.1109\/ICMCCE51767.2020.00387"},{"key":"286_CR35","first-page":"23","volume":"1","author":"Y Axiang","year":"2021","unstructured":"Axiang, Y., Chengrun, L., Shuyi, Y., Hongjun, L.: Multi-attention mechanism of mask wearing detection network. J. Nanjing Normal Univ. (Eng. Technol. Edn.) 1, 23\u201329 (2021). (ISSN: 1006-6977\/CN: 61-1281\/TN)","journal-title":"J. Nanjing Normal Univ. (Eng. Technol. Edn.)"},{"key":"286_CR36","doi-asserted-by":"crossref","unstructured":"Mao, P., Hao, P., Xin, Y.: Deep Learning Implementation of Facemask Detection. In: The 2nd International Conference on Computing and Data Science, pp 1\u20134 (2021)","DOI":"10.1145\/3448734.3450794"},{"key":"286_CR37","doi-asserted-by":"publisher","first-page":"7965","DOI":"10.1002\/mma.7305","volume":"46","author":"O Abu Arqub","year":"2023","unstructured":"Abu Arqub, O., Singh, J., Maayah, B., Alhodaly, M.: Reproducing kernel approach for numerical solutions of fuzzy fractional initial value problems under the Mittag\u2013Leffler Kernel differential operator. Math. Methods Appl. Sci. 46, 7965\u20137986 (2023)","journal-title":"Math. Methods Appl. Sci."},{"key":"286_CR38","doi-asserted-by":"publisher","first-page":"7807","DOI":"10.1002\/mma.7228","volume":"46","author":"O Abu-Arqub","year":"2023","unstructured":"Abu-Arqub, O., Singh, J., Alhodaly, M.: Adaptation of kernel functions-based approach with Atangana\u2013Baleanu\u2013Caputo distributed order derivative for solutions of fuzzy fractional Volterra and Fredholm integrodifferential equations. Math. Methods Appl. Sci. 46, 7807\u20137834 (2023)","journal-title":"Math. Methods Appl. Sci."},{"key":"286_CR39","first-page":"123","volume":"51","author":"L Guo","year":"2022","unstructured":"Guo, L., Wang, Q., Xue, W., Guo, J.: Detection of mask wearing in dim light based on attention mechanism. Dianzi Keji Daxue Xuebao\/J. Univ. Electron. Sci. Technol. China 51, 123\u2013129 (2022)","journal-title":"Dianzi Keji Daxue Xuebao\/J. Univ. Electron. Sci. Technol. China"},{"key":"286_CR40","doi-asserted-by":"crossref","unstructured":"Xue, B., Hu, J., Zhang, P.: Intelligent detection and recognition system for mask wearing based on improved RetinaFace algorithm. In: 2020 2nd International Conference on Machine Learning, Big Data and Business Intelligence (MLBDBI), pp. 474\u2013479. IEEE (2020)","DOI":"10.1109\/MLBDBI51377.2020.00100"},{"key":"286_CR41","doi-asserted-by":"crossref","unstructured":"Shuai, Z., Feng, S.: Face Recognition Method of Mask Occlusion. In: 2021 IEEE International Conference on Smart Internet of Things (SmartIoT), pp 82\u201388. IEEE (2021)","DOI":"10.1109\/SmartIoT52359.2021.00022"},{"issue":"1","key":"286_CR42","doi-asserted-by":"publisher","DOI":"10.1088\/1742-6596\/1757\/1\/012140","volume":"1757","author":"H Deng","year":"2021","unstructured":"Deng, H., Zhang, J., Chen, L., et al.: Improved mask wearing detection algorithm for SSD. J. Phys. Conf. Ser. 1757(1), 012140 (2021)","journal-title":"J. Phys. Conf. Ser."},{"key":"286_CR43","unstructured":"Bochkovskiy, A., Wang, C. Y., Liao, H. Y. M.: Yolov4: Optimal speed and accuracy of object detection.\u00a0arXiv preprint (2020) https:\/\/arXiv.org\/2004.10934"}],"container-title":["International Journal of Computational Intelligence Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s44196-023-00286-7.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s44196-023-00286-7\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s44196-023-00286-7.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2023,6,18]],"date-time":"2023-06-18T04:03:57Z","timestamp":1687061037000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s44196-023-00286-7"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,6,18]]},"references-count":43,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2023,12]]}},"alternative-id":["286"],"URL":"https:\/\/doi.org\/10.1007\/s44196-023-00286-7","relation":{},"ISSN":["1875-6883"],"issn-type":[{"value":"1875-6883","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,6,18]]},"assertion":[{"value":"7 April 2023","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"11 June 2023","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"18 June 2023","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"All authors have read and approved the version of the article, and due care has been taken to ensure the integrity of the work. No part of this paper has been published or submitted elsewhere. No conflict of interest exists in the submission of this manuscript.","order":2,"name":"Ethics","group":{"name":"EthicsHeading","label":"Conflict of Interest"}}],"article-number":"104"}}