Facemask detection and classification using you only look once version 7

Gareebah Al-Rasheedi, Rehan Ullah Khan

Abstract


World Health Organization (WHO) suggests that wearing masks and keeping social distancing are the best ways to avoid infection transmission of communicable diseases. Consequently, most governments have forced people to wear masks in public areas to prevent communicable diseases such as COVID-19. Manual monitoring and surveillance are time-consuming and not always possible in crowded areas. Hence, object detection deep learning models can effectively handle these challenges. Therefore, this work aims to investigate the efficiency of different versions of the you only look once version 7 (YOLOv7) model in facemask detection and classification over the privately balanced dataset. The dataset comprises of 1,300 images with four novel classes; including no occlusion, correct mask, incorrect mask, and other use cases. Furthermore, the model’s performance was evaluated based on mean average precision (mAP), recall, precision, and inference time. Finally, a comparative result analysis has been reported to determine the best model for facemask detection and classification. YOLOv7 model versions exhibit widely various performances ranging from 20.7% mAP for YOLOv7-D6 to 95.5% for YOLOv7-tiny. In contrast, the inference time for all YOLOv7 versions covers a narrow range of 3 ms. In conclusion, the YOLOv7-tiny version outperforms other models, achieving a high detection performance and acceptable detection speed.


Keywords


COVID-19; Deep learning; Face recognition; Image classification; Machine learning; Object detection

Full Text:

PDF


DOI: http://doi.org/10.11591/ijai.v13.i3.pp3330-3338

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

IAES International Journal of Artificial Intelligence (IJ-AI)
ISSN/e-ISSN 2089-4872/2252-8938 
This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).

View IJAI Stats