CCW-YOLO: A Modified YOLOv5s Network for Pedestrian Detection in Complex Traffic Scenes
Listed in
This article is not in any list yet, why not save it to one of your lists.Abstract
In traffic scenes, pedestrian target detection faces significant issues of misdetection and omission due to factors such as crowd density and obstacle occlusion. To address these challenges and enhance detection accuracy, we propose an improved CCW-YOLO algorithm. The algorithm first introduces a lightweight convolutional layer using GhostConv and incorporates an enhanced C2f module to improve the network’s detection performance. Additionally, it integrates the Coordinate Attention module to better capture key points of the targets. Next, the bounding box loss function CIoU loss at the output of YOLOv5 is replaced with WiseIoU loss to enhance adaptability to various detection scenarios, thereby further improving accuracy. Finally, we develop a pedestrian count detection system using PyQt5 to enhance human–computer interaction. Experimental results on the INRIA public dataset showed that our algorithm achieved a detection accuracy of 98.4%, representing a 10.1% improvement over the original YOLOv5s algorithm. This advancement significantly enhances the detection of small objects in images and effectively addresses misdetection and omission issues in complex environments. These findings have important practical implications for ensuring traffic safety and optimizing traffic flow.