Cargando…
Fast Helmet and License Plate Detection Based on Lightweight YOLOv5
The integrated fast detection technology for electric bikes, riders, helmets, and license plates is of great significance for maintaining traffic safety. YOLOv5 is one of the most advanced single-stage object detection algorithms. However, it is difficult to deploy on embedded systems, such as unman...
Autores principales: | , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10181523/ https://www.ncbi.nlm.nih.gov/pubmed/37177535 http://dx.doi.org/10.3390/s23094335 |
_version_ | 1785041594671431680 |
---|---|
author | Wei, Chenyang Tan, Zhao Qing, Qixiang Zeng, Rong Wen, Guilin |
author_facet | Wei, Chenyang Tan, Zhao Qing, Qixiang Zeng, Rong Wen, Guilin |
author_sort | Wei, Chenyang |
collection | PubMed |
description | The integrated fast detection technology for electric bikes, riders, helmets, and license plates is of great significance for maintaining traffic safety. YOLOv5 is one of the most advanced single-stage object detection algorithms. However, it is difficult to deploy on embedded systems, such as unmanned aerial vehicles (UAV), with limited memory and computing resources because of high computational load and high memory requirements. In this paper, a lightweight YOLOv5 model (SG-YOLOv5) is proposed for the fast detection of the helmet and license plate of electric bikes, by introducing two mechanisms to improve the original YOLOv5. Firstly, the YOLOv5s backbone network and the Neck part are lightened by combining the two lightweight networks, ShuffleNetv2 and GhostNet, included. Secondly, by adopting an Add-based feature fusion method, the number of parameters and the floating-point operations ([Formula: see text]) are effectively reduced. On this basis, a scene-based non-truth suppression method is proposed to eliminate the interference of pedestrian heads and license plates on parked vehicles, and then the license plates of the riders without helmets can be located through the inclusion relation of the target boxes and can be extracted. To verify the performance of the SG-YOLOv5, the experiments are conducted on a homemade RHNP dataset, which contains four categories: rider, helmet, no-helmet, and license plate. The results show that, the SG-YOLOv5 has the same mean average precision ([Formula: see text]) as the original; the number of model parameters, the [Formula: see text] , and the model file size are reduced by 90.8%, 80.5%, and 88.8%, respectively. Additionally, the number of frames per second ([Formula: see text]) is 2.7 times higher than that of the original. Therefore, the proposed SG-YOLOv5 can effectively achieve the purpose of lightweight and improve the detection speed while maintaining great detection accuracy. |
format | Online Article Text |
id | pubmed-10181523 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-101815232023-05-13 Fast Helmet and License Plate Detection Based on Lightweight YOLOv5 Wei, Chenyang Tan, Zhao Qing, Qixiang Zeng, Rong Wen, Guilin Sensors (Basel) Article The integrated fast detection technology for electric bikes, riders, helmets, and license plates is of great significance for maintaining traffic safety. YOLOv5 is one of the most advanced single-stage object detection algorithms. However, it is difficult to deploy on embedded systems, such as unmanned aerial vehicles (UAV), with limited memory and computing resources because of high computational load and high memory requirements. In this paper, a lightweight YOLOv5 model (SG-YOLOv5) is proposed for the fast detection of the helmet and license plate of electric bikes, by introducing two mechanisms to improve the original YOLOv5. Firstly, the YOLOv5s backbone network and the Neck part are lightened by combining the two lightweight networks, ShuffleNetv2 and GhostNet, included. Secondly, by adopting an Add-based feature fusion method, the number of parameters and the floating-point operations ([Formula: see text]) are effectively reduced. On this basis, a scene-based non-truth suppression method is proposed to eliminate the interference of pedestrian heads and license plates on parked vehicles, and then the license plates of the riders without helmets can be located through the inclusion relation of the target boxes and can be extracted. To verify the performance of the SG-YOLOv5, the experiments are conducted on a homemade RHNP dataset, which contains four categories: rider, helmet, no-helmet, and license plate. The results show that, the SG-YOLOv5 has the same mean average precision ([Formula: see text]) as the original; the number of model parameters, the [Formula: see text] , and the model file size are reduced by 90.8%, 80.5%, and 88.8%, respectively. Additionally, the number of frames per second ([Formula: see text]) is 2.7 times higher than that of the original. Therefore, the proposed SG-YOLOv5 can effectively achieve the purpose of lightweight and improve the detection speed while maintaining great detection accuracy. MDPI 2023-04-27 /pmc/articles/PMC10181523/ /pubmed/37177535 http://dx.doi.org/10.3390/s23094335 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 Wei, Chenyang Tan, Zhao Qing, Qixiang Zeng, Rong Wen, Guilin Fast Helmet and License Plate Detection Based on Lightweight YOLOv5 |
title | Fast Helmet and License Plate Detection Based on Lightweight YOLOv5 |
title_full | Fast Helmet and License Plate Detection Based on Lightweight YOLOv5 |
title_fullStr | Fast Helmet and License Plate Detection Based on Lightweight YOLOv5 |
title_full_unstemmed | Fast Helmet and License Plate Detection Based on Lightweight YOLOv5 |
title_short | Fast Helmet and License Plate Detection Based on Lightweight YOLOv5 |
title_sort | fast helmet and license plate detection based on lightweight yolov5 |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10181523/ https://www.ncbi.nlm.nih.gov/pubmed/37177535 http://dx.doi.org/10.3390/s23094335 |
work_keys_str_mv | AT weichenyang fasthelmetandlicenseplatedetectionbasedonlightweightyolov5 AT tanzhao fasthelmetandlicenseplatedetectionbasedonlightweightyolov5 AT qingqixiang fasthelmetandlicenseplatedetectionbasedonlightweightyolov5 AT zengrong fasthelmetandlicenseplatedetectionbasedonlightweightyolov5 AT wenguilin fasthelmetandlicenseplatedetectionbasedonlightweightyolov5 |