Published August 30, 2021 | Version v1
Journal article Open

Face Mask Detection in Real-Time using MobileNetv2

  • 1. UG Student, Department of Mechatronics, Faculty of Engineering October 6 University, Egypt
  • 2. Abdelrady Okasha Elnady*, Head, Department of Mechatronics, Faculty of Engineering October 6 University, Egypt
  • 1. Publisher

Description

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. 

Files

F30500810621.pdf

Files (361.8 kB)

Name Size Download all
md5:7191f469f9c0ce55de1aab591d8b2659
361.8 kB Preview Download

Additional details

Related works

Is cited by
Journal article: 2249-8958 (ISSN)

Subjects

ISSN
2249-8958
Retrieval Number
100.1/ijeat.F30500810621