Skip to main content

Two-Stage Facial Mask Detection Model for Indoor Environments

  • Conference paper
  • First Online:
Proceedings of International Conference on Trends in Computational and Cognitive Engineering

Abstract

The COVID-19 pandemic has led to many organizations around the world enforcing face mask rules for personal protection. Manual checking whether individuals entering an organization's premises are wearing masks is cumbersome and possibly confrontational. There has been relatively little work on automatic face mask rule violations thus far. We propose a system for automatic monitoring for face mask rule violations for enterprises. Our method is an efficient two-stage facial mask detection model. The first stage is based on facial landmark extraction and clustering, and the second stage analyzes the clustered nose region. A thorough accuracy evaluation on five types of sample face images (no mask, beard and mustache, single-color mask, multi-color mask, and skin-color mask) finds that the overall accuracy of the two-stage model is an excellent 97.13%, outperforming simpler single-stage models.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.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

Institutional subscriptions

References

  1. Coronavirus disease 2019 (COVID-19): situation report-209. https://www.who.int/emergencies/diseases/novel-coronavirus-2019/situation-reports/. Last accessed 09 Jan 2020

  2. Coronavirus disease (COVID-19) advice for the public, https://www.who.int/emergencies/diseases/novel-coronavirus-2019/advice-for-public. Last accessed 09 Jan 2020

  3. Fong, S. J., Dey, N., & Chaki, J.: An introduction to COVID-19. In Artificial Intelligence for Coronavirus Outbreak (pp. 1–22). Springer, Singapore (2020)

    Google Scholar 

  4. Wang, Z., Wang, G., Huang, B., Xiong, Z., Hong, Q., Wu, H., ... & Chen, H.: Masked face recognition dataset and application. arXiv preprint arXiv:2003.09093 (2020)

  5. Meenpal, T., Balakrishnan, A., & Verma, A.: Facial mask detection using semantic segmentation. In 2019 4th International Conference on Computing, Communications and Security (ICCCS) (pp. 1–5). IEEE (2019)

    Google Scholar 

  6. Jiang, M., & Fan, X.: RetinaMask: a face mask detector. arXiv preprint arXiv:2005.03950 (2020)

  7. Ge, S., Li, J., Ye, Q., & Luo, Z.: Detecting masked faces in the wild with LLE-CNNS. In Proceedings of the IEEE conference on computer vision and pattern recognition (pp. 2682–2690) (2017)

    Google Scholar 

  8. Zhang, S., Zhu, X., Lei, Z., Shi, H., Wang, X., & Li, S. Z.: S3FD: Single shot scale-invariant face detector. In Proceedings of the IEEE international conference on computer vision (pp. 192–201) (2017)

    Google Scholar 

  9. King, D.E.: Dlib-ML: A Machine Learning Toolkit. the Journal of Machine Learning Research 10, 1755–1758 (2009)

    Google Scholar 

  10. Adouani, A., Henia, W. M. B., & Lachiri, Z.: Comparison of Haar-like, HOG and LBP Approaches for Face Detection in Video Sequences. In 2019 16th International Multi-Conference on Systems, Signals & Devices (SSD) (pp. 266–271). IEEE (2019)

    Google Scholar 

  11. Adouani, A., Henia, W. M. B., & Lachiri, Z.: Comparative study of face detection methods in spontaneous videos. In 2019 International Conference on Control, Automation and Diagnosis (ICCAD) (pp. 1–6). IEEE (2019)

    Google Scholar 

  12. Zhang, K., Zhang, Z., Li, Z., Qiao, Y.: Joint Face Detection and Alignment using Multitask Cascaded Convolutional Networks. IEEE Signal Process. Lett. 23(10), 1499–1503 (2016)

    Article  Google Scholar 

  13. Jain, A. K., & Dubes, R. C.: Algorithms for clustering data. Prentice-Hall, Inc. (1988)

    Google Scholar 

  14. Kovac, J., Peer, P., & Solina, F.: 2D versus 3D Colour Space Face Detection. In Proceedings EC-VIP-MC 2003. 4th EURASIP Conference focused on Video/Image Processing and Multimedia Communications (IEEE Cat. No. 03EX667) (Vol. 2, pp. 449–454). IEEE (2003)

    Google Scholar 

  15. Zereen, A. N., Corraya, S.: Detecting real time object along with the moving direction for visually impaired people. In 2016 2nd International Conference on Electrical, Computer & Telecommunication Engineering (ICECTE) (pp. 1–4). IEEE (2016)

    Google Scholar 

  16. Face-Mask-Detection.: https://github.com/chandrikadeb7/Face-Mask-Detection. Last accessed 22 July 2020

  17. Beard-Face-Dataset.: https://github.com/Keshav-Aggarwal/Beard-Face-Dataset. Last accessed 22 July 2020

  18. Wojke, N., Bewley, A., & Paulus, D.: Simple online and realtime tracking with a deep association metric. In 2017 IEEE international conference on image processing (ICIP) (pp. 3645–3649). IEEE (2017)

    Google Scholar 

  19. Redmon, J., & Farhadi, A: YOLOV3: An Incremental Improvement. arXiv preprint arXiv:1804.02767.

  20. Shape predictor.: https://github.com/codeniko/shape_predictor_81_face_landmarks. Last accessed 05 August 2020

  21. 194 face landmarks, https://theonly1.tistory.com/1163,last accessed 2020/08/05.

  22. Corraya, S., Uddin, J.: An efficient method for detecting electrical spark and fire flame from real time video. In International Symposium on Signal Processing and Intelligent Recognition Systems (pp. 359–368). Springer (2017)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Aniqua Nusrat Zereen .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Zereen, A.N., Corraya, S., Dailey, M.N., Ekpanyapong, M. (2021). Two-Stage Facial Mask Detection Model for Indoor Environments. In: Kaiser, M.S., Bandyopadhyay, A., Mahmud, M., Ray, K. (eds) Proceedings of International Conference on Trends in Computational and Cognitive Engineering. Advances in Intelligent Systems and Computing, vol 1309. Springer, Singapore. https://doi.org/10.1007/978-981-33-4673-4_48

Download citation

Publish with us

Policies and ethics