Mask Usage Recognition using Vision Transformer with Transfer Learning and Data Augmentation

03/22/2022
by   Hensel Donato Jahja, et al.
0

The COVID-19 pandemic has disrupted various levels of society. The use of masks is essential in preventing the spread of COVID-19 by identifying an image of a person using a mask. Although only 23.1 Artificial Neural Networks (ANN) can help classify the use of good masks to help slow the spread of the Covid-19 virus. However, it requires a large dataset to train an ANN that can classify the use of masks correctly. MaskedFace-Net is a suitable dataset consisting of 137016 digital images with 4 class labels, namely Mask, Mask Chin, Mask Mouth Chin, and Mask Nose Mouth. Mask classification training utilizes Vision Transformers (ViT) architecture with transfer learning method using pre-trained weights on ImageNet-21k, with random augmentation. In addition, the hyper-parameters of training of 20 epochs, an Stochastic Gradient Descent (SGD) optimizer with a learning rate of 0.03, a batch size of 64, a Gaussian Cumulative Distribution (GeLU) activation function, and a Cross-Entropy loss function are used to be applied on the training of three architectures of ViT, namely Base-16, Large-16, and Huge-14. Furthermore, comparisons of with and without augmentation and transfer learning are conducted. This study found that the best classification is transfer learning and augmentation using ViT Huge-14. Using this method on MaskedFace-Net dataset, the research reaches an accuracy of 0.9601 on training data, 0.9412 on validation data, and 0.9534 on test data. This research shows that training the ViT model with data augmentation and transfer learning improves classification of the mask usage, even better than convolutional-based Residual Network (ResNet).

READ FULL TEXT

page 5

page 16

research
08/03/2023

IndoHerb: Indonesia Medicinal Plants Recognition using Transfer Learning and Deep Learning

Herbal plants are nutritious plants that can be used as an alternative t...
research
12/15/2021

A Comparative Analysis of Machine Learning Approaches for Automated Face Mask Detection During COVID-19

The World Health Organization (WHO) has recommended wearing face masks a...
research
10/29/2019

Region-based Convolution Neural Network Approach for Accurate Segmentation of Pelvic Radiograph

With the increasing usage of radiograph images as a most common medical ...
research
09/17/2020

Face Mask Detection using Transfer Learning of InceptionV3

The world is facing a huge health crisis due to the rapid transmission o...
research
07/04/2020

DRDr: Automatic Masking of Exudates and Microaneurysms Caused By Diabetic Retinopathy Using Mask R-CNN and Transfer Learning

This paper addresses the problem of identifying two main types of lesion...
research
05/02/2020

Transfer Learning-Based Received Power Prediction with Ray-tracing Simulation and Small Amount of Measurement Data

This paper proposes a method to predict received power in urban area det...
research
06/17/2020

Are you wearing a mask? Improving mask detection from speech using augmentation by cycle-consistent GANs

The task of detecting whether a person wears a face mask from speech is ...

Please sign up or login with your details

Forgot password? Click here to reset