• P-ISSN 0974-6846 E-ISSN 0974-5645

Indian Journal of Science and Technology


Indian Journal of Science and Technology

Year: 2023, Volume: 16, Issue: 25, Pages: 1888-1897

Original Article

Face Mask Detection and Social Distance Monitoring with Deep Learning

Received Date:10 January 2023, Accepted Date:07 June 2023, Published Date:27 June 2023


Objectives: This work proposes a real-time classification model that can accurately detect whether an individual is wearing a face mask and maintaining social distance with the goal of developing a lightweight and easily deployable system for surveillance purposes. Methods: The proposed method easily identifies the human by bounding boxes and wearing of face mask by realtime Face Detection Recognition System. This is a robust model that involves detection, tracking and validation as its features. Pre trained deep learning models like Inceptionv3, DenseNet are used and compared with the proposed Improved MobileNetv2. A tested deep learning model is developed to check social distancing, which uses the YOLO object detector and computes the Euclidean distance between people to confirm the safety of the system. Finally, the proposed method is evaluated in terms of precision, recall, F1-score, support, accuracy, sensitivity and specificity. Findings: The analysis of the results reveals that the improved MobileNetv2 model achieves precision of 98%, recall of 98% and accuracy of 98%. Hence, this deep learning system contributes to the management of COVID-19 outbreak in an efficient way and can be installed for operation in public places like shopping malls, stadiums etc. Novelty: The proposed system can be effortlessly integrated into embedded devices that have limited computational capabilities to the detection of face masks in photographs and real-time videos.

Keywords: Human Detection; Improved Mobilenetv2; Face Mask Detection; YOLO


  1. Ghadekar P, Singh G, Datta J, Gupta AK, Anand DS, Khare S, et al. COVID-19 Face Mask Detection using Deep Convolutional Neural Networks & Computer Vision. Indian Journal of Science and Technology. 2021;14(38):2899–2915. Available from: https://doi.org/10.17485/IJST/v14i38.996
  2. Walia IS, Kumar D, Sharma K, Hemanth JD, Popescu DE. An Integrated Approach for Monitoring Social Distancing and Face Mask Detection Using Stacked ResNet-50 and YOLOv5. Electronics. 2021;10(23):2996. Available from: https://doi.org/10.3390/electronics10232996
  3. Joolfoo MBA, Hosany MA. Machine Learning Solutions in Combating COVID-19: State of the Art and Challenges. Athens Journal of Technology & Engineering. 2023:1–18. Available from: https://www.athensjournals.gr/technology/2022-4777-AJTE-Joolfoo-05.pdf
  4. Javed I, Butt MA, Khalid S, Shehryar T, Amin R, Syed AM, et al. Face mask detection and social distance monitoring system for COVID-19 pandemic. Multimedia Tools and Applications. 2023;82(9):14135–14152. Available from: https://doi.org/10.1007/s11042-022-13913-w
  5. Ahamad AH, Zaini N, Latip MFA. Person Detection for Social Distancing and Safety Violation Alert based on Segmented ROI. 2020 10th IEEE International Conference on Control System, Computing and Engineering (ICCSCE). 2020;p. 113–118. Available from: https://doi.org/10.1109/ICCSCE50387.2020.9204934
  6. Kaur G, Sinha R, Tiwari PK, Yadav SK, Pandey P, Raj R, et al. Face mask recognition system using CNN model. Neuroscience Informatics. 2022;2(3):100035. Available from: https://doi.org/10.1016/j.neuri.2021.100035
  7. Teboulbi S, Messaoud S, Hajjaji MA, Mtibaa A. Real-Time Implementation of AI-Based Face Mask Detection and Social Distancing Measuring System for COVID-19 Prevention. Scientific Programming. 2021;2021:1–21. Available from: https://doi.org/10.1155/2021/8340779
  8. Meivel S, Sindhwani N, Anand R, Pandey D, Alnuaim AA, Altheneyan AS, et al. Mask Detection and Social Distance Identification Using Internet of Things and Faster R-CNN Algorithm. Computational Intelligence and Neuroscience. 2022;2022:1–13. Available from: https://doi.org/10.1155/2022/2103975
  9. Vu HN, Nguyen MH, Pham C. Masked face recognition with convolutional neural networks and local binary patterns. Applied Intelligence. 2022;52(5):5497–5512. Available from: https://doi.org/10.1007/s10489-021-02728-1
  10. Goyal H, Sidana K, Singh C, Jain A, Jindal S. A real time face mask detection system using convolutional neural network. Multimedia Tools and Applications. 2022;81(11):14999–15015. Available from: https://doi.org/10.1007/s11042-022-12166-x
  11. Sethi S, Kathuria M, Kaushik T. Face mask detection using deep learning: An approach to reduce risk of Coronavirus spread. Journal of Biomedical Informatics. 2021;120:103848. Available from: https://doi.org/10.1016/j.jbi.2021.103848
  12. Kumar A, Kaur A, Kumar M. Face detection techniques: a review. Artificial Intelligence Review. 2019;52(2):927–948. Available from: https://doi.org/10.1007/s10462-018-9650-2
  13. Lakshmanan K, John K, Simon RM, Aaditya. Face Mask Detection and Social Distance Monitor. International Journal of Engineering Research & Technology (IJERT). 2022;11. Available from: https://doi.org/10.17577/IJERTV11IS060192
  14. Kalsait S, Pote S, Muskande S, Patil OSS. Face Mask Detection and Social Distance Monitoring using Machine Learning Architecture. International Journal of Innovative Science and Research Technology. 2022;7(3):1189–1190. Available from: https://doi.org/10.5281/zenodo.6463272
  15. Swetha S, Vijayalakshmi J, Gomathi S. Social Distancing and Face Mask Monitoring System Using Deep Learning Based on COVID-19 Directive Measures. 2021 4th International Conference on Computing and Communications Technologies (ICCCT). 2021;p. 520–526. Available from: https://doi.org/10.1109/ICCCT53315.2021.9711880
  16. Bodini M. A Review of Facial Landmark Extraction in 2D Images and Videos Using Deep Learning. Big Data and Cognitive Computing. 2019;3(1):14. Available from: https://doi.org/10.3390/bdcc3010014
  17. Singh R, Ahmed T, Singh R, Udmale SS, Singh SK. Identifying tiny faces in thermal images using transfer learning. Journal of Ambient Intelligence and Humanized Computing. 2020;11(5):1957–1966. Available from: https://doi.org/10.1007/s12652-019-01470-4
  18. Yang D, Yurtsever E, Renganathan V, Redmill KA, Özgüner Ü. A Vision-Based Social Distancing and Critical Density Detection System for COVID-19. Sensors. 2021;21(13):4608. Available from: https://doi.org/10.3390/s21134608
  19. Nagrath P, Jain R, Madan A, Arora R, Kataria P, Hemanth J. SSDMNV2: A real time DNN-based face mask detection system using single shot multibox detector and MobileNetV2. Sustainable Cities and Society. 2021;66:102692. Available from: https://doi.org/10.1016/j.scs.2020.102692


© 2023 Kala et al. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Published By Indian Society for Education and Environment (iSee)


Subscribe now for latest articles and news.