Application of Improved YOLOv5 Algorithm in Lightweight Transmission Line Small Target Defect Detection

Zhilong Yu,Yanqiao Lei,Feng Shen,Shuai Zhou
DOI: https://doi.org/10.3390/electronics13020305
IF: 2.9
2024-01-11
Electronics
Abstract:With the development of UAV automatic cruising along power transmission lines, intelligent defect detection in aerial images has become increasingly important. In the process of target detection for aerial photography of transmission lines, insulator defects often pose challenges due to complex backgrounds, resulting in noisy images and issues such as slow detection speed, leakage, and the misidentification of small-sized targets. To address these challenges, this paper proposes an insulator defect detection algorithm called DFCG_YOLOv5, which focuses on improving both the accuracy and speed by enhancing the network structure and optimizing the loss function. Firstly, the input part is optimized, and a High-Speed Adaptive Median Filtering (HSMF) algorithm is introduced to preprocess the images captured by the UAV system, effectively reducing the noise interference in target detection. Secondly, the original Ghost backbone structure is further optimized, and the DFC attention mechanism is incorporated to strike a balance between the target detection accuracy and speed. Additionally, the original CIOU loss function is replaced with the Poly Loss, which addresses the issue of imbalanced positive and negative samples for small targets. By adjusting the parameters for different datasets, this modification effectively suppresses background positive samples and enhances the detection accuracy. To align with real-world engineering applications, the dataset utilized in this study consists of unmanned aircraft system machine patrol images from the Yunnan Power Supply Bureau Company. The experimental results demonstrate a 9.2% improvement in the algorithm accuracy and a 26.2% increase in the inference speed compared to YOLOv5s. These findings hold significant implications for the practical implementation of target detection in engineering scenarios.
engineering, electrical & electronic,computer science, information systems,physics, applied
What problem does this paper attempt to address?
The main problems that this paper attempts to solve are the slow detection speed, high missed - detection rate, and mis - identification of small targets in the existing algorithms for small - target defect detection in transmission lines. Specifically: 1. **Complex background and noise interference**: Due to the insulator defect detection in transmission lines facing a complex background environment, the image noise is large, which affects the accuracy of target detection. 2. **Difficulties in small - target detection**: Insulator defects are usually small in size, and problems such as missed detection or mis - identification are likely to occur during the detection process. 3. **Slow detection speed**: The existing detection algorithms have a slow inference speed when processing high - resolution images, and it is difficult to meet the real - time requirements in practical engineering applications. To solve these problems, the paper proposes an improved YOLOv5 algorithm - DFCG_YOLOv5, which is mainly optimized in the following aspects: - **Input part optimization**: The High - Speed Self - Adaptive Median Filtering (HSMF) algorithm is introduced to pre - process the images taken by drones, effectively reducing noise interference and improving the accuracy of target detection. - **Network structure optimization**: Further optimize the original Ghost backbone network and introduce the DFC attention mechanism to balance the accuracy and speed of target detection. - **Loss function optimization**: Replace the original CIOU loss function with Poly Loss, which solves the problem of imbalance between positive and negative samples of small targets and improves the detection accuracy of small targets. Through these improvements, the DFCG_YOLOv5 algorithm shows higher accuracy and faster inference speed than YOLOv5s in the experiment, and has important engineering application value.