Journal article Open Access

Face Mask Detection in Real-Time using MobileNetv2

Mohamed Almghraby; Abdelrady Okasha Elnady

Citation Style Language JSON Export

  "DOI": "10.35940/ijeat.F3050.0810621", 
  "container_title": "International Journal of Engineering and Advanced Technology (IJEAT)", 
  "title": "Face Mask Detection in Real-Time using MobileNetv2", 
  "issued": {
    "date-parts": [
  "abstract": "<p>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 &ldquo;deep learning&rdquo;, &ldquo;TensorFlow&rdquo;, &ldquo;Keras&rdquo;, and &ldquo;OpenCV&rdquo;. 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 &ldquo;stochastic gradient descent&rdquo; with momentum (&ldquo;SGD&rdquo;), 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&#39;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.&nbsp;</p>", 
  "author": [
      "family": "Mohamed Almghraby"
      "family": "Abdelrady Okasha Elnady"
  "page": "104-108", 
  "volume": "10", 
  "type": "article-journal", 
  "issue": "6", 
  "id": "5413090"
Views 46
Downloads 35
Data volume 12.7 MB
Unique views 44
Unique downloads 33


Cite as