Hybrid Deep Feature Generation for Appropriate Face Mask Use Detection

Int J Environ Res Public Health. 2022 Feb 9;19(4):1939. doi: 10.3390/ijerph19041939.

Abstract

Mask usage is one of the most important precautions to limit the spread of COVID-19. Therefore, hygiene rules enforce the correct use of face coverings. Automated mask usage classification might be used to improve compliance monitoring. This study deals with the problem of inappropriate mask use. To address that problem, 2075 face mask usage images were collected. The individual images were labeled as either mask, no masked, or improper mask. Based on these labels, the following three cases were created: Case 1: mask versus no mask versus improper mask, Case 2: mask versus no mask + improper mask, and Case 3: mask versus no mask. This data was used to train and test a hybrid deep feature-based masked face classification model. The presented method comprises of three primary stages: (i) pre-trained ResNet101 and DenseNet201 were used as feature generators; each of these generators extracted 1000 features from an image; (ii) the most discriminative features were selected using an improved RelieF selector; and (iii) the chosen features were used to train and test a support vector machine classifier. That resulting model attained 95.95%, 97.49%, and 100.0% classification accuracy rates on Case 1, Case 2, and Case 3, respectively. Having achieved these high accuracy values indicates that the proposed model is fit for a practical trial to detect appropriate face mask use in real time.

Keywords: DenseNet201; ResNet101; face mask detection; hybrid feature selector; support vector machine; transfer learning.

MeSH terms

  • COVID-19* / prevention & control
  • Humans
  • Masks*
  • SARS-CoV-2
  • Support Vector Machine