z-logo
open-access-imgOpen Access
Face Mask Detection in Real-Time using MobileNetv2
Author(s) -
Mohamed Almghraby,
Abdelrady Okasha Elnady
Publication year - 2021
Publication title -
international journal of engineering and advanced technology
Language(s) - English
Resource type - Journals
ISSN - 2249-8958
DOI - 10.35940/ijeat.f3050.0810621
Subject(s) - computer science , artificial intelligence , deep learning , classifier (uml) , stochastic gradient descent , machine learning , software deployment , convolutional neural network , face (sociological concept) , face detection , facial recognition system , software , pattern recognition (psychology) , artificial neural network , social science , sociology , programming language , operating system
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.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here