A Defect Detection Method Based on BC-YOLO for Transmission Line Components in UAV Remote Sensing Images
Abstract
:1. Introduction
- We construct a dataset of images of vibration dampers and insulators using remote sensing images taken by UAVs, which we refer to as DVDI. There are three types of insulators (XWP, LXY, and FXBW) and four types of vibration dampers (FD, FDZ, FFH, and FR). Each type of vibration damper or insulator may have defects, or may be normal.
- We propose a defect detection method for insulator and vibration dampers, named BC-YOLO. We introduce the CA module into YOLOv5. This module embeds the location information into the channel attention by decomposing the channel attention. The CA module enhances the network’s ability to detect insulators and vibration dampers in complex backgrounds. We use BiFPN instead of the original PANet feature fusion framework to better balance the feature information at different scales by weighting each scale. The BiFPN feature fusion framework enhances the network’s ability to detect small targets such as vibration dampers.
2. Related Work
3. Dataset
3.1. DVDI Dataset
3.2. Data Pre-Processing
3.3. Data Annotation
4. Method
4.1. YOLOv5 Network Architecture
4.2. Architecture of the BC-YOLO Network
4.2.1. Attention Mechanism Module
4.2.2. Feature Fusion-Enhanced BiFPN
4.3. Proposed Framework
- Remote sensing images of transmission lines are taken by the UAV during a power inspection.
- The images are pre-processed using the gamma transform, and the defect dataset is expanded by rotational mirroring.
- LabelImg is used to label the dataset, and the categories and boxes of insulators and vibration dampers are saved in an XML file.
- The dataset is divided into a training set, validation set, and test set in the ratio of 6:2:2, and the resolution of the images is adjusted to 416 × 416 after feeding into the network.
- The divided dataset is trained using BC-YOLO.
- The loss function is observed during training, and the network weights are saved when the loss is minimized.
- The saved network weights are used to detect insulators and vibration dampers with anomalies.
5. Experimental Results and Analysis
5.1. Experimental Environment and Parameters
5.2. Performance Evaluation Index
5.3. Results and Analysis
5.3.1. Comparative Experiments on Attention Mechanisms
5.3.2. Comparison of Experiments That Add Different Modules
5.3.3. Comparison of Different Object Detection Networks
6. Discussion
7. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Sadykova, D.; Pernebayeva, D.; Bagheri, M.; James, A. IN-YOLO: Real-time detection of outdoor high voltage insulators using UAV imaging. IEEE Trans. Power Deliv. 2019, 35, 1599–1601. [Google Scholar] [CrossRef]
- Liang, H.; Zuo, C.; Wei, W. Detection and evaluation method of transmission line defects based on deep learning. IEEE Access 2020, 8, 38448–38458. [Google Scholar] [CrossRef]
- Wang, S.; Liu, Y.; Qing, Y.; Wang, C.; Lan, T.; Yao, R. Detection of Insulator Defects With Improved ResNeSt and Region Proposal Network. IEEE Access 2020, 8, 184841–184850. [Google Scholar] [CrossRef]
- Siddiqui, Z.A.; Park, U. A drone based transmission line components inspection system with deep learning technique. Energies 2020, 13, 3348. [Google Scholar] [CrossRef]
- Jiang, S.; Jiang, W.; Huang, W.; Yang, L. UAV-based oblique photogrammetry for outdoor data acquisition and offsite visual inspection of transmission line. Remote Sens. 2017, 9, 278. [Google Scholar] [CrossRef] [Green Version]
- Liu, X.; Lin, Y.; Jiang, H.; Miao, X.; Chen, J. Slippage fault diagnosis of dampers for transmission lines based on faster R-CNN and distance constraint. Electr. Power Syst. Res. 2021, 199, 107449. [Google Scholar] [CrossRef]
- Yang, L.; Fan, J.; Liu, Y.; Li, E.; Peng, J.; Liang, Z. A review on state-of-the-art power line inspection techniques. IEEE Trans. Instrum. Meas. 2020, 69, 9350–9365. [Google Scholar] [CrossRef]
- Katrasnik, J.; Pernus, F.; Likar, B. A survey of mobile robots for distribution power line inspection. IEEET rans. Power Deliv. 2009, 25, 485–493. [Google Scholar] [CrossRef]
- Nguyen, V.N.; Jenssen, R.; Roverso, D. Automatic autonomous vision-based power line inspection: A review of current status and the potential role of deep learning. Int. J. Electr. Power Energy Syst. 2018, 99, 107–120. [Google Scholar] [CrossRef] [Green Version]
- Matikainen, L.; Lehtomäki, M.; Ahokas, E.; Hyyppä, J.; Karjalainen, M.; Jaakkola, A.; Kukko, A.; Heinonen, T. Remote sensing methods for power line corridor surveys.ISPRS J. Photogramm. Remote Sens. 2016, 119, 10–31. [Google Scholar]
- Tiantian, Y.; Guodong, Y.; Junzhi, Y. Feature fusion based insulator detection for aerial inspection. In Proceedings of the 2017 36th Chinese Control Conference (CCC), Dalian, China, 26–28 July 2017; pp. 10972–10977. [Google Scholar]
- Reddy, M.J.B.; Chandra, B.K.; Mohanta, D.K. A DOST based approach for the condition monitoring of 11 kV distribution line insulators. In IEEE Transactions on Dielectrics and Electrical Insulation; IEEE: Piscataway, NJ, USA, 2011; Volume 18, pp. 588–595. [Google Scholar] [CrossRef]
- Reddy, M.J.B.; B, K.C.; Mohanta, D.K. Condition monitoring of 11 kV distribution system insulators incorporating complex imagery using combined DOST-SVM approach. In IEEE Transactions on Dielectrics and Electrical Insulation; IEEE: Piscataway, NJ, USA, 2013; Volume 20, pp. 664–674. [Google Scholar] [CrossRef]
- Li, B.; Wu, D.; Cong, Y.; Xia, Y.; Tang, Y. A method of insulator detection from video sequence. In Proceedings of the 4th International Symposium on Information Science and Engineering (ISISE), Shanghai, China, 14–16 December 2012; pp. 386–389. [Google Scholar]
- Zhao, Z.; Liu, N.; Wang, L. Localization of multiple insulators by orientation angle detection and binary shape prior knowledge. In IEEE Transactions on Dielectrics and Electrical Insulation; IEEE: Piscataway, NJ, USA, 2015; Volume 22, pp. 3421–3428. [Google Scholar] [CrossRef]
- Wu, Q.; An, J.; Lin, B. A Texture Segmentation Algorithm Based on PCA and Global Minimization Active Contour Model for Aerial Insulator Images. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2013, 5, 1509–1518. [Google Scholar] [CrossRef]
- Liao, S.; An, J. A robust insulator detection algorithm based on local features and spatial orders for aerial images. IEEE Geosci. Remote Sens. Lett. 2015, 12, 963–967. [Google Scholar] [CrossRef]
- Jabid, T.; Uddin, M.Z. Rotation invariant power line insulator detection using local directional pattern and support vector machine. In Proceedings of the International Conference on Engineering and Technology Innovations 2016 (ICISET), Wuhan, China, 26–24 March 2016; pp. 1–4. [Google Scholar]
- Zhao, Z.; Xu, G.; Qi, Y. Representation of binary feature pooling for detection of insulator strings in infrared images. In IEEE Transactions on Dielectrics and Electrical Insulation; IEEE: Piscataway, NJ, USA, 2016; Volume 23, pp. 2858–2866. [Google Scholar] [CrossRef]
- Guifeng, Z.; Zhiren, T. Swarm optimization clustering for image segmentation of insulators. In Proceedings of the IEEE Conference on Industrial Electronics and Applications (ICIEA), Xi’an, China, 16–21 June 2019; pp. 397–401. [Google Scholar]
- Li, F.; Xin, J.; Chen, T.; Xin, L.; Wei, Z.; Li, Y.; Zhang, Y.; Jin, H.; Tu, Y.; Zhou, X.; et al. An Automatic Detection Method of Bird’s Nest on Transmission Line Tower Based on Faster_RCNN. IEEE Access 2020, 8, 164214–164221. [Google Scholar] [CrossRef]
- Wanguo, W.; Zhenli, W.; Bin, L.; Yuechen, Y.; Xiaobin, S. Typical Defect Detection Technology of Transmission Line Based on Deep Learning. In Proceedings of the 2019 Chinese Automation Congress (CAC), Hangzhou, China, 22–24 November 2019; pp. 1185–1189. [Google Scholar] [CrossRef]
- Wu, C.; Ma, X.; Kong, X.; Zhu, H. Research on insulator defect detection algorithm of transmission line based on CenterNet. PLoS ONE 2021, 16, e0255135. [Google Scholar] [CrossRef]
- Wu, W.; Li, Q. Machine Vision Inspection of Electrical Connectors Based on Improved Yolo v3. IEEE Access 2020, 8, 166184–166196. [Google Scholar] [CrossRef]
- Bao, W.; Ren, Y.; Wang, N.; Hu, G.; Yang, X. Detection of Abnormal Vibration Dampers on Transmission Lines in UAV Remote Sensing Images with PMA-YOLO. Remote Sens. 2021, 13, 4134. [Google Scholar] [CrossRef]
- Liu, B.; Wang, X.; Jin, W.; Chen, Y.; Liu, C. Infrared image detail enhancement based on local adaptive gamma correction. Chin. Opt. Lett. 2012, 10, 25–29. [Google Scholar]
- Everingham, M.; Van Gool, L.; Williams, C.K.; Winn, J.; Zisserman, A. The pascal Visual Object Classes (VOC) challenge. Int. J. Comput. Vis. 2010, 88, 303–338. [Google Scholar] [CrossRef] [Green Version]
- He, K.; Zhang, X.; Ren, S.; Sun, J. Spatial pyramid pooling in deep convolutional networks for visual recognition. IEEE Trans. Pattern Anal. Mach. Intell. 2015, 37, 1904–1916. [Google Scholar] [CrossRef] [Green Version]
- Liu, S.; Qi, L.; Qin, H.; Shi, J.; Jia, J. Path aggregation network for instance segmentation. In Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA, 18–23 June 2018; pp. 8759–8768. [Google Scholar] [CrossRef] [Green Version]
- Hou, Q.; Zhou, D.; Feng, J. Coordinate Attention for Efficient Mobile Network Design. In Proceedings of the 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA, 20–25 June 2021; pp. 13708–13717. [Google Scholar] [CrossRef]
- Tan, M.; Pang, R.; Le, Q.V. EfficientDet: Scalable and Efficient Object Detection. In Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 13–19 June 2020; pp. 10778–10787. [Google Scholar] [CrossRef]
- Hu, J.; Shen, L.; Albanie, S.; Sun, G.; Wu, E. Squeeze-and-Excitation Networks. In IEEE Transactions on Pattern Analysis and Machine Intelligence; IEEE: Piscataway, NJ, USA, 2020; Volume 42, pp. 2011–2023. [Google Scholar] [CrossRef] [Green Version]
- Woo, S.; Park, J.; Lee, J.; Kweon, I.S. CBAM: Convolutional block attention module. In Proceedings of the 2018 European Conference on Computer Vision (ECCV), Munich, Germany, 8–14 September 2018; pp. 3–19. [Google Scholar] [CrossRef] [Green Version]
- Lin, T.Y.; Dollar, P.; Girshick, R.; He, K.; Hariharan, B.; Belongie, S. Feature pyramid networks for object detection. In Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, 21–26 July 2017. [Google Scholar] [CrossRef] [Green Version]
- Liu, W.; Anguelov, D.; Erhan, D.; Szegedy, C.; Reed, S.; Fu, C.Y.; Berg, A.C. SSD: Single shot multibox detector. arXiv 2015, arXiv:1512.02325. [Google Scholar]
- Lin, T.; Goyal, P.; Girshick, R.; He, K.; Dollár, P. Focal loss for dense object detection. In Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy, 22–29 October 2017; pp. 2999–3007. [Google Scholar] [CrossRef]
- Zhou, X.Y.; Wang, D.Q.; Krhenbühl, P. Objects as points. arXiv 2019, arXiv:1904.07850. [Google Scholar]
- Bochkovskiy, A.; Wang, C.-Y.; Liao, H.-J.M. YOLOv4 optimal speed and accuracy of object detection. arXiv 2020, arXiv:2004.10934. [Google Scholar]
Classes | Number |
---|---|
1 (normal insulators) | 2252 |
2 (damaged insulators) | 632 |
3 (normal vibration dampers) | 3610 |
4 (damaged vibration dampers) | 636 |
Platform | Configuration |
---|---|
Integrated development environment | PyCharm |
Scripting language | Python3.8 |
Deep learning frame CPU model Operating system GPU model GPU accelerator Neural network accelerator | PyTorch1.9.1 Inter Core i7-9700k Ubuntu18.04 LTS 64-bits NVIDIA GeForce RTX 2080Ti CUDA 10.2 cuDNN7.6.5 |
Parameter | Configuration |
---|---|
Neural network optimizer | SGD |
Learning rate Training epochs Momentum Batch size Weight decay | 0.01 300 0.937 4 0.0005 |
True | False | |
---|---|---|
Positive | TP | FP |
Negative | NT | FN |
Baseline | SE | CBAM | CA | Recall(%) | Precision(%) | mAP(%) |
---|---|---|---|---|---|---|
YOLOv5x | √ | 82.7 84.6 | 89.9 88.1 | 86.4 88.3 | ||
√ | 84.6 | 87.4 | 88.0 | |||
√ | 86.8 | 88.0 | 88.4 |
Baseline | BiFPN | CA | Recall(%) | Precision(%) | mAP(%) |
---|---|---|---|---|---|
YOLOv5x | 82.7 | 89.9 | 86.4 | ||
√ | 85.4 | 87.3 | 88.2 | ||
√ | 86.8 | 88.0 | 88.4 | ||
√ | √ | 86.7 | 86.2 | 89.1 |
Method | 1(AP) | 2(AP) | 3(AP) | 4(AP) | mAP(%) |
---|---|---|---|---|---|
SSD | 73.0 | 81.0 | 22.0 | 47.0 | 55.86 |
RetinaNet | 78.0 | 78.0 | 26.0 | 36.0 | 54.37 |
CenterNet | 85.0 | 85.0 | 52.0 | 59.0 | 70.33 |
YOLOv4 | 87.0 | 78.0 | 74.0 | 83.0 | 80.26 |
YOLOv5x | 88.4 | 87.0 | 82.9 | 87.4 | 86.4 |
Proposed method | 90.0 | 89.2 | 84.3 | 92.7 | 89.1 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 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
Bao, W.; Du, X.; Wang, N.; Yuan, M.; Yang, X. A Defect Detection Method Based on BC-YOLO for Transmission Line Components in UAV Remote Sensing Images. Remote Sens. 2022, 14, 5176. https://doi.org/10.3390/rs14205176
Bao W, Du X, Wang N, Yuan M, Yang X. A Defect Detection Method Based on BC-YOLO for Transmission Line Components in UAV Remote Sensing Images. Remote Sensing. 2022; 14(20):5176. https://doi.org/10.3390/rs14205176
Chicago/Turabian StyleBao, Wenxia, Xiang Du, Nian Wang, Mu Yuan, and Xianjun Yang. 2022. "A Defect Detection Method Based on BC-YOLO for Transmission Line Components in UAV Remote Sensing Images" Remote Sensing 14, no. 20: 5176. https://doi.org/10.3390/rs14205176
APA StyleBao, W., Du, X., Wang, N., Yuan, M., & Yang, X. (2022). A Defect Detection Method Based on BC-YOLO for Transmission Line Components in UAV Remote Sensing Images. Remote Sensing, 14(20), 5176. https://doi.org/10.3390/rs14205176