English

A Deep Learning-based Approach for Real-time Facemask Detection

Computer Vision and Pattern Recognition 2021-10-19 v1

Abstract

The COVID-19 pandemic is causing a global health crisis. Public spaces need to be safeguarded from the adverse effects of this pandemic. Wearing a facemask becomes one of the effective protection solutions adopted by many governments. Manual real-time monitoring of facemask wearing for a large group of people is becoming a difficult task. The goal of this paper is to use deep learning (DL), which has shown excellent results in many real-life applications, to ensure efficient real-time facemask detection. The proposed approach is based on two steps. An off-line step aiming to create a DL model that is able to detect and locate facemasks and whether they are appropriately worn. An online step that deploys the DL model at edge computing in order to detect masks in real-time. In this study, we propose to use MobileNetV2 to detect facemask in real-time. Several experiments are conducted and show good performances of the proposed approach (99% for training and testing accuracy). In addition, several comparisons with many state-of-the-art models namely ResNet50, DenseNet, and VGG16 show good performance of the MobileNetV2 in terms of training time and accuracy.

Keywords

Cite

@article{arxiv.2110.08732,
  title  = {A Deep Learning-based Approach for Real-time Facemask Detection},
  author = {Wadii Boulila and Ayyub Alzahem and Aseel Almoudi and Muhanad Afifi and Ibrahim Alturki and Maha Driss},
  journal= {arXiv preprint arXiv:2110.08732},
  year   = {2021}
}
R2 v1 2026-06-24T06:56:59.587Z