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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
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
CDC (2020) How COVID-19 Spreads, 2020, [Online]. Available: https://www.cdc.gov/coronavirus/2019-ncov/prevent-getting-sick/prevention.html
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.
Live updates: Global cases top 5 million as WHO reports worst day yet for new infections. The Washington Post. Retrieved 21 May 2020.
India most infected by Covid-19 among Asian countries, leaves Turkey behind. Hindustan Times. 29 May 2020. Retrieved 30 May 2020.
India’s case count crosses 100,000, Delhi eases restrictions: Covid-19 news today. Hindustan Times. 19 May 2020. Retrieved 20 May 2020.
Daily COVID-19 bulletin. PIB India (@PIB_India) on Twitter. Twitter. Retrieved 3 June 2020.
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
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
Coronavirus: WHO advises to wear masks in public areas, reversing policy 5 June 2020, bbc.com
Masks4All, What countries require masks in public or recommend masks? 2020, [Online]. Available: https://masks4all.co/what-countries-have-mask-laws/
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
Zou Z, Shi Z, Guo Y, Ye J (2019) Object detection in 20 years: A survey. arXiv preprint arXiv:1905.05055
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)
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
Szegedy C, Vanhoucke V, Ioffe S, Shlens J, Wojna Z (2016) Rethinking the inception architecture for computer vision. In: CVPR
He K, Zhang X, Ren S, Sun J (2016) Deep residual learning for image recognition. In: CVPR
Ren S, He K, Girshick RB, Sun J (2017) Faster R-CNN: towards real-time object detection with region proposal networks. TPAMI
Lin T, Dollár P, Girshick RB, He K, Hariharan B, Belongie SJ (2017) Feature pyramid networks for object detection. In: CVPR
Redmon J, Divvala SK, Girshick RB, Farhadi A (2016) You only look once: Unified, real-time object detection. In: CVPR
Redmon J, Farhadi A (2016) YOLO9000: better, faster, stronger. CoRR
Liu W, Anguelov D, Erhan D, Szegedy C, Reed SE, Fu C, Berg AC (2016) SSD: single shot multibox detector. In: ECCV
Lin T, Goyal P, Girshick RB, He K, Dollár P (2017) Focal loss for dense object detection. In: ICCV
Li H, Lin Z, Shen X, Brandt J, Hua G (2015) A convolutional neural network cascade for face detection. In: CVPR
Qin H, Yan J, Li X, Hu X (2016) Joint training of cascaded CNN for face detection. In: CVPR
Zhu C, Tao R, Luu K, Savvides M (2018) Seeing small faces from robust anchors perspective. In: CVPR
Zhang K, Zhang Z, Li Z, Qiao Y (2016) Joint face detection and alignment using multitask cascaded convolutional networks. SPL
Ulhaq A, Khan A, Gomes D, Paul M (2020) Computer vision for COVID-19 control: a survey. In arXiv:2004.09420
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
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
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
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
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
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
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)
Chollet F (2017) Xception: deep learning with depthwise separable convolutions. In: The IEEE conference on computer vision and pattern recognition (CVPR)
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.
Overview of MobileNetV2 Architecture, [Online]. Available: (https://ai.googleblog.com/2018/04/mobilenetv2-next-generation-of-on.html)
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.
Dataset.” [Online]. Available: https://www.kaggle.com/ashishjangra27/face-mask-12k-images-datas
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
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)