Skip to main content

Deep Learning Based Facial Mask Detection Using Mobilenetv2

  • Conference paper
  • First Online:
Computational Intelligence in Pattern Recognition (CIPR 2022)

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

Abstract

The Covid-19 pandemic has had a profound effect on our daily lives. One of the most effective ways to protect ourselves from this virus is to wear face masks. This research paper introduces face mask detection that authorities can use to reduce and prevent COVID-19. The face mask recognition process in this research paper is done with a deep learning algorithm and image processing done using MobileNetV2. Steps to build the model are data collection, pre-processing, data classification, model training and model testing. The authors came up with this approach due to the recent Covid-19 situations for following specific guidelines and the uprising trend of Artificial Intelligence and Machine Learning and its real-world practices. This system has been made to detect more than one person whether they are wearing masks or not. This system also gives us the Covid cases-related worldwide updates as per our chosen country and type of cases like total cases, total deaths etc. Such systems are already available, but the efficiency of the available mask detection systems was not achieved thoroughly. This newly developed system proposes to take a step further, which recognizes more than one person at a time and increases the accuracy level to a much greater extent.

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 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

Institutional subscriptions

References

  1. W.H.O.: Coronavirus disease 2019 (COVID-19): situation report, 205 (2020). Available from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8083870. Accessed 23 Dec 2021 [Online]

  2. Centres for Disease Control and Prevention.: Coronavirus disease 2019 (COVID-19) – symptoms (2020) [Online]. Available from https://www.cdc.gov/coronavirus/2019-ncov/index.html. Accessed 15 Dec 2021

  3. Cdc.gov.: Coronavirus — human coronavirus types — CDC (2020) [Online]. Available from: https://www.cdc.gov/coronavirus/types.html. Accessed 13 Jan 2022

  4. W.H.O.: Advice on the use of masks in the context of COVID-19: interim guidance (2020). Available from: https://apps.who.int/iris/handle/10665/331693. Accessed 18 Dec 2021

  5. K. Team.: Kera’s documentation: about Keras. Keras.io (2020) [Online]. Available from: https://keras.io/about. Accessed 10 Jan 2022

  6. Meena, D., Sharan, R.: An approach to face detection and recognition. In: International Conference on Recent Advances and Innovations in Engineering (ICRAIE), pp. 1–6, Jaipur (2016). https://doi.org/10.1109/ICRAIE.2016.7939462. Available from: https://ieeexplore.ieee.org/document/7939462

  7. Ge, S., Li, J., Ye, Q., Luo, Z.: Detecting masked faces in the wild with LLE-CNNs. In: 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 426–434, Honolulu, HI (2017). https://doi.org/10.1109/CVPR.2017.53. Available from: https://ieeexplore.ieee.org/document/8099536

  8. Wang, Z., et al.: Masked face recognition dataset and application. arXiv preprint arXiv:2003.09093 (2020). Available from: https://arxiv.org/abs/2003.09093

  9. Kumar, A., Kaur, A., Kumar, M.: Face detection techniques: a review. Artif. Intell. Rev. 52(2), 927–948 (2018). https://doi.org/10.1007/s10462-018-9650-2

    Article  Google Scholar 

  10. Girshick, R.: Fast r-cnn. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 1440–1448 (2015). Available from: https://ieeexplore.ieee.org/document/7410526

  11. Girshick, R., Donahue, J., Darrell, T., Malik, J.: Rich feature hierarchies for accurate object detection and semantic segmentation. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 580–587 2014. Available from: https://ieeexplore.ieee.org/document/6909475

  12. Woo, S., Park, J., Lee, J.-Y., Kweon, I. S.: Cbam: Convolutional block attention module (2018). Available from: https://arxiv.org/abs/1807.06521

  13. Felzenszwalb, P., McAllester, D., Ramanan, D.: A discriminatively trained, multiscale, deformable part model. In: 2008 IEEE Conference on Computer Vision and Pattern Recognition, pp. 1–8. IEEE (2008). Available from: https://ieeexplore.ieee.org/document/4587597

  14. Redmon, J., Divvala, S., Girshick, R., Farhadi, A.: You only look once: unified, real-time object detection. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 779–788 (2016). Available from: https://ieeexplore.ieee.org/document/7780460

  15. Ren, S., He, K., Girshick, R., Sun, J.: Faster r-cnn: Towards real-time object detection with region proposal networks. In: Advances in Neural Information Processing Systems, pp. 91–99 (2015). Available from: https://papers.nips.cc/paper/2015/hash/14bfa6bb14875e45bba028a21ed38046-Abstract.html

  16. Lee, D.-H., Chen, K.-L., Liou, K.-H. , Liu, C.-L., Liu, J.-L.: Deep learning and control algorithms of direct perception for autonomous driving. arXiv preprint arXiv:1910.12031 (2019)

  17. Wang, C.Y., Liao, H.Y.M., Wu, Y.H., Chen, P.Y., Yeh, I.H.: CSPNet: a new backbone that can enhance learning capability of CNN. In: Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), Seattle, WA, USA, 14–19 June 2020. Available from: https://arxiv.org/abs/1911.11929

  18. Neubeck, A., Gool, L.: Efficient non-maximum suppression. In: Proceedings of the 18th International Conference on Pattern Recognition (ICPR’06), vol. 3, pp. 850–855, Hong Kong, China, 20–24 Aug 2006. Available from: https://ieeexplore.ieee.org/document/1699659

  19. Uijlings, J.R.R., Sande, K.E.A.v.d., Gevers, T., Smeulders, A.W.M.: Selective search for object recognition. Int. J. Comput. Vis. 104, 154–171 (2013). Available from: https://doi.org/10.1007/s11263-013-0620-5

  20. Keys, R.: Cubic convolution interpolation for digital image processing. In: IEEE Transactions on Acoustics, Speech, and Signal Processing, vol. 29, pp. 1153–1160. IEEE, Piscataway, NJ, USA (1981). Available from: https://ieeexplore.ieee.org/document/1163711

  21. Loey, M.; Manogaran, G.; Taha, M.; Khalifa, N.E.: Fighting against COVID-19: a novel deep learning model based on YOLO-v2 with ResNet-50 for medical face mask detection. Sustain. Cities Soc. 65, 102600 (2020). Available from: https://pubmed.ncbi.nlm.nih.gov/33200063/

  22. 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 (2020). Available from: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7386450/

  23. Krizhevsky, A., Sutskever, I., Hinton, G.: Imagenet classification with deep convolutional neural networks. Neural Inf. Process. Syst. 25 (2012). Available from: https://doi.org/10.5555/2999134.2999257

  24. Giger, M.L., Suzuki, K.: Computer-aided diagnosis. In: Biomedical Information Technology, pp. 359–374. Academic Press, Cambridge, MA, USA (2008). Available from: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3810349/

  25. Buciu, I.: Color quotient-based mask detection. In: Proceedings of the 2020 International Symposium on Electronics and Telecommunications (ISETC), pp. 1–4, Timisoara, Romania, 5–6 Nov 2020. Available from: https://www.mdpi.com/1424-8220/21/9/3263/htm

  26. Zhang, H., Li, D., Ji, Y., Zhou, H., Wu, W., Liu, K.: Toward new retail: a benchmark dataset for smart unmanned vending machines. IEEE Trans. Ind. Inform. 16, 7722–7731 (2020). Available from: https://ieeexplore.ieee.org/document/8908822

  27. Lin, T.-Y., Dollár, P., Girshick, R., He, K., Hariharan, B., Belongie, S.: Feature pyramid networks for object detection. In: Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition, pp. 936–944, Honolulu, HI, USA, 21–26 July 2017. Available from: https://arxiv.org/abs/1612.03144

  28. Dalal, N., Triggs, B.: Histograms of oriented gradients for human detection. In: 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’05), vol. 1, pp. 886–893. IEEE (2005). Available from: https://ieeexplore.ieee.org/document/1467360

  29. Face Mask Detection Dataset. Available from: https://fmd-dataset.vercel.app/. Accessed 12 Jan 2022

  30. Intution of Adam Optimizer. Available from: https://www.geeksforgeeks.org/intuition-of-adam-optimizer/. Accessed 10 Jan 2022

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sudipta Basu Pal .

Editor information

Editors and Affiliations

Ethics declarations

Declaration of Competing Interests

The authors declare that they have no known competing monetary interests or personal relationships that could have appeared to influence the work reported in this paper.

Rights and permissions

Reprints and permissions

Copyright information

© 2022 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

Goswami, A., Bhattacharjee, B., Debnath, R., Sikder, A., Basu Pal, S. (2022). Deep Learning Based Facial Mask Detection Using Mobilenetv2. In: Das, A.K., Nayak, J., Naik, B., Vimal, S., Pelusi, D. (eds) Computational Intelligence in Pattern Recognition. CIPR 2022. Lecture Notes in Networks and Systems, vol 480. Springer, Singapore. https://doi.org/10.1007/978-981-19-3089-8_8

Download citation

Publish with us

Policies and ethics