Computer and Modernization ›› 2023, Vol. 0 ›› Issue (06): 69-75.doi: 10.3969/j.issn.1006-2475.2023.06.012

• IMAGE PROCESSING • Previous Articles     Next Articles

Road Pothole Detection Algorithm Based on Improved YOLOv5s

BAI Rui1, XU Yang1,2, WANG Bin1, ZHANG Wen-wen1   

  1. 1. College of Big Data & Information Engineering, Guizhou University, Guiyang 550025, China;
    2. Guiyang Aluminum-magnesium Design and Research Institute Co. LTD, Guiyang 550025, China
  • Received:2022-07-25 Revised:2022-08-21 Online:2023-06-28 Published:2023-06-28

Abstract: Aiming at the problem that existing target detection algorithms are difficult to accurately detect road potholes and the detection speed is slow, a road pothole detection algorithm based on improved YOLOv5s is proposed. Firstly, CA (Coordinate attention) module is integrated into YOLOv5s backbone network, so that the model can capture not only cross-channel information, but also direction perception and position sensitive information, which is helpful for the model to locate and identify the detected object more accurately. Then, SoftPool is adopted in Spatial Pyramid Pool (SPP) module to improve the maximum pooling operation and retain more detailed characteristic information. In the feature fusion stage, Content-Aware ReAssembly of FEatures (CARAFE) is used to improve the up-sampling of multi-scale feature fusion and dynamically generate an adaptive kernel, which can gather context information in a large receptive field. Finally, Alpha-IoU is used to improve the loss function and improve the margin regression accuracy. Experimental results show that the average accuracy of the improved YOLOv5s algorithm is 4.6 percentage points higher than that of the original network, and the detection accuracy of the improved YOLOv5s algorithm is greatly improved compared with other mainstream algorithms such as SSD, Faster R-CNN, YOLOv3, YOLOv3-tiny and YOLOv4-tiny.

Key words: deep learning, pothole detection, coordinate attention, maximum pooling

CLC Number: