Face Mask Detection in Real-Time using Mobile Netv2
Mohamed Almghraby1, Abdelrady Okasha Elnady2

1Mohamed Almghraby, UG Student, Department of Mechatronics, Faculty of Engineering October 6 University, Egypt
2Abdelrady Okasha Elnady*, Head, Department of Mechatronics, Faculty of Engineering October 6 University, Egypt
Manuscript received on August 06, 2021. Revised Manuscript received on August 17, 2021. Manuscript published on August 30, 2021.| PP: 104-108 | Volume-10 Issue-6, August 2021 | Retrieval Number: 100.1/ijeat.F30500810621 | DOI: 10.35940/ijeat.F3050.0810621
Open Access | Ethics and  Policies | Cite | Mendeley
© The Authors. Blue Eyes Intelligence Engineering and Sciences Publication (BEIESP). This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/)

Abstract: Face mask detection has made considerable progress in the field of computer vision since the start of the Covid-19 epidemic. Many efforts are being made to develop software that can detect whether or not someone is wearing a mask. Many methods and strategies have been used to construct face detection models. A created model for detecting face masks is described in this paper, which uses “deep learning”, “TensorFlow”, “Keras”, and “OpenCV”. The MobilenetV2 architecture is used as a foundation for the classifier to perform real-time mask identification. The present model dedicates 80 percent of the training dataset to training and 20% to testing, and splits the training dataset into 80% training and 20% validation, resulting in a final model with 65 percent of the dataset for training, 15 percent for validation, and 20% for testing. The optimization approach used in this experiment is “stochastic gradient descent” with momentum (“SGD”), with a learning rate of 0.001 and momentum of 0.85. The training and validation accuracy rose until they reached their maximal peak at epoch 12, with 99% training accuracy and 98% validation accuracy. The model’s training and validation losses both reduced until they reached their lowest at epoch 12, with a validation loss of 0.050% and a training loss of less than 0.025%. This system allows for real-time detection of someone is missing the appropriate face mask. This model is particularly resource-efficient when it comes to deployment, thus it can be employed for safety. So, this technique can be merged with embedded application systems at public places and public services places as airports, trains stations, workplaces, and schools to ensure subordination to the guidelines for public safety. The current version is compatible with both IP and non-IP cameras. Web and desktop apps can use the live video feed for detection. The program can also be linked to the entrance gates, allowing only those who are wearing masks to enter. It can also be used in shopping malls and universities
Keywords: Coronavirus, Computer vision, Face Mask Detection, CoVid-19, MobileNetV2
Scope of the Article: Computer Vision