Cargando…
Road damage detection algorithm for improved YOLOv5
Road damage detection is an important task to ensure road safety and realize the timely repair of road damage. The previous manual detection methods are low in efficiency and high in cost. To solve this problem, an improved YOLOv5 road damage detection algorithm, MN-YOLOv5, was proposed. We optimize...
Autores principales: | , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Nature Publishing Group UK
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9477886/ https://www.ncbi.nlm.nih.gov/pubmed/36109568 http://dx.doi.org/10.1038/s41598-022-19674-8 |
_version_ | 1784790461102161920 |
---|---|
author | Guo, Gege Zhang, Zhenyu |
author_facet | Guo, Gege Zhang, Zhenyu |
author_sort | Guo, Gege |
collection | PubMed |
description | Road damage detection is an important task to ensure road safety and realize the timely repair of road damage. The previous manual detection methods are low in efficiency and high in cost. To solve this problem, an improved YOLOv5 road damage detection algorithm, MN-YOLOv5, was proposed. We optimized the YOLOv5s model and chose a new backbone feature extraction network MobileNetV3 to replace the basic network of YOLOv5, which greatly reduced the number of parameters and GFLOPs of the model, and reduced the size of the model. At the same time, the coordinate attention lightweight attention module is introduced to help the network locate the target more accurately and improve the target detection accuracy. The KMeans clustering algorithm is used to filter the prior frame to make it more suitable for the dataset and to improve the detection accuracy. To improve the generalization ability of the model, a label smoothing algorithm is introduced. In addition, the structure reparameterization method is used to accelerate model reasoning. The experimental results show that the improved YOLOv5 model proposed in this paper can effectively identify pavement cracks. Compared with the original model, the mAP increased by 2.5%, the F1 score increased by 2.6%, and the model volume was smaller than that of YOLOv5. 1.62 times, the parameter was reduced by 1.66 times, and the GFLOPs were reduced by 1.69 times. This method can provide a reference for the automatic detection method of pavement cracks. |
format | Online Article Text |
id | pubmed-9477886 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Nature Publishing Group UK |
record_format | MEDLINE/PubMed |
spelling | pubmed-94778862022-09-17 Road damage detection algorithm for improved YOLOv5 Guo, Gege Zhang, Zhenyu Sci Rep Article Road damage detection is an important task to ensure road safety and realize the timely repair of road damage. The previous manual detection methods are low in efficiency and high in cost. To solve this problem, an improved YOLOv5 road damage detection algorithm, MN-YOLOv5, was proposed. We optimized the YOLOv5s model and chose a new backbone feature extraction network MobileNetV3 to replace the basic network of YOLOv5, which greatly reduced the number of parameters and GFLOPs of the model, and reduced the size of the model. At the same time, the coordinate attention lightweight attention module is introduced to help the network locate the target more accurately and improve the target detection accuracy. The KMeans clustering algorithm is used to filter the prior frame to make it more suitable for the dataset and to improve the detection accuracy. To improve the generalization ability of the model, a label smoothing algorithm is introduced. In addition, the structure reparameterization method is used to accelerate model reasoning. The experimental results show that the improved YOLOv5 model proposed in this paper can effectively identify pavement cracks. Compared with the original model, the mAP increased by 2.5%, the F1 score increased by 2.6%, and the model volume was smaller than that of YOLOv5. 1.62 times, the parameter was reduced by 1.66 times, and the GFLOPs were reduced by 1.69 times. This method can provide a reference for the automatic detection method of pavement cracks. Nature Publishing Group UK 2022-09-15 /pmc/articles/PMC9477886/ /pubmed/36109568 http://dx.doi.org/10.1038/s41598-022-19674-8 Text en © The Author(s) 2022 https://creativecommons.org/licenses/by/4.0/Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . |
spellingShingle | Article Guo, Gege Zhang, Zhenyu Road damage detection algorithm for improved YOLOv5 |
title | Road damage detection algorithm for improved YOLOv5 |
title_full | Road damage detection algorithm for improved YOLOv5 |
title_fullStr | Road damage detection algorithm for improved YOLOv5 |
title_full_unstemmed | Road damage detection algorithm for improved YOLOv5 |
title_short | Road damage detection algorithm for improved YOLOv5 |
title_sort | road damage detection algorithm for improved yolov5 |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9477886/ https://www.ncbi.nlm.nih.gov/pubmed/36109568 http://dx.doi.org/10.1038/s41598-022-19674-8 |
work_keys_str_mv | AT guogege roaddamagedetectionalgorithmforimprovedyolov5 AT zhangzhenyu roaddamagedetectionalgorithmforimprovedyolov5 |