Cargando…
Integration of improved YOLOv5 for face mask detector and auto-labeling to generate dataset for fighting against COVID-19
One of the most effective deterrent methods is using face masks to prevent the spread of the virus during the COVID-19 pandemic. Deep learning face mask detection networks have been implemented into COVID-19 monitoring systems to provide effective supervision for public areas. However, previous work...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Springer US
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9809528/ https://www.ncbi.nlm.nih.gov/pubmed/36619832 http://dx.doi.org/10.1007/s11227-022-04979-2 |
_version_ | 1784863146242998272 |
---|---|
author | Pham, Thi-Ngot Nguyen, Viet-Hoan Huh, Jun-Ho |
author_facet | Pham, Thi-Ngot Nguyen, Viet-Hoan Huh, Jun-Ho |
author_sort | Pham, Thi-Ngot |
collection | PubMed |
description | One of the most effective deterrent methods is using face masks to prevent the spread of the virus during the COVID-19 pandemic. Deep learning face mask detection networks have been implemented into COVID-19 monitoring systems to provide effective supervision for public areas. However, previous works have limitations: the challenge of real-time performance (i.e., fast inference and low accuracy) and training datasets. The current study aims to propose a comprehensive solution by creating a new face mask dataset and improving the YOLOv5 baseline to balance accuracy and detection time. Particularly, we improve YOLOv5 by adding coordinate attention (CA) module into the baseline backbone following two different schemes, namely YOLOv5s-CA and YOLOV5s-C3CA. In detail, we train three models with a Kaggle dataset of 853 images consisting of three categories: without a mask “NM," with mask “M,” and incorrectly worn mask “IWM” classes. The experimental results show that our modified YOLOv5 with CA module achieves the highest accuracy mAP@0.5 of 93.9% compared with 87% of baseline and detection time per image of 8.0 ms (125 FPS). In addition, we build an integrated system of improved YOLOv5-CA and auto-labeling module to create a new face mask dataset of 7110 images with more than 3500 labels for three categories from YouTube videos. Our proposed YOLOv5-CA and the state-of-the-art detection models (i.e., YOLOX, YOLOv6, and YOLOv7) are trained on our 7110 images dataset. In our dataset, the YOLOv5-CA performance enhances with mAP@0.5 of 96.8%. The results indicate the enhancement of the improved YOLOv5-CA model compared with several state-of-the-art works. |
format | Online Article Text |
id | pubmed-9809528 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | Springer US |
record_format | MEDLINE/PubMed |
spelling | pubmed-98095282023-01-04 Integration of improved YOLOv5 for face mask detector and auto-labeling to generate dataset for fighting against COVID-19 Pham, Thi-Ngot Nguyen, Viet-Hoan Huh, Jun-Ho J Supercomput Article One of the most effective deterrent methods is using face masks to prevent the spread of the virus during the COVID-19 pandemic. Deep learning face mask detection networks have been implemented into COVID-19 monitoring systems to provide effective supervision for public areas. However, previous works have limitations: the challenge of real-time performance (i.e., fast inference and low accuracy) and training datasets. The current study aims to propose a comprehensive solution by creating a new face mask dataset and improving the YOLOv5 baseline to balance accuracy and detection time. Particularly, we improve YOLOv5 by adding coordinate attention (CA) module into the baseline backbone following two different schemes, namely YOLOv5s-CA and YOLOV5s-C3CA. In detail, we train three models with a Kaggle dataset of 853 images consisting of three categories: without a mask “NM," with mask “M,” and incorrectly worn mask “IWM” classes. The experimental results show that our modified YOLOv5 with CA module achieves the highest accuracy mAP@0.5 of 93.9% compared with 87% of baseline and detection time per image of 8.0 ms (125 FPS). In addition, we build an integrated system of improved YOLOv5-CA and auto-labeling module to create a new face mask dataset of 7110 images with more than 3500 labels for three categories from YouTube videos. Our proposed YOLOv5-CA and the state-of-the-art detection models (i.e., YOLOX, YOLOv6, and YOLOv7) are trained on our 7110 images dataset. In our dataset, the YOLOv5-CA performance enhances with mAP@0.5 of 96.8%. The results indicate the enhancement of the improved YOLOv5-CA model compared with several state-of-the-art works. Springer US 2023-01-03 2023 /pmc/articles/PMC9809528/ /pubmed/36619832 http://dx.doi.org/10.1007/s11227-022-04979-2 Text en © The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature 2023, Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law. This article is made available via the PMC Open Access Subset for unrestricted research re-use and secondary analysis in any form or by any means with acknowledgement of the original source. These permissions are granted for the duration of the World Health Organization (WHO) declaration of COVID-19 as a global pandemic. |
spellingShingle | Article Pham, Thi-Ngot Nguyen, Viet-Hoan Huh, Jun-Ho Integration of improved YOLOv5 for face mask detector and auto-labeling to generate dataset for fighting against COVID-19 |
title | Integration of improved YOLOv5 for face mask detector and auto-labeling to generate dataset for fighting against COVID-19 |
title_full | Integration of improved YOLOv5 for face mask detector and auto-labeling to generate dataset for fighting against COVID-19 |
title_fullStr | Integration of improved YOLOv5 for face mask detector and auto-labeling to generate dataset for fighting against COVID-19 |
title_full_unstemmed | Integration of improved YOLOv5 for face mask detector and auto-labeling to generate dataset for fighting against COVID-19 |
title_short | Integration of improved YOLOv5 for face mask detector and auto-labeling to generate dataset for fighting against COVID-19 |
title_sort | integration of improved yolov5 for face mask detector and auto-labeling to generate dataset for fighting against covid-19 |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9809528/ https://www.ncbi.nlm.nih.gov/pubmed/36619832 http://dx.doi.org/10.1007/s11227-022-04979-2 |
work_keys_str_mv | AT phamthingot integrationofimprovedyolov5forfacemaskdetectorandautolabelingtogeneratedatasetforfightingagainstcovid19 AT nguyenviethoan integrationofimprovedyolov5forfacemaskdetectorandautolabelingtogeneratedatasetforfightingagainstcovid19 AT huhjunho integrationofimprovedyolov5forfacemaskdetectorandautolabelingtogeneratedatasetforfightingagainstcovid19 |