skip to main content
10.1145/3592307.3592315acmotherconferencesArticle/Chapter ViewAbstractPublication PagesiceccConference Proceedingsconference-collections
research-article

Mask Wearing Detection in Dim Lighting Conditions based on Improved YOLOv5

Published:14 August 2023Publication History

ABSTRACT

The COVID-19 epidemic is still rampant around the world. Wearing masks can effectively block the spread of novel coronavirus, while mask wearing detection can timely remind people in public places to wear masks. In order to solve the problem of low accuracy of mask wearing detection under under dim lighting conditions, an improved YOLOv5 algorithm is proposed. Firstly, the Low Light Intensity Image Enhancement module (LLIIE) was embedded into the original YOLOv5 algorithm to improve the algorithm's night vision ability; Secondly, we added the Convolutional Block Attention Module (CBAM) to enhance feature extraction ability; The CIoU loss function is used to replace the original loss function, which makes the detected target position more accurate. The improved YOLOv5 algorithm is trained and tested on the self-built dataset, and its mean Average Precision, Accuracy and Recall reach 87.1%, 89.3% and 82.7% respectively. The experimental results show that the improved YOLOv5 algorithm has the best detection performance and higher practical value compared with other excellent algorithms in dim light condition.

References

  1. Y. Pathak, P. K. Shukla and K. V. Arya, "Deep Bidirectional Classification Model for COVID-19 Disease Infected Patients," in IEEE/ACM Transactions on Computational Biology and Bioinformatics, vol. 18, no. 4, pp. 1234-1241, 1 July-Aug. 2021, doi: 10.1109/TCBB.2020.3009859. ZHANG S F. 2017. Study for Low-Altitude Slow and Small Target Radar Detecting. J. Modern Navigation 8, 6 (2017), 436-440.Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Sommana , "Development of a face mask detection pipeline for mask-wearing monitoring in the era of the COVID-19 pandemic: A modular approach," 2022 19th International Joint Conference on Computer Science and Software Engineering (JCSSE), Bangkok, Thailand, 2022, pp. 1-6, doi: 10.1109/JCSSE54890.2022.9836283.Google ScholarGoogle ScholarCross RefCross Ref
  3. Y. Han, C. Dai and D. Liu, "Detection of Face Mask Wearing for COVID-19 Protection based on Transfer Learning and Classic CNN Model," 2022 IEEE International Conference on Networking, Sensing and Control (ICNSC), Shanghai, China, 2022, pp. 1-7, doi: 10.1109/ICNSC55942.2022.10004063.Google ScholarGoogle ScholarCross RefCross Ref
  4. T. Hayashi and Y. Kadosaki, "Fast and Accurate Template Matching with Silhouette Masking," 2010 IEEE/ACIS 9th International Conference on Computer and Information Science, Yamagata, Japan, 2010, pp. 258-263, doi: 10.1109/ICIS.2010.115.Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. A. Krizhevsky, I. Sutskever, and G. E. Hinton. 2012. ImageNet classification with deep convolutional neural networks. J. ACM 60, 5 (May 2012), 84–90. https://doi.org/10.1145/3065386.Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Simonyan, Karen and Andrew Zisserman. “Very Deep Convolutional Networks for Large-Scale Image Recognition.” CoRR abs/1409.1556 (2014): n. pag.Google ScholarGoogle Scholar
  7. C. Szegedy , "Going deeper with convolutions," 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Boston, MA, USA, 2015, pp. 1-9, doi: 10.1109/CVPR.2015.7298594.Google ScholarGoogle ScholarCross RefCross Ref
  8. K. He, X. Zhang, S. Ren and J. Sun, "Deep Residual Learning for Image Recognition," 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 2016, pp. 770-778, doi: 10.1109/CVPR.2016.90.Google ScholarGoogle ScholarCross RefCross Ref
  9. R. Girshick, J. Donahue, T. Darrell, and J. Malik. 2014. Rich feature hierarchies for accurate object detection and semantic segmentation. IEEE Conf. Compute. Vis. Pattern Recognition, 580-587Google ScholarGoogle Scholar
  10. S. Ren, K. He, R. Girshick, and J. Sun. 2015. Faster R-CNN: Towards real-time object detection with region proposal networks. Adv. Neural Inf. Process. Syst, 2015, 91–99.Google ScholarGoogle Scholar
  11. W. Liu, D. Anguelov, D. Erhan, C. Szegedy, S. Reed, C.-Y. Fu, and A. C. Berg. 2016. SSD: Single shot multibox detector. Eur. Conf. Comput. Vis. Cham, Switzerland: Springer, 21–37.Google ScholarGoogle Scholar
  12. J. Redmon, S. Divvala, R. Girshick, and A. Farhadi. 2016. You only look once: Unified, real-time object detection. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR), 779–788.Google ScholarGoogle Scholar
  13. J. Redmon and A. Farhadi. 2017. YOLO9000: Better, faster, stronger. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR), 6517–6525.Google ScholarGoogle Scholar
  14. J. Redmon and A. Farhadi. 2018. YOLOv3: An incremental improvement. arXiv:1804.02767.Google ScholarGoogle Scholar
  15. WEI M J, ZHOU T Y, JI Z L, Detection method of mask wearing in public places based on YOLOv3[J]. Journal of Guangxi Normal University (Natural Science Edition), 2023, 41(1)Google ScholarGoogle Scholar
  16. NIU J L, GAO L P, ZHANG L, XIE X Y, 2022. Research on Face Recognition Method of Wearing Mask Based on SSD algorithm. Computer simulation, 1006-9348(2022) 08-0204-04.Google ScholarGoogle Scholar
  17. Al-Ameen, Zohair. “Nighttime image enhancement using a new illumination boost algorithm.” IET Image Process. 13 (2019): 1314-1320.Google ScholarGoogle ScholarCross RefCross Ref
  18. S. Woo, J. Park, J.-Y. Lee, and I. S. Kweon. 2018. CBAM: Convolutional Block Attention Module. in Computer Vision – ECCV 2018, 3–19. https://doi.org/10.1007/978-3-030-01234-21Google ScholarGoogle ScholarCross RefCross Ref
  19. D. Chen and D. Miao. 2021. Control Distance IoU and Control Distance IoU Loss Function for Better Bounding Box Regression. arXiv, http://arxiv.org/abs/2103.11696Google ScholarGoogle Scholar
  20. Liu, S.; Qi, L.; Qin, H.; Shi, J.; Jia, J. Path Aggregation Network for Instance Segmentation. 2018 IEEE/CVF Conference on Computer 830 Vision and Pattern Recognition 2018, pp. 8759–8768.Google ScholarGoogle Scholar
  21. H. Rezatofighi, N. Tsoi, J. Gwak, A. Sadeghian, I. Reid and S. Savarese, "Generalized Intersection Over Union: A Metric and a Loss for Bounding Box Regression," 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA, 2019, pp. 658-666, doi: 10.1109/CVPR.2019.00075.Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. Mask Wearing Detection in Dim Lighting Conditions based on Improved YOLOv5

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Other conferences
      ICECC '23: Proceedings of the 2023 6th International Conference on Electronics, Communications and Control Engineering
      March 2023
      316 pages
      ISBN:9798400700002
      DOI:10.1145/3592307

      Copyright © 2023 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 14 August 2023

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article
      • Research
      • Refereed limited
    • Article Metrics

      • Downloads (Last 12 months)22
      • Downloads (Last 6 weeks)2

      Other Metrics

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    HTML Format

    View this article in HTML Format .

    View HTML Format