Study on Detection and Recognition of Traffic Lights Based on Improved YOLOv4.

Ying Zhao, Yiyuan Feng, Yueqiang Wang, Zhihan Zhang, Zhihao Zhang
Author Information
  1. Ying Zhao: College of Engineering and Technology, Southwest University, Chongqing 400715, China. ORCID
  2. Yiyuan Feng: College of Engineering and Technology, Southwest University, Chongqing 400715, China.
  3. Yueqiang Wang: Department of Autonomous Driving, Changan Research Institute of Automotive Engineering, Chongqing 400023, China.
  4. Zhihan Zhang: College of Engineering and Technology, Southwest University, Chongqing 400715, China.
  5. Zhihao Zhang: College of Engineering and Technology, Southwest University, Chongqing 400715, China.

Abstract

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 CSA 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 STLD 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.

Keywords

References

  1. Sensors (Basel). 2021 Dec 28;22(1): [PMID: 35009743]

Grants

  1. 2021QNRC001/Young Elite Scientists Sponsorship Program by CAST
  2. 52202451/National Natural Science Foundation of China

MeSH Term

Algorithms
Cluster Analysis

Word Cloud

Created with Highcharts 10.0.0YOLOv4recognitiontrafficmodellightsnetworkdetectionaccuracyalgorithmselectedtestingincreasesspeedmobileterminalsmalltargetsimprovedproposedlightweightShuffleNetv2k-meansattentionmechanismdataaugmentationcandatasettrainingsizeconventionalresolveissuesdeepbackbonelargeslowreasoninglowdifficultiesdetectingrecognizingrealtimeaccuratelymethodbasedutilizedreplaceCSPDarkNet53satisfyrequirementsreformedclusteringappliedgenerateanchorboxesavoidingsensitivityissueoutliersinitialvaluesnovelnamedCSAaddedenhanceextractioncapabilityeffectivefeaturesMultiplemethodscombinedimprovegeneralizationabilityUltimatelyrealizedSTLDprovedgreatlyoptimizedMeanwhileself-madeComparedlights'stateinformation179%decreases8197%Appropriatescenesreal-vehicleresultsdemonstratepresented16%effect37%comparisonStudyDetectionRecognitionTrafficLightsBasedImprovedCS2A

Similar Articles

Cited By