journal article·2022-10-25Open access

Traffic Light Detection and Recognition Method Based on YOLOv5s and AlexNet

Chuanxi Niu, Kexin Li

Applied Sciences· Volume 12· Issue 21

Abstract

Traffic light detection and recognition technology are of great importance for the development of driverless systems and vehicle-assisted driving systems. Since the target detection algorithm has the problems of lower detection accuracy and fewer detection types, this paper adopts the idea of first detection and then classification and proposes a method based on YOLOv5s target detection and AlexNet image classification to detect and identify traffic lights. The method first detects the traffic light area using YOLOv5s, then extracts the area and performs image processing operations, and finally feeds the processed image to AlexNet for recognition judgment. With this method, the shortcomings of the single-target detection algorithm in terms of low recognition rate for small-target detection can be avoided. Since the homemade dataset contains more low-light images, the dataset is optimized using the ZeroDCE low-light enhancement algorithm, and the performance of the network model trained after optimization of the dataset can reach 99.46% AP (average precision), which is 0.07% higher than that before optimization, and the average accuracy on the traffic light recognition dataset can reach 87.75%. The experimental results show that the method has a high accuracy rate and can realize the recognition of many types of traffic lights, which can meet the requirements of traffic light detection on actual roads.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Advanced Neural Network Applications · Video Surveillance and Tracking Methods · Impact of Light on Environment and Health

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Civil Engineering and Transportation, Beihua University, Jilin 132000, China

Funding

Science and Technology Research Project of the Jilin Provincial Education Department

References (35)

Show source-provided references
1. Wang, Q., Zhang, Q., Liang, X., Wang, Y., Zhou, C., and Mikulovich, V.I. (2022). Traffic Lights Detection and Recognition Method Based on the Improved YOLOv4 Algorithm. Sensors, 22.10.3390/s22010200 ↗
2. Traffic Light Detection and Recognition Based on Salience Map
3. Detection and classification of traffic lights for automated setup of road surveillance systems10.1007/s11042-014-2343-1 ↗
4. Ji, Y., Yang, M., Lu, Z., and Wang, C. (July, January 28). Integrating visual selective attention model with HOG features for traffic light detection and recognition. Proceedings of the 2015 IEEE Intelligent Vehicles Symposium (IV), Seoul, Korea.10.1109/IVS.2015.7225699 ↗
5. Jang, C., Kim, C., Kim, D., Lee, M., and Sunwoo, M. (2014, January 8–11). Multiple exposure images based traffic light recognition. Proceedings of the 2014 IEEE Intelligent Vehicles Symposium Proceedings, Dearborn, MI, USA.10.1109/IVS.2014.6856541 ↗
6. Omachi, M., and Omachi, S. (2010, January 24–28). Detection of traffic light using structural information. Proceedings of the IEEE 10th International Conference on Signal Processing Proceedings, Beijing, China.10.1109/ICOSP.2010.5655932 ↗
7. Kim, Y.K., Kim, K.W., and Yang, X. (2007, January 5–8). Real Time Traffic Light Recognition System for Color Vision Deficiencies. Proceedings of the 2007 International Conference on Mechatronics and Automation, Harbin, China.10.1109/ICMA.2007.4303519 ↗
8. Zhang, Y., Xue, J., Zhang, G., Zhang, Y., and Zheng, N. (2014, January 28–30). A multi-feature fusion based traffic light recognition algorithm for intelligent vehicles. Proceedings of the 33rd Chinese Control Conference, Nanjing, China.10.1109/ChiCC.2014.6895775 ↗
9. Traffic signal recognition method based on gradient content feature
10. Kim, J., Cho, H., Hwangbo, M., Choi, J., Canny, J., and Kwon, Y.P. (2018, January 4–7). Deep Traffic Light Detection for Self-driving Cars from a Large-scale Dataset. Proceedings of the 2018 21st International Conference on Intelligent Transportation Systems (ITSC), Maui, HI, USA.10.1109/ITSC.2018.8569575 ↗
11. Müller, J., and Dietmayer, K. (2018, January 4–7). Detecting Traffic Lights by Single Shot Detection. Proceedings of the 2018 21st International Conference on Intelligent Transportation Systems (ITSC), Maui, HI, USA.10.1109/ITSC.2018.8569683 ↗
12. Traffic signal detection and classification in street views using an attention model10.1007/s41095-018-0116-x ↗
13. Deep CNN-based Real-time Traffic Light Detector for Self-driving Vehicles10.1109/TMC.2019.2892451 ↗
14. Philipsen, M.P., Jensen, M.B., Møgelmose, A., Moeslund, T.B., and Trivedi, M.M. (2015, January 15–18). Traffic Light Detection: A Learning Algorithm and Evaluations on Challenging Dataset. Proceedings of the 2015 IEEE 18th International Conference on Intelligent Transportation Systems, Las Palmas de Gran Canaria, Spain.10.1109/ITSC.2015.378 ↗
15. Detection and recognition of small scale traffic lights
16. Digital detection and recognition of traffic light countdowns based on improved YOLOv4
17. Traffic light detection and recognition based on Faster-RCNN
18. Fast Detection and Identification of Traffic Lights Based on Deep Learning
19. Yeh, T.-W., Lin, H.-Y., and Chang, C.-C. (2021). Traffic Light and Arrow Signal Recognition Based on a Unified Network. Appl. Sci., 11.10.3390/app11178066 ↗
20. Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016, January 27–30). You Only Look Once: Unified, Real-Time Object Detection. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.91 ↗
21. Luo, Q., Wang, J., Gao, M., He, Z., Yang, Y., and Zhou, H. (2022). Multiple Mechanisms to Strengthen the Ability of YOLOv5s for Real-Time Identification of Vehicle Type. Electronics, 11.10.3390/electronics11162586 ↗
22. Research on improved YOLOv5s sign language recognition algorithm
23. Wang, F., Sun, Z., Chen, Y., Zheng, H., and Jiang, J. (2022). Xiaomila Green Pepper Target Detection Method under Complex Environment Based on Improved YOLOv5s. Agronomy, 12.10.3390/agronomy12061477 ↗
24. Spatial pyramid pooling in deep convolutional networks for visual recognition10.1109/TPAMI.2015.2389824 ↗
25. Lin, T.-Y., Dollár, P., Girshick, R., He, K., Hariharan, B., and Belongie, S. (2017, January 21–26). Feature Pyramid Networks for Object Detection. Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.106 ↗
26. Liu, S., Qi, L., Qin, H., Shi, J., and Jia, J. (2018, January 18–22). Path Aggregation Network for Instance Segmentation. Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00913 ↗
27. Deng, T., Tan, S., and Pu, L. (2022). Research on traffic light recognition method based on improved YOLOv5s. Comput. Eng., 1–13.
28. ImageNet classification with deep convolutional neural networks10.1145/3065386 ↗
29. Expression Recognition Based on Improved AlexNet Convolutional Neural Network
30. Mask Wearing Detection Algorithm Based on Improved YOLOv3 in Complex Scenes
31. Bochkovskiy, A., Wang, C.Y., and Liao, H.Y.M. (2020). Yolov4: Optimal speed and accuracy ofobject detection. arXiv.
32. Faster R-CNN: Towards real-time object detection with region proposal networks10.1109/TPAMI.2016.2577031 ↗
33. Comparing deep learning models for low-light natural scene image enhancement and their impact on object detection and classification: Overview, empirical evaluation, and challenges10.1016/j.image.2022.116848 ↗
34. Simonyan, K., and Zisserman, A. (2014). Very deep convolutional networks for large-scale image recognition. arXiv.
35. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep Residual Learning for Image Recognition. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗