A Real-time Face Mask Detection and Social Distancing System for COVID-19 using Attention-InceptionV3 Model

Authors

  • Abdullah Al Asif BRAC James P Grant School of Public Health, BRAC University, Dhaka-1213, Bangladesh
  • Farhana Chowdhury Tisha Department of Computer Science and Engineering, East West University, Dhaka-1212, Bangladesh

DOI:

https://doi.org/10.38032/jea.2022.01.001

Keywords:

COVID-19, Real-time, Social Distancing, Facemask Detection, Attention, InceptionV3, Euclidean Distance, CNN

Abstract

One of the deadliest pandemics is now happening in the current world due to COVID-19. This contagious virus is spreading like wildfire around the whole world. To minimize the spreading of this virus, World Health Organization (WHO) has made protocols mandatory for wearing face masks and maintaining 6 feet physical distance. In this paper, we have developed a system that can detect the proper maintenance of that distance and people are properly using masks or not. We have used the customized attention-inceptionv3 model in this system for the identification of those two components. We have used two different datasets along with 10,800 images including both with and without Face Mask images. The training accuracy has been achieved 98% and validation accuracy 99.5%. The system can conduct a precision value of around 98.2% and the frame rate per second (FPS) was 25.0. So, with this system, we can identify high-risk areas with the highest possibility of the virus spreading zone. This may help authorities to take necessary steps to locate those risky areas and alert the local people to ensure proper precautions in no time.

References

Coronavirus Cases. Available: https://www.worldometers.info/coronavirus/ (Accessed Sep. 25, 2021).

A guide to WHO’s guidance on COVID-19, 2020. https://www.who.int/news-room/feature-stories/detail/a-guide-to-who-s-guidance (Accessed Sep. 25, 2021).

Jhunjhunwala, A., 2020. Role of telecom network to manage COVID-19 in India: Aarogya Setu. Transactions of the Indian National Academy of Engineering, 5(2), pp.157-161. DOI: https://doi.org/10.1007/s41403-020-00109-7

Xin, T., Guo, B., Wang, Z., Wang, P., Lam, J.C.K., Li, V. and Yu, Z., 2018. Freesense: a robust approach for indoor human detection using wi-fi signals. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, 2(3), pp.1-23. DOI: https://doi.org/10.1145/3264953

R. Karim, “Illustrated: 10 CNN Architectures,” 2019. https://towardsdatascience.com/illustrated-10-cnn-architectures-95d78ace614d (Accessed Sep. 25, 2021).

Rezaei, M. and Azarmi, M., 2020. Deepsocial: Social distancing monitoring and infection risk assessment in covid-19 pandemic. Applied Sciences, 10(21), p.7514. DOI: https://doi.org/10.3390/app10217514

Saponara, S., Elhanashi, A. and Gagliardi, A., 2021. Implementing a real-time, AI-based, people detection and social distancing measuring system for Covid-19. Journal of Real-Time Image Processing, 18(6), pp.1937-1947. DOI: https://doi.org/10.1007/s11554-021-01070-6

Vinh, T.Q. and Anh, N.T.N., 2020, November. Real-Time Face Mask Detector Using YOLOv3 Algorithm and Haar Cascade Classifier. In 2020 International Conference on Advanced Computing and Applications (ACOMP) (pp. 146-149). IEEE. DOI: https://doi.org/10.1109/ACOMP50827.2020.00029

Jiang, X., Gao, T., Zhu, Z. and Zhao, Y., 2021. Real-time face mask detection method based on YOLOv3. Electronics, 10(7), p.837. DOI: https://doi.org/10.3390/electronics10070837

Hou, Y.C., Baharuddin, M.Z., Yussof, S. and Dzulkifly, S., 2020, August. Social distancing detection with deep learning model. In 2020 8th International Conference on Information Technology and Multimedia (ICIMU) (pp. 334-338). IEEE. DOI: https://doi.org/10.1109/ICIMU49871.2020.9243478

Martinez, M., Yang, K., Constantinescu, A. and Stiefelhagen, R., 2020. Helping the blind to get through COVID-19: Social distancing assistant using real-time semantic segmentation on RGB-D video. Sensors, 20(18), p.5202. DOI: https://doi.org/10.3390/s20185202

Militante, S.V. and Dionisio, N.V., 2020, August. Real-time facemask recognition with alarm system using deep learning. In 2020 11th IEEE Control and System Graduate Research Colloquium (ICSGRC) (pp. 106-110). IEEE. DOI: https://doi.org/10.1109/ICSGRC49013.2020.9232610

Krishna, K.P. and Harshita, S., 2021, Social Distancing and Face Mask Detection Using Deep Learning. 6(6), pp. 114–120.

Milton-Barker, A., 2019. Inception V3 Deep Convolutional Architecture For Classifying Acute Myeloid/Lymphoblastic Leukemia. Intel. Available: https://software.intel.com/content/www/us/en/develop/articles/inception-v3-deep-convolutional-architecture-for-classifying-acute-myeloidlymphoblastic.html (Accessed Jun. 02, 2021).

Tristan, Visual Attention Model in Deep Learning. Available: https://towardsdatascience.com/visual-attention-model-in-deep-learning-708813c2912c?fbclid=IwAR144qRT028EzciqcCWVMDZ90A5KB23JoudhlEjKi4Hoywo8MJ8Xk8hyWA0.

“Mask Dataset,” 2020. Avaialble: https://makeml.app/datasets/mask (Accessed Jun. 02, 2021).

“bing-image-downloader,” 2021. https://pypi.org/project/bing-image-downloader/ (Accessed Jun. 02, 2021).

Das, A.K., Al Asif, A., Paul, A. and Hossain, M.N., 2021. Bangla hate speech detection on social media using attention-based recurrent neural network. Journal of Intelligent Systems, 30(1), pp.578-591. DOI: https://doi.org/10.1515/jisys-2020-0060

Ansari, M. and Singh, D.K., 2021. Monitoring social distancing through human detection for preventing/reducing COVID spread. International Journal of Information Technology, 13(3), pp.1255-1264. DOI: https://doi.org/10.1007/s41870-021-00658-2

Gupta, S., Kapil, R., Kanahasabai, G., Joshi, S.S. and Joshi, A.S., 2020, September. SD-measure: a social distancing detector. In 2020 12th International Conference on Computational Intelligence and Communication Networks (CICN) (pp. 306-311). IEEE. DOI: https://doi.org/10.1109/CICN49253.2020.9242628

Yadav, S., 2020. Deep learning based safe social distancing and face mask detection in public areas for covid-19 safety guidelines adherence. International Journal for Research in Applied Science and Engineering Technology, 8(7), pp.1368-1375. DOI: https://doi.org/10.22214/ijraset.2020.30560

Downloads

Published

04-03-2022
  • Abstract view265

How to Cite

Asif, A. A., & Tisha, F. C. (2022). A Real-time Face Mask Detection and Social Distancing System for COVID-19 using Attention-InceptionV3 Model. Journal of Engineering Advancements, 3(01), 1–5. https://doi.org/10.38032/jea.2022.01.001

Issue

Section

Research Articles