Cargando…
Study on Detection and Recognition of Traffic Lights Based on Improved YOLOv4
To resolve the issues of a deep backbone network, a large model, slow reasoning speed on a mobile terminal, low detection accuracy for small targets and difficulties detecting and recognizing traffic lights in real time and accurately with YOLOv4, a traffic lights recognition method based on improve...
Autores principales: | , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9611575/ https://www.ncbi.nlm.nih.gov/pubmed/36298138 http://dx.doi.org/10.3390/s22207787 |
_version_ | 1784819561058533376 |
---|---|
author | Zhao, Ying Feng, Yiyuan Wang, Yueqiang Zhang, Zhihan Zhang, Zhihao |
author_facet | Zhao, Ying Feng, Yiyuan Wang, Yueqiang Zhang, Zhihan Zhang, Zhihao |
author_sort | Zhao, Ying |
collection | PubMed |
description | To resolve the issues of a deep backbone network, a large model, slow reasoning speed on a mobile terminal, low detection accuracy for small targets and difficulties detecting and recognizing traffic lights in real time and accurately with YOLOv4, a traffic lights recognition method based on improved YOLOv4 is proposed. The lightweight ShuffleNetv2 network is utilized to replace the CSPDarkNet53 network of YOLOv4 to satisfy the requirements of a mobile terminal. The reformed k-means clustering algorithm is applied to generate anchor boxes for avoiding the sensitivity issue of outliers and initial values. A novel attention mechanism named CS(2)A is added to enhance the extraction capability of effective features. Multiple data augmentation methods are combined to improve the generalization ability of the model. Ultimately, the detection and recognition of traffic lights can be realized. The S(2)TLD dataset is selected for training and testing, and it can be proved that the recognition accuracy and model size are greatly optimized. Meanwhile, a self-made dataset is selected for training and testing. Compared with the conventional YOLOv4, the recognition accuracy of the proposed algorithm for traffic lights’ state information increases by 1.79%, and the model size decreases by 81.97%. Appropriate scenes are selected for real-vehicle testing and the results demonstrate that the detection speed of the presented algorithm increases by 16%, and the recognition effect for small targets increases by 37% in comparison with conventional YOLOv4. |
format | Online Article Text |
id | pubmed-9611575 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-96115752022-10-28 Study on Detection and Recognition of Traffic Lights Based on Improved YOLOv4 Zhao, Ying Feng, Yiyuan Wang, Yueqiang Zhang, Zhihan Zhang, Zhihao Sensors (Basel) Article To resolve the issues of a deep backbone network, a large model, slow reasoning speed on a mobile terminal, low detection accuracy for small targets and difficulties detecting and recognizing traffic lights in real time and accurately with YOLOv4, a traffic lights recognition method based on improved YOLOv4 is proposed. The lightweight ShuffleNetv2 network is utilized to replace the CSPDarkNet53 network of YOLOv4 to satisfy the requirements of a mobile terminal. The reformed k-means clustering algorithm is applied to generate anchor boxes for avoiding the sensitivity issue of outliers and initial values. A novel attention mechanism named CS(2)A is added to enhance the extraction capability of effective features. Multiple data augmentation methods are combined to improve the generalization ability of the model. Ultimately, the detection and recognition of traffic lights can be realized. The S(2)TLD dataset is selected for training and testing, and it can be proved that the recognition accuracy and model size are greatly optimized. Meanwhile, a self-made dataset is selected for training and testing. Compared with the conventional YOLOv4, the recognition accuracy of the proposed algorithm for traffic lights’ state information increases by 1.79%, and the model size decreases by 81.97%. Appropriate scenes are selected for real-vehicle testing and the results demonstrate that the detection speed of the presented algorithm increases by 16%, and the recognition effect for small targets increases by 37% in comparison with conventional YOLOv4. MDPI 2022-10-13 /pmc/articles/PMC9611575/ /pubmed/36298138 http://dx.doi.org/10.3390/s22207787 Text en © 2022 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 Zhao, Ying Feng, Yiyuan Wang, Yueqiang Zhang, Zhihan Zhang, Zhihao Study on Detection and Recognition of Traffic Lights Based on Improved YOLOv4 |
title | Study on Detection and Recognition of Traffic Lights Based on Improved YOLOv4 |
title_full | Study on Detection and Recognition of Traffic Lights Based on Improved YOLOv4 |
title_fullStr | Study on Detection and Recognition of Traffic Lights Based on Improved YOLOv4 |
title_full_unstemmed | Study on Detection and Recognition of Traffic Lights Based on Improved YOLOv4 |
title_short | Study on Detection and Recognition of Traffic Lights Based on Improved YOLOv4 |
title_sort | study on detection and recognition of traffic lights based on improved yolov4 |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9611575/ https://www.ncbi.nlm.nih.gov/pubmed/36298138 http://dx.doi.org/10.3390/s22207787 |
work_keys_str_mv | AT zhaoying studyondetectionandrecognitionoftrafficlightsbasedonimprovedyolov4 AT fengyiyuan studyondetectionandrecognitionoftrafficlightsbasedonimprovedyolov4 AT wangyueqiang studyondetectionandrecognitionoftrafficlightsbasedonimprovedyolov4 AT zhangzhihan studyondetectionandrecognitionoftrafficlightsbasedonimprovedyolov4 AT zhangzhihao studyondetectionandrecognitionoftrafficlightsbasedonimprovedyolov4 |