An Efficient and Effective Deep Learning-Based Model for Real-Time Face Mask Detection

Sensors (Basel). 2022 Mar 29;22(7):2602. doi: 10.3390/s22072602.

Abstract

Since December 2019, the COVID-19 pandemic has led to a dramatic loss of human lives and caused severe economic crises worldwide. COVID-19 virus transmission generally occurs through a small respiratory droplet ejected from the mouth or nose of an infected person to another person. To reduce and prevent the spread of COVID-19 transmission, the World Health Organization (WHO) advises the public to wear face masks as one of the most practical and effective prevention methods. Early face mask detection is very important to prevent the spread of COVID-19. For this purpose, we investigate several deep learning-based architectures such as VGG16, VGG19, InceptionV3, ResNet-101, ResNet-50, EfficientNet, MobileNetV1, and MobileNetV2. After these experiments, we propose an efficient and effective model for face mask detection with the potential to be deployable over edge devices. Our proposed model is based on MobileNetV2 architecture that extracts salient features from the input data that are then passed to an autoencoder to form more abstract representations prior to the classification layer. The proposed model also adopts extensive data augmentation techniques (e.g., rotation, flip, Gaussian blur, sharping, emboss, skew, and shear) to increase the number of samples for effective training. The performance of our proposed model is evaluated on three publicly available datasets and achieved the highest performance as compared to other state-of-the-art models.

Keywords: COVID-19; MobileNet; autoencoder; classification; convolution neural network; data augmentation; deep learning; face mask; machine learning.

MeSH terms

  • COVID-19* / prevention & control
  • Deep Learning*
  • Humans
  • Masks
  • Pandemics / prevention & control
  • SARS-CoV-2