Visual-Based Dual Detection and Route Planning Method for UAV Autonomous Inspection
Abstract
1. Introduction
- An inspection route planning method based on object detection was proposed. Lightweight improvements were made to the YOLOv8 model with the introduction of the VanillaBlock module, Grouped Spatial Convolution (GSConv) module, and structured pruning techniques. The improved model reduces computation by 23.5% and inference elapsed time by 8.7% compared to the baseline. Later, based on the isometric conversion between the relative pixel and distance, the actual distance between the tower and the pixel center can be calculated by the conversion rate, thus allowing us to plan out the target.
- A defect detection model was improved in terms of its ability to work on captured images. A Space-to-Depth Convolution (SPD Conv) module, a Convolutional Block Attention Module (CBAM), and a Bidirectional Feature Pyramid Network (BiFPN), which is an efficient multiscale feature fusion network, were introduced to enhance model recognition of low-pixel occupancy defects. Compared with the baseline, the detection accuracy improved by 4.5%, the recall increased by 7.5%, and the average precision improved by 8.1%.
2. Related Work
3. Detection Model Improvement
3.1. Tower Dataset
3.2. Onboard Lightweight Model
3.3. Defect Detection Model
4. Inspection Route Planner
4.1. Estimation of Transmission Line Direction
4.2. Estimation of Waypoint Coordinates
4.2.1. Route Planner: Stage A
4.2.2. Route Planner: Stage B
4.2.3. Height Adjustment
5. Experimental Verification
5.1. Validation of Target Detection Algorithms
5.1.1. Experimental Environment
5.1.2. Comparative Experiments on Lightweight Models
5.1.3. Lightweight Models Accelerate Reasoning
5.2. Defect Detection Algorithm Validation
5.2.1. Defect Detection Model Ablation Experiment
5.2.2. Comparative Experiments on Defect Detection Models
5.3. Inspection Program Validation
5.3.1. Inspection Platform
5.3.2. Inspection Flight Experiment
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Takaya, K.; Ohta, H.; Kroumov, V.; Shibayama, K.; Nakamura, M. Development of UAV system for autonomous power line inspection. In Proceedings of the 2019 23rd International Conference on System Theory, Control and Computing (ICSTCC), Sinaia, Romania, 9–11 October 2019; pp. 762–767. [Google Scholar]
- Zhang, H.; Sun, M.; Li, Q.; Liu, L.; Liu, M.; Ji, Y. An empirical study of multi-scale object detection in high resolution uav images. Neurocomputing 2021, 421, 173–182. [Google Scholar] [CrossRef]
- Xu, C.; Li, Q.; Zhou, Q.; Zhang, S.; Yu, D.; Ma, Y. Power line-guided automatic electric transmission line inspection system. IEEE Trans. Instrum. Meas. 2022, 71, 1–18. [Google Scholar] [CrossRef]
- Li, H.; Dong, Y.; Liu, Y.; Ai, J. Design and implementation of uavs for bird’s nest inspection on transmission lines based on deep learning. Drones 2022, 6, 252. [Google Scholar] [CrossRef]
- Jiang, H.; Huang, W.; Chen, J.; Liu, X.; Miao, X.; Zhuang, S. Detection of bird nests on power line patrol using single shot detector. In Proceedings of the 2019 Chinese Automation Congress (CAC), Hangzhou, China, 22–24 November 2019; pp. 3409–3414. [Google Scholar]
- Li, D.; Yang, P.; Zou, Y. Optimizing Insulator Defect Detection with Improved DETR Models. Mathematics 2024, 12, 1507. [Google Scholar] [CrossRef]
- You, X.; Zhao, X. A insulator defect detection network based on improved YOLOv7 for UAV aerial images. Measurement 2025, 253, 117410. [Google Scholar] [CrossRef]
- Wei, L.; Jin, J.; Deng, K.; Liu, H. Insulator defect detection in transmission line based on an improved lightweight YOLOv5s algorithm. Electr. Power Syst. Res. 2024, 233, 110464. [Google Scholar] [CrossRef]
- Li, D.; Lu, Y.; Gao, Q.; Li, X.; Yu, X.; Song, Y. LiteYOLO-ID: A Lightweight Object Detection Network for Insulator Defect Detection. IEEE Trans. Instrum. Meas. 2024, 73, 1–12. [Google Scholar] [CrossRef]
- Yang, L.; Fan, J.; Song, S.; Liu, Y. A light defect detection algorithm of power insulators from aerial images for power inspection. Neural Comput. Appl. 2022, 34, 17951–17961. [Google Scholar] [CrossRef]
- Li, Q.; Zhao, F.; Xu, Z.; Wang, J.; Liu, K.; Qin, L. Insulator and damage detection and location based on YOLOv5. In Proceedings of the 2022 International Conference on Power Energy Systems and Applications (ICoPESA), Singapore, 25–27 February 2022; pp. 17–24. [Google Scholar]
- Rahman, E.U.; Zhang, Y.; Ahmad, S.; Ahmad, H.I.; Jobaer, S. Autonomous vision-based primary distribution systems porcelain insulators inspection using UAVs. Sensors 2021, 21, 974. [Google Scholar] [CrossRef] [PubMed]
- Zhao, Z.; Fan, X.; Xu, G.; Zhang, L.; Qi, Y.; Zhang, K. Aggregating deep convolutional feature maps for insulator detection in infrared images. IEEE Access 2017, 5, 21831–21839. [Google Scholar] [CrossRef]
- Zhao, X.; Zhang, H.; Song, C.; Li, H.; Guo, H. Multi-Scale Component Detection in High-Resolution Power Transmission Tower Images. IEEE Trans. Power Deliv. 2025, 40, 2391–2401. [Google Scholar] [CrossRef]
- Cheng, Y.; Luo, H.; Zhu, H.; Wang, W.; Yang, S. Improved YOLOX for Defect Detection Algorithm of Transmission Towers in Aerial Images. In Proceedings of the 2024 7th International Conference on Computer Information Science and Application Technology (CISAT), Hangzhou, China, 12–14 July 2024; pp. 251–254. [Google Scholar]
- Qin, Z.; Chen, D.; Wang, H. MCA-YOLOv7: An Improved UAV Target Detection Algorithm Based on YOLOv7. IEEE Access 2024, 12, 42642–42650. [Google Scholar] [CrossRef]
- Han, G.; Zhao, L.; Li, Q.; Li, S.; Wang, R.; Yuan, Q.; He, M.; Yang, S.; Qin, L. A Lightweight Algorithm for Insulator Target Detection and Defect Identification. Sensors 2023, 23, 1216. [Google Scholar] [CrossRef]
- Liu, X.; Jiang, H.; Chen, J.; Chen, J.; Zhuang, S.; Miao, X. Insulator detection in aerial images based on faster regions with convolutional neural network. In Proceedings of the 2018 IEEE 14th International Conference on Control and Automation (ICCA), Anchorage, AK, USA, 12–15 June 2018; pp. 1082–1086. [Google Scholar]
- Miao, X.; Liu, X.; Chen, J.; Zhuang, S.; Fan, J.; Jiang, H. Insulator detection in aerial images for transmission line inspection using single shot multibox detector. IEEE Access 2019, 7, 9945–9956. [Google Scholar] [CrossRef]
- Wang, Z.; Liu, X.; Peng, H.; Zheng, L.; Gao, J.; Bao, Y. Railway insulator detection based on adaptive cascaded convolutional neural network. IEEE Access 2021, 9, 115676–115686. [Google Scholar] [CrossRef]
- Hu, H.; Zhou, H.; Li, J.; Li, K.; Pan, B. Automatic and intelligent line inspection using UAV based on beidou navigation system. In Proceedings of the 2019 6th International Conference on Information Science and Control Engineering (ICISCE), Shanghai, China, 20–22 December 2019; pp. 1004–1008. [Google Scholar]
- Lopez Lopez, R.; Batista Sanchez, M.J.; Perez Jimenez, M.; Arrue, B.C.; Ollero, A. Autonomous UAV System for Cleaning Insulators in Power Line Inspection and Maintenance. Sensors 2021, 21, 8488. [Google Scholar] [CrossRef] [PubMed]
- Schofield, O.B.; Iversen, N.; Ebeid, E. Autonomous power line detection and tracking system using UAVs. Microprocess. Microsyst. 2022, 94, 104609. [Google Scholar] [CrossRef]
- Li, Z.; Zhang, Y.; Wu, H.; Suzuki, S.; Namiki, A.; Wang, W. Design and application of a UAV autonomous inspection system for high-voltage power transmission lines. Remote Sens. 2023, 15, 865. [Google Scholar] [CrossRef]
- Hu, H.; Peng, W.; Yang, J.; Di, X. Lightweight insulator defect detection algorithm based on improved Deeplabv3+ and YOLOv5s. In International Conference on Computer Vision and Image Processing (CVIP 2024); SPIE: Bellingham, WA, USA, 2025; pp. 159–165. [Google Scholar]
- Sohan, M.; Sai Ram, T.; Rami Reddy, C.V. A review on yolov8 and its advancements. In International Conference on Data Intelligence and Cognitive Informatics; Springer: Singapore, 2024; pp. 529–545. [Google Scholar]
- Li, H.; Li, J.; Wei, H.; Liu, Z.; Zhan, Z.; Ren, Q. Slim-neck by GSConv: A lightweight-design for real-time detector architectures. J. Real-Time Image Process. 2024, 21, 62. [Google Scholar] [CrossRef]
- Chollet, F. Xception: Deep learning with depthwise separable convolutions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, 21–26 July 2017; pp. 1251–1258. [Google Scholar]
- Zablocki, É.; Ben-Younes, H.; Pérez, P.; Cord, M. Explainability of deep vision-based autonomous driving systems: Review and challenges. Int. J. Comput. Vis. 2022, 130, 2425–2452. [Google Scholar] [CrossRef]
- Zhang, Y.; Lin, M.; Lin, C.W.; Chen, J.; Wu, Y.; Tian, Y.; Ji, R. Carrying out CNN channel pruning in a white box. IEEE Trans. Neural Netw. Learn. Syst. 2022, 34, 7946–7955. [Google Scholar] [CrossRef] [PubMed]
- Cheng, H.; Zhang, M.; Shi, J.Q. A Survey on Deep Neural Network Pruning: Taxonomy, Comparison, Analysis, and Recommendations. IEEE Trans. Pattern Anal. Mach. Intell. 2024, 46, 10558–10578. [Google Scholar] [CrossRef]
- Sun, R.; Fan, H.; Tang, Y.; He, Z.; Xu, Y.; Wu, E. Research on small target detection algorithm for UAV inspection scene based on SPD-conv. In Proceedings of the Fourth International Conference on Computer Vision and Data Mining (ICCVDM 2023), Changchun, China, 20–22 October 2023; pp. 686–691. [Google Scholar]
- Zhang, M.; Bin, M.; Song, Y.; Liu, W.; Zou, Y. Deep Learning-based UAV Visual Recognition System in Distribution Network Defect Detection. In Proceedings of the 2025 International Conference on Electrical Automation and Artificial Intelligence (ICEAAI), Guangzhou, China, 10–12 January 2025; pp. 155–159. [Google Scholar]
- Doherty, J.; Gardiner, B.; Kerr, E.; Siddique, N. BiFPN-yolo: One-stage object detection integrating Bi-directional feature pyramid networks. Pattern Recognit. 2025, 160, 111209. [Google Scholar] [CrossRef]
- Von Gioi, R.G.; Jakubowicz, J.; Morel, J.M.; Randall, G. LSD: A fast line segment detector with a false detection control. IEEE Trans. Pattern Anal. Mach. Intell. 2008, 32, 722–732. [Google Scholar] [CrossRef] [PubMed]
- Henderson, P.; Ferrari, V. End-to-end training of object class detectors for mean average precision. In Proceedings of the Computer Vision–ACCV 2016: 13th Asian Conference on Computer Vision, Taipei, Taiwan, 20–24 November 2016; Revised Selected Papers, Part V 13. Springer: Cham, Switzerland, 2017; pp. 198–213. [Google Scholar]






















| VanillaBlock | GSConv | Prune | GFLOPs | Inference Time | ||
|---|---|---|---|---|---|---|
| - | - | - | 0.877 | 0.552 | 8.1 | 23.7 ms |
| ✓ | - | - | 0.883 | 0.556 | 6.6 | 22.6 ms |
| - | ✓ | - | 0.894 | 0.579 | 8.0 | 23.1 ms |
| ✓ | ✓ | - | 0.879 | 0.551 | 6.4 | 21.9 ms |
| ✓ | ✓ | ✓ | 0.884 | 0.559 | 6.2 | 21.2 ms |
| Model | GFLOPs | Inference Time | ||
|---|---|---|---|---|
| YOLOv7-tiny | 0.883 | 0.532 | 13 | 25.2 ms |
| YOLOv8n(Baseline model) | 0.877 | 0.552 | 8.1 | 23.7 ms |
| YOLOv9-t | 0.885 | 0.565 | 10.7 | 85.1 ms |
| YOLOv10n | 0.896 | 0.56 | 7.2 | 34.7 ms |
| YOLOv11n | 0.848 | 0.503 | 6.3 | 31.6 ms |
| Our model | 0.884 | 0.559 | 6.2 | 21.2 ms |
| Model | Inference Time | ||
|---|---|---|---|
| YOLOv8n | 0.877 | 0.552 | 23.7 ms |
| Lightweight Improvement | 0.884 | 0.559 | 21.2 ms |
| Lightweight Improvement+INT8 | 0.274 | 0.126 | 15.2 ms |
| Lightweight Improvement+FP16 | 0.886 | 0.564 | 17.7 ms |
| Lightweight Improvement+FP32 | 0.886 | 0.566 | 20.1 ms |
| SPD-Conv | CBAM | BiFPN | P | R | Size | ||
|---|---|---|---|---|---|---|---|
| - | - | - | 0.76 | 0.631 | 0.687 | 0.343 | 6.3 MB |
| ✓ | - | - | 0.777 | 0.657 | 0.714 | 0.365 | 6.8 MB |
| - | ✓ | - | 0.783 | 0.637 | 0.698 | 0.348 | 6.4 MB |
| - | - | ✓ | 0.789 | 0.65 | 0.715 | 0.373 | 6.5 MB |
| ✓ | ✓ | - | 0.794 | 0.675 | 0.735 | 0.378 | 7 MB |
| - | ✓ | ✓ | 0.784 | 0.661 | 0.718 | 0.376 | 6.6 MB |
| ✓ | - | ✓ | 0.805 | 0.695 | 0.754 | 0.403 | 7 MB |
| ✓ | ✓ | ✓ | 0.805 | 0.706 | 0.768 | 0.409 | 7.1 MB |
| Model | P | R | Size | ||
|---|---|---|---|---|---|
| YOLOv7-tiny | 0.767 | 0.668 | 0.726 | 0.361 | 12.3 MB |
| YOLOv8n(Baseline model) | 0.76 | 0.631 | 0.687 | 0.343 | 6.3 MB |
| YOLOv9-t | 0.78 | 0.648 | 0.717 | 0.376 | 6.1 MB |
| YOLOv10n | 0.734 | 0.624 | 0.692 | 0.353 | 5.8 MB |
| YOLOv11n | 0.781 | 0.639 | 0.702 | 0.356 | 5.5 MB |
| Defect Detection Improvement Model | 0.805 | 0.706 | 0.768 | 0.409 | 7.1 MB |
| Device | Parameter Name | Specific Data |
|---|---|---|
| Wheelbase | 900 mm | |
| Quadcopter drone | Height | 410 mm |
| Weight | 5.2 kg | |
| Horizontal Accuracy | ≤2.5 m | |
| GNSS | Speed Accuracy | ≤0.1 m/s |
| Update Frequency | 1–10 hz | |
| Size | 121 mm × 101 mm × 78 mm | |
| Weight | 381 g | |
| Gimbal camera | Power Input | 12–36 V |
| FOV | Horizontal , vertical | |
| Maximum resolution | 2560 × 1440 | |
| AI computing power | 20TOPS | |
| CPU | 6-core Arm Cortex-A78AE v8.2 64-bit | |
| GPU | 512 CUDA Cores +16 Tensor Cores | |
| Random access memory (RAM) | 4 GB 64-bit LPDDR5 34 GB/s | |
| Onboard computer | Power consumption | 7 W|10 W |
| Operating system | Ubuntu 20.04.5 LTS | |
| Python environment | Python3.8 | |
| Deep learning environment (DLE) | Torch1.12.0+CUDA11.4.315 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Chen, S.; Wang, W.; Yang, M.; Zhang, J. Visual-Based Dual Detection and Route Planning Method for UAV Autonomous Inspection. Drones 2025, 9, 676. https://doi.org/10.3390/drones9100676
Chen S, Wang W, Yang M, Zhang J. Visual-Based Dual Detection and Route Planning Method for UAV Autonomous Inspection. Drones. 2025; 9(10):676. https://doi.org/10.3390/drones9100676
Chicago/Turabian StyleChen, Siwen, Wei Wang, Mingpeng Yang, and Jingtao Zhang. 2025. "Visual-Based Dual Detection and Route Planning Method for UAV Autonomous Inspection" Drones 9, no. 10: 676. https://doi.org/10.3390/drones9100676
APA StyleChen, S., Wang, W., Yang, M., & Zhang, J. (2025). Visual-Based Dual Detection and Route Planning Method for UAV Autonomous Inspection. Drones, 9(10), 676. https://doi.org/10.3390/drones9100676

