Skip to main content

Mask Compliance Detection on Facial Images

  • 805 Accesses

Part of the Lecture Notes in Networks and Systems book series (LNNS,volume 507)

Abstract

The COVID-19 pandemic has significantly changed our ways of living. Government authorities around the world have come up with safety regulations to help reduce the spread of this deadly virus. Covering the mouth and nose using facial masks is identified as an effective step to suppress the transmission of the infected droplets from one human to the other. While the usage of facial masks has been a common practice in several Asian societies, this practice is fairly new to the rest of the world including modern western societies. Hence, it can be noticed that the facial masks are either worn incorrectly (or sometimes not worn) by a significant number of people. Given the fact that the majority of the world population is only getting accustomed to this practice, it would be essential for surveillance systems to monitor if the general population is abiding by the regulatory standards of correctly wearing a facial mask. This paper uses deep learning algorithms to track and classify face masks. The research proposes a mask detection model based on Convolutional Neural Networks to discern between a correct usage of facial masks and its incorrect usages or even lack of it. Different architectures have been tested (even on real-time video streams) to obtain the best accuracy of 98.9% over four classes. These four classes include correctly worn, incorrectly worn on the chin, incorrectly worn on mouth and chin, and not wearing a mask at all. The novelty of this work is in the detection of the type of inaccuracy in wearing the face mask rather than just detecting the presence or absence of the same.

Keywords

  • Deep learning
  • Computer vision
  • Face masks detection

This is a preview of subscription content, access via your institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Flask (2010)

    Google Scholar 

  2. OpenCV (2021)

    Google Scholar 

  3. Bhuiyan, R., Khushbu, SA., Islam, S.: A deep learning based assistive system to classify COVID-19 face mask for human safety with YOLOv3. In: 2020 11th International Conference on Computing, Communication and Networking Technologies (ICCCNT), pp. 1–5 (2020)

    Google Scholar 

  4. Chavda, A., Damani, A., Dsouza, J., Badgujar, S.: Multi-stage CNN architecture for face mask detection. In: 2021 IEEE 6th International Conference for Convergence in Technology (I2CT), Pune, India, pp. 1–8 (2021)

    Google Scholar 

  5. Das, A., Ansari, M., Basak, R.: Covid-19 face mask detection using TensorFlow, Keras and OpenCV. In: 2020 IEEE 17th India Council International Conference (INDICON), New Delhi, India, pp. 1–5 (2020)

    Google Scholar 

  6. Fasfous, N., et al.: BinaryCoP: binary neural network-based COVID-19 face-mask wear and positioning predictor on edge devices. In: 2021 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW), pp. 108–115 (2021)

    Google Scholar 

  7. European Centre for Disease Prevention and Control. Using face masks in the community: first update (2021)

    Google Scholar 

  8. Johnson, J.M., Khoshgoftaar, T.M.: Survey on deep learning with class imbalance. J. Big Data 6(1), 1–54 (2019)

    CrossRef  Google Scholar 

  9. Kayali, D., Dimililer, K., Sekeroglu, B.: Face mask detection and classification for COVID-19 using deep learning. In: 2021 International Conference on INnovations in Intelligent SysTems and Applications (INISTA), pp. 1–6 (2021)

    Google Scholar 

  10. Koklu, M., Cinar, I., Taspinar, Y.S.: CNN-based bi-directional and directional long-short term memory network for determination of face mask. Biomed. Sign. Process. Control 71, 103216 (2022)

    CrossRef  Google Scholar 

  11. Loey, M., Manogaran, G., Taha, M.H.N., Khalifa, N.E.M.: Fighting against COVID-19: a novel deep learning model based on YOLO-v2 with ResNet-50 for medical face mask detection. Sustain. Urban Areas 65, 102600 (2021)

    Google Scholar 

  12. Loey, M., Manogaran, G., Taha, M.H.N., Khalifa, N.E.M.: A hybrid deep transfer learning model with machine learning methods for face mask detection in the era of the COVID-19 pandemic. Measurement 167, 108288 (2021)

    CrossRef  Google Scholar 

  13. Mohan, P., Paul, A.J., Chirania, A.: A tiny CNN architecture for medical face mask detection for resource-constrained endpoints. In: Mekhilef, S., Favorskaya, M., Pandey, R.K., Shaw, R.N. (eds.) Innovations in Electrical and Electronic Engineering. LNEE, vol. 756, pp. 657–670. Springer, Singapore (2021). https://doi.org/10.1007/978-981-16-0749-3_52

    CrossRef  Google Scholar 

  14. Nagrath, P., Jain, R., Madan, A., Arora, R., Kataria, P., Hemanth, J.: A real time DNN-based face mask detection system using single shot multibox detector and MobileNetV2. Sustain. Urban Areas 66, 102692 (2021)

    Google Scholar 

  15. Roman, K.: 500 GB of images with people wearing masks. Part 1 (2021)

    Google Scholar 

  16. Singh, S., Ahuja, U., Kumar, M., Kumar, K., Sachdeva, M.: Face mask detection using YOLOv3 and faster R-CNN models: COVID-19 environment. Multimedia Tools Appl. 80(13), 19753–19768 (2021)

    CrossRef  Google Scholar 

  17. Viola, P., Jones, M.: Rapid object detection using a boosted cascade of simple features. In: Proceedings of the 2001 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, CVPR 2001, pp. 511–518 (December 2001)

    Google Scholar 

  18. Yang, J.: A quick history of why Asians wear surgical masks in public (2014)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Lorenzo Garbagna .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and Permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Garbagna, L., Burrows, H., Babu-Saheer, L., Zarrin, J. (2022). Mask Compliance Detection on Facial Images. In: Arai, K. (eds) Intelligent Computing. SAI 2022. Lecture Notes in Networks and Systems, vol 507. Springer, Cham. https://doi.org/10.1007/978-3-031-10464-0_31

Download citation