Skip to main content

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

Abstract

With the onset of the COVID-19 pandemic, the entire world is in chaos and is talking about novel ways to prevent virus spread. People around the world are wearing masks as a precautionary measure to prevent catching this infection. While some are following and taking this measure, some are not still following despite official advice from the government and public health agencies. In this paper, a face mask detection model that can accurately detect whether a person is wearing a mask or not is proposed and implemented. The model architecture uses MobileNetV2, which is a lightweight convolutional neural network, therefore requires less computational power and can be easily embedded in computer vision systems and mobile. As a result, it can create a low-cost mask detector system that can help to identify whether a person is wearing a mask or not and act as a surveillance system as it works for both real-time images and videos. The face detector model achieved high accuracy of 99.98% on training data, 99.56% on validation data, and 99.75% on testing data.

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. WHO Naming the coronavirus disease (COVID-19) and the virus that causes it, 201, [Online]. Available: https://www.who.int/emergencies/diseases/novel-coronavirus-2019/technical-guidance/naming-the-coronavirus-disease-(covid-2019)-and-the-virus-that-causes-it

  2. CDC (2020) How COVID-19 Spreads, 2020, [Online]. Available: https://www.cdc.gov/coronavirus/2019-ncov/prevent-getting-sick/prevention.html

  3. COVID-19 Dashboard by the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University (JHU). ArcGIS. Johns Hopkins University. Retrieved 8 June 2020.

    Google Scholar 

  4. Live updates: Global cases top 5 million as WHO reports worst day yet for new infections. The Washington Post. Retrieved 21 May 2020.

    Google Scholar 

  5. India most infected by Covid-19 among Asian countries, leaves Turkey behind. Hindustan Times. 29 May 2020. Retrieved 30 May 2020.

    Google Scholar 

  6. India’s case count crosses 100,000, Delhi eases restrictions: Covid-19 news today. Hindustan Times. 19 May 2020. Retrieved 20 May 2020.

    Google Scholar 

  7. Daily COVID-19 bulletin. PIB India (@PIB_India) on Twitter. Twitter. Retrieved 3 June 2020.

    Google Scholar 

  8. Liu Y, Gayle AA, Wilder-Smith A, Rocklöv J (2020) The reproductive number of Covid-19 is higher compared to SARS coronavirus. J Travel Med

    Google Scholar 

  9. Feng S, Shen C, Xia N, Song W, Fan M, Cowling BJ (2020) Rational use of face masks in the Covid-19 pandemic. In: The Lancet Respiratory Medicine

    Google Scholar 

  10. Coronavirus: WHO advises to wear masks in public areas, reversing policy 5 June 2020, bbc.com

    Google Scholar 

  11. Masks4All, What countries require masks in public or recommend masks? 2020, [Online]. Available: https://masks4all.co/what-countries-have-mask-laws/

  12. Leung NHL, Chu DKW, Shiu EYC, Kwok-Hung C, McDevitt JJ, Hau BJP, Hui-Ling Y, Li Y, Dennis KMI, Peiris JSM et al (2020) Respiratory virus shedding in exhaled breath and efficacy of face masks. Nature Medicine, pp 1–5

    Google Scholar 

  13. Zou Z, Shi Z, Guo Y, Ye J (2019) Object detection in 20 years: A survey. arXiv preprint arXiv:1905.05055

  14. Sandler M, Howard A, Zhu M, Zhmoginov A, Chen L-C (2018) MobileNetV2: inverted residuals and linear bottlenecks. In: The IEEE conference on computer vision and pattern recognition (CVPR)

    Google Scholar 

  15. Szegedy C, Liu W, Jia Y, Sermanet P Reed SE, Anguelov D, Vanhoucke V, Rabinovich A (2015) Going deeper with convolutions. In: CVPR Dumitru Erhan

    Google Scholar 

  16. Szegedy C, Vanhoucke V, Ioffe S, Shlens J, Wojna Z (2016) Rethinking the inception architecture for computer vision. In: CVPR

    Google Scholar 

  17. He K, Zhang X, Ren S, Sun J (2016) Deep residual learning for image recognition. In: CVPR

    Google Scholar 

  18. Ren S, He K, Girshick RB, Sun J (2017) Faster R-CNN: towards real-time object detection with region proposal networks. TPAMI

    Google Scholar 

  19. Lin T, Dollár P, Girshick RB, He K, Hariharan B, Belongie SJ (2017) Feature pyramid networks for object detection. In: CVPR

    Google Scholar 

  20. Redmon J, Divvala SK, Girshick RB, Farhadi A (2016) You only look once: Unified, real-time object detection. In: CVPR

    Google Scholar 

  21. Redmon J, Farhadi A (2016) YOLO9000: better, faster, stronger. CoRR

    Google Scholar 

  22. Liu W, Anguelov D, Erhan D, Szegedy C, Reed SE, Fu C, Berg AC (2016) SSD: single shot multibox detector. In: ECCV

    Google Scholar 

  23. Lin T, Goyal P, Girshick RB, He K, Dollár P (2017) Focal loss for dense object detection. In: ICCV

    Google Scholar 

  24. Li H, Lin Z, Shen X, Brandt J, Hua G (2015) A convolutional neural network cascade for face detection. In: CVPR

    Google Scholar 

  25. Qin H, Yan J, Li X, Hu X (2016) Joint training of cascaded CNN for face detection. In: CVPR

    Google Scholar 

  26. Zhu C, Tao R, Luu K, Savvides M (2018) Seeing small faces from robust anchors perspective. In: CVPR

    Google Scholar 

  27. Zhang K, Zhang Z, Li Z, Qiao Y (2016) Joint face detection and alignment using multitask cascaded convolutional networks. SPL

    Google Scholar 

  28. Ulhaq A, Khan A, Gomes D, Paul M (2020) Computer vision for COVID-19 control: a survey. In arXiv:2004.09420

  29. Gáal G, Maga B, Lukács A (2020) Attention u-net based adversarial architectures for chest x-ray lung segmentation. arXiv preprint arXiv:2003.10304

  30. Wang Y, Hu M, Li Q, Zhang X, Zhai G, Yao N (2020) Abnormal respiratory patterns classifier may contribute to large-scale screening of people infected with Covid-19 in an accurate and unobtrusive manner

    Google Scholar 

  31. Somboonkaew A, Prempree P, Vuttivong S, Wetcharungsri J, Porntheeraphat S, Chanhorm S, Pongsoon P, Amarit R, Intaravanne Y, Chaitavon K, Sumriddetchkajorn S (2017) Mobile-platform for automatic fever screening system based on infrared forehead temperature. In: 2017 Opto-electronics and communications conference (OECC) and photonics global conference (PGC), pp 1–4

    Google Scholar 

  32. Chen J, Wu L, Zhang J, Zhang L, Gong D, Zhao Y, Hu S, Wang Y, Hu X, Zheng B et al (2020) Deep learning-based model for detecting 2019 novel coronavirus pneumonia on high-resolution computed tomography: a prospective study. medRxiv

    Google Scholar 

  33. Yang M-H, Kriegman DJ, Ahuja N (2002) Detecting faces in images: a survey. IEEE Trans Pattern Anal Mach Intell 24(1):34–58, January 2002, [Online]. Available: https://doi.org/10.1109/34.982883

  34. Viola P, Jones MJ (2004) Robust real-time face detection. Int J Comput Vision 57(2):137–154, May 2004, [Online]. Available: https://doi.org/10.1023/B:VISI.0000013087.49260.fb

  35. Zhang X, Zhou X, Lin M, Sun J (2018) ShuffleNet: an extremely efficient convolutional neural network for mobile devices. In: The ieee conference on computer vision and pattern recognition (CVPR)

    Google Scholar 

  36. Chollet F (2017) Xception: deep learning with depthwise separable convolutions. In: The IEEE conference on computer vision and pattern recognition (CVPR)

    Google Scholar 

  37. Howard AG, Zhu M, Chen B, Kalenichenko D, Wang W, Weyand T, Andreetto M, Adam H (2017) MobileNets: efficient convolutional neural networks for mobile vision applications. CoRR, vol. abs/1704.04861, 2017.

    Google Scholar 

  38. Overview of MobileNetV2 Architecture, [Online]. Available: (https://ai.googleblog.com/2018/04/mobilenetv2-next-generation-of-on.html)

  39. Jeremy W, Ventura D, Warnick S (2007)Spring research presentation: a theoretical foundation for inductive transfer. Brigham Young University, College of Physical and Mathematical Sciences. Archived from the original on 2007–08–01. Retrieved 2007–08–05.

    Google Scholar 

  40. Dataset.” [Online]. Available: https://www.kaggle.com/ashishjangra27/face-mask-12k-images-datas

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Anand Nayyar .

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

Taneja, S., Nayyar, A., Vividha, Nagrath, P. (2021). Face Mask Detection Using Deep Learning During COVID-19. In: Singh, P.K., Wierzchoń, S.T., Tanwar, S., Ganzha, M., Rodrigues, J.J.P.C. (eds) Proceedings of Second International Conference on Computing, Communications, and Cyber-Security. Lecture Notes in Networks and Systems, vol 203. Springer, Singapore. https://doi.org/10.1007/978-981-16-0733-2_3

Download citation

  • DOI: https://doi.org/10.1007/978-981-16-0733-2_3

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-16-0732-5

  • Online ISBN: 978-981-16-0733-2

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics