Cargando…

Lightweight Helmet Detection Algorithm Using an Improved YOLOv4 †

Safety helmet wearing plays a major role in protecting the safety of workers in industry and construction, so a real-time helmet wearing detection technology is very necessary. This paper proposes an improved YOLOv4 algorithm to achieve real-time and efficient safety helmet wearing detection. The im...

Descripción completa

Detalles Bibliográficos
Autores principales: Chen, Junhua, Deng, Sihao, Wang, Ping, Huang, Xueda, Liu, Yanfei
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9919412/
https://www.ncbi.nlm.nih.gov/pubmed/36772297
http://dx.doi.org/10.3390/s23031256
_version_ 1784886818579152896
author Chen, Junhua
Deng, Sihao
Wang, Ping
Huang, Xueda
Liu, Yanfei
author_facet Chen, Junhua
Deng, Sihao
Wang, Ping
Huang, Xueda
Liu, Yanfei
author_sort Chen, Junhua
collection PubMed
description Safety helmet wearing plays a major role in protecting the safety of workers in industry and construction, so a real-time helmet wearing detection technology is very necessary. This paper proposes an improved YOLOv4 algorithm to achieve real-time and efficient safety helmet wearing detection. The improved YOLOv4 algorithm adopts a lightweight network PP-LCNet as the backbone network and uses deepwise separable convolution to decrease the model parameters. Besides, the coordinate attention mechanism module is embedded in the three output feature layers of the backbone network to enhance the feature information, and an improved feature fusion structure is designed to fuse the target information. In terms of the loss function, we use a new SIoU loss function that fuses directional information to increase detection precision. The experimental findings demonstrate that the improved YOLOv4 algorithm achieves an accuracy of 92.98%, a model size of 41.88 M, and a detection speed of 43.23 pictures/s. Compared with the original YOLOv4, the accuracy increases by 0.52%, the model size decreases by about 83%, and the detection speed increases by 88%. Compared with other existing methods, it performs better in terms of precision and speed.
format Online
Article
Text
id pubmed-9919412
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-99194122023-02-12 Lightweight Helmet Detection Algorithm Using an Improved YOLOv4 † Chen, Junhua Deng, Sihao Wang, Ping Huang, Xueda Liu, Yanfei Sensors (Basel) Article Safety helmet wearing plays a major role in protecting the safety of workers in industry and construction, so a real-time helmet wearing detection technology is very necessary. This paper proposes an improved YOLOv4 algorithm to achieve real-time and efficient safety helmet wearing detection. The improved YOLOv4 algorithm adopts a lightweight network PP-LCNet as the backbone network and uses deepwise separable convolution to decrease the model parameters. Besides, the coordinate attention mechanism module is embedded in the three output feature layers of the backbone network to enhance the feature information, and an improved feature fusion structure is designed to fuse the target information. In terms of the loss function, we use a new SIoU loss function that fuses directional information to increase detection precision. The experimental findings demonstrate that the improved YOLOv4 algorithm achieves an accuracy of 92.98%, a model size of 41.88 M, and a detection speed of 43.23 pictures/s. Compared with the original YOLOv4, the accuracy increases by 0.52%, the model size decreases by about 83%, and the detection speed increases by 88%. Compared with other existing methods, it performs better in terms of precision and speed. MDPI 2023-01-21 /pmc/articles/PMC9919412/ /pubmed/36772297 http://dx.doi.org/10.3390/s23031256 Text en © 2023 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Chen, Junhua
Deng, Sihao
Wang, Ping
Huang, Xueda
Liu, Yanfei
Lightweight Helmet Detection Algorithm Using an Improved YOLOv4 †
title Lightweight Helmet Detection Algorithm Using an Improved YOLOv4 †
title_full Lightweight Helmet Detection Algorithm Using an Improved YOLOv4 †
title_fullStr Lightweight Helmet Detection Algorithm Using an Improved YOLOv4 †
title_full_unstemmed Lightweight Helmet Detection Algorithm Using an Improved YOLOv4 †
title_short Lightweight Helmet Detection Algorithm Using an Improved YOLOv4 †
title_sort lightweight helmet detection algorithm using an improved yolov4 †
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9919412/
https://www.ncbi.nlm.nih.gov/pubmed/36772297
http://dx.doi.org/10.3390/s23031256
work_keys_str_mv AT chenjunhua lightweighthelmetdetectionalgorithmusinganimprovedyolov4
AT dengsihao lightweighthelmetdetectionalgorithmusinganimprovedyolov4
AT wangping lightweighthelmetdetectionalgorithmusinganimprovedyolov4
AT huangxueda lightweighthelmetdetectionalgorithmusinganimprovedyolov4
AT liuyanfei lightweighthelmetdetectionalgorithmusinganimprovedyolov4