Open Access
ARTICLE
Automatic Real-Time Medical Mask Detection Using Deep Learning to Fight COVID-19
1 College of Computing and Informatics, Saudi Electronic University, Riyadh, Saudi Arabia
2 Computer Science and Engineering Department, Muffakham Jah College of Engineering and Technology, Osmania University, Hyderabad, Telangana, India
3 Department of Commerce and Business Management, Maulana Azad National Urdu University, Hyderabad, Telangana, India
4 Department of Accountancy, College of Administrative and Financial Sciences, Saudi Electronic University, Riyad, Saudi Arabia
* Corresponding Author: Mohammed Arshad Khan. Email:
Computer Systems Science and Engineering 2022, 42(3), 1181-1198. https://doi.org/10.32604/csse.2022.022014
Received 24 July 2021; Accepted 11 October 2021; Issue published 08 February 2022
Abstract
The COVID-19 pandemic is a virus that has disastrous effects on human lives globally; still spreading like wildfire causing huge losses to humanity and economies. There is a need to follow few constraints like social distancing norms, personal hygiene, and masking up to effectively control the virus spread. The proposal is to detect the face frame and confirm the faces are properly covered with masks. By applying the concepts of Deep learning, the results obtained for mask detection are found to be effective. The system is trained using 4500 images to accurately judge and justify its accuracy. The aim is to develop an algorithm to automatically detect a mask, but the approach does not facilitate the percentage of improper usage. Accuracy levels are as low as 50% if the mask is improperly covered and an alert is raised for improper placement. It can be used at traffic places and social gatherings for the prevention of virus transmission. It works by first locating the region of interest by creating a frame boundary, then facial points are picked up to detect and concentrate on specific features. The training on the input images is performed using different epochs until the artificial face mask detection dataset is created. The system is implemented using TensorFlow with OpenCV and Python using a Jupyter Notebook simulation environment. The training dataset used is collected from a set of diverse open-source datasets with filtered images available at Kaggle Medical Mask Dataset by Mikolaj Witkowski, Kera, and Prajna Bhandary. To simulate MobilNetV2 classifier is used to load and pre-process the image dataset for building a fully connected head. The objective is to assess the accuracy of the identification, measuring the efficiency and effectiveness of algorithms for precision, recall, and F1 score.Keywords
Cite This Article
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.