Abstract
Power line detection (PLD) is of vital importance for the flight security of low-altitude aircraft, such as helicopters and unmanned aerial vehicles (UAVs). This paper firstly summarises past studies on PLD based on image processing technique extensively. Secondly, different from the traditional PLD methods, we propose an approach to detect power lines based on deep learning which has been demonstrated having unparalleled performance in the field of image processing and computer vision. Specifically, the convolutional neural network (CNN) is employed in this study to extract features and thus detecting power lines from images. By utilising CNN, the feature extraction and object detection process are completed jointly unlike traditional PLD methods. A public dataset is used to demonstrate the performance of the proposed approach. This paper also gives recommendations for the future development of PLD.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
Power line detection (PLD) have attracted increasing attentions in recent years. This is mainly because PLD is of great importance and has many important applications in both military and civil fields. For example, PLD is vital for flight safety of helicopter and UAV etc. The United States army reports that they have lost more helicopters to power lines than against enemies in combat [1]. Besides, PLD can be applied in automatic surveillance of electrical power infrastructure [11, 13] and power line inspection [19]. This is very helpful to locate the points of faults on power lines and to diagnose the components equipped on power lines. Also, this helps to save a huge amount of money which is spent on manual power line surveillance.
In past decades, with the continuous increasing of camera resolution, detecting power lines from aerial images directly have become possible, which is not possible previously. Since then, many methods based on traditional image processing techniques have been proposed to detect or recognise power lines, for example using the edge detection and Hough transform. Some of these works are based on visible images, while some others utilise infrared images.
However, there are some shortcomings of traditional image processing-based methods. Firstly, featured used to detect lines are designed manually, which may not be very good, and this process is time-consuming and labour-intensive. Secondly, the frequently-used Hough transform is mainly designed for straight line detection. However, power lines may not always be straight lines. Thirdly, these algorithms may be computationally expensive since pre-processing and time-consuming feature extraction are needed. Also, many prior knowledge about power lines is needed in designing traditional algorithms, however this is labour-intensive to implement.
Consequently, a more robust, accurate, cheap and intelligent PLD method is necessary. Considering the great success of deep learning in various fields, in this work we propose to deal with PLD problem using deep learning.
The following parts of this paper are organised as follows. Section 2 gives some background information about PLD, then Sect. 3 presents a review of PLD approaches based on image processing. Section 4 will present the proposed deep learning framework for PLD and experimental work will be presented in Sect. 5. Then, Sect. 6 will give the results. Finally, Sect. 7 concludes the paper.
2 Background
2.1 Power Line Detection
PLD is an important yet challenging problem. One factor making PLD challenging is the complex or cluttered background with cloud, trees, grasses etc. Figure 1 presents some images containing power lines. As it can be seen, the background varies from human eyes. Another factor is the features of power lines themselves.
2.1.1 Features of Power Lines
Power lines in aerial images normally have some features compared to other objects [13, 27]. Firstly, power lines are very small and thin. Secondly, power lines can be approximated reasonably well by straight lines from overhead view. Thirdly, a power line is made of specific metal and has larger light reflection, thus from downward view it is usually brighter than its surroundings. Besides, a power line usually has uniform brightness. Finally, power lines are approximately parallel to each other. This is because the intersection of two power lines usually occurs far out of the image due to the limited size of images, and the intersecting angle of two lines is usually very small, as shown in Fig. 1.
On one hand, these features make the PLD problem even more challenging. On the other hand, these knowledge can be used to guide designing PLD algorithms, like presented by Li et al. [13].
2.1.2 Warning Sphere for Power Lines
Considering the features of power lines, some measures have been taken to help pilots to recognise power lines. One of the most frequently-used methods is the warning sphere. Normally, warning spheres are installed in places near airport as shown in Fig. 2 which illustrates some warning spheres near Shanghai Pudong International Airport in China. Although warning spheres can help to recognise power lines to some extent, it is not quite enough. It is difficult and time- consuming to install warning spheres. What’s more, it is not possible to install warning spheres everywhere, image to image, and sometimes it is very difficult to distinguish power lines from background even with thus only a very small part of power lines can have convert these spheres. In addition, sometimes it is possible that these warning spheres fall down, which is dangerous for people or houses beneath these power lines.
2.2 Machine Learning and Deep Learning
In recent years, machine learning and deep learning have attracted great interests in both academic field and industries. The fast development of them is mainly driven by the greatly increased amount of data and computing power.
Machine learning and deep learning have been applied in many fields and have provided significantly better performance than traditional methods. For example, in computer vision [25], robotics [12], medical imaging [15] and even Go [21, 22]. Compared to traditional machine learning algorithms, in past years deep leaning have exhibited better performance in various areas due to its advantages. For instance, it can automatically learning effective features, which has been well demonstrated in many computer vision problems. In addition, although it takes time to train the algorithm, it works quite effectively in detection once trained.
From the literature it can be found that some researchers have started to consider using machine learning to solve PLD problem. However, to the best of our knowledge, there is still no work introducing deep learning to this field. In the present work, we will utilise deep learning to solve PLD problem.
3 Related Work
Generally speaking, there are three main kinds of PLD methods. The first kind is laser-based method. For example, Avizonis and Barron [1] present the very early research on PLD using laser-based method. The second kind is radar-based method as introduced in some studies [18, 20]. The last kind is image- based methods, which are the focus of this work.
3.1 Power Line Detection Based on Traditional Image Processing Method
3.1.1 Detecting Power Lines as Straight Lines
As presented in Sect. 2, power lines can be approximated using straight lines in aerial images. Therefore, one can utilise straight line detection methods to detect those power lines, for instance the Hough transform [9] and Radon transform [26].
3.1.1.1 Hough Transform
The Hough transform is a classical straight line detection method, which is insensitive to noise and has been frequently applied to detect power lines. The main principle of Hough transform is to convert a line in the Cartesian coordinate into a point in the parametric space (Hough space), as illustrated in Fig. 3.
Li et al. [13, 14] proposed a power line inspection system which consists of three parts. The first part was the Pulse-Coupled Neural Network (PCNN) filter which was used for removing background noise. The second part of the Hough transform was used to detect straight lines. The third part was knowledge based line clustering employed to refine detection results. Specifically, K-means clustering algorithm was utilised. Similarly, the method proposed by Wu et al. [27] consists of three steps. Compared to work of Li et al., the edges of power lines were extracted using the SWIFTS algorithm before the Hough transform was employed to detect power lines. Besides, the Nearest Neighbourhood (NN) algorithm was implemented to distinguish different lines. However, although experiments have shown that the algorithm presented by Wu et al. [27] is able to detect power lines, it is very time-consuming thus it may not be used in real applications.
Zhang et al. [34] performed study on power line detection and tracking for a UAV-based inspection. In that work, the Hough transform was used to detect lines, followed by a K-means algorithm to cluster and filter straight lines. Then, a Kalman filter was employed to track power lines. Liu et al. [16] also explored to detect power lines through Hough transform, but before applying the Hough transform, they did some pre-processing to obtain clearer images and used morphological operator for edge detection.
Apart from traditional Hough transform, researchers have also proposed some improved Hough transform and applied to PLD problem. For instance, Ji et al. [10] proposed an improved Hough transform and applied it to line detection. In that work, a local operator in the parameter space was defined to help to find peak and avoid parameter tuning needed in traditional Hough transform. Fernandes et al. [8] presented an improved Hough transform, aiming at achieve real-time performance. Specifically, they presented an improved voting scheme in the Hough transform that allows real-time performance for relatively large images. Candamo et al. [3] presented the method to detect thin lines in urban settings using a windowed Hough transform, which can avoid incidental edge alignment produced by noisy edges.
3.1.1.2 Radon Transform
There are also some works that conduct PLD based on Radon transform, which is another well-known line detection method. For example, Yan et al. [28] conducted PLD based on Radon transform. They firstly extract line segments using Radon transform, and then use grouping method and the Kalman filter to obtain an entire line. They claimed that their method can extract power lines successfully regardless of background complexity.
Researchers have also tried to improve Radon transform to obtain better performance. Chen et al. [7] presented a Cluster Radon Transform (CRT) PLD method based on improved Radon transform to extract linear feature from satellite image and can reduce/avoid alarm. Cao et al. [5] proposed a Boundary Search Radon Transform (BSRT) by assuming that the initial point of an integral line is on one of the image boundaries.
3.1.1.3 Other Methods
Some other methods have also been applied in detecting power cables as lines in images. For example, Ceron et al. [6] proposed a PLD method using a Circle Based Search (CBS) method. Yetgin et al. [29] proposed a method based on the EDlines method. Yetgin et al. [33] gave a comparison between three image-based PLD methods, i.e. EDLines, LSD and Hough Transform. They claimed that EDLines method can provide higher accuracy among these three approaches. Song et al. [24] presented an image-based local to global PLD method. Firstly, morphological filter is used to detect a line segment pool, and then these line segments are grouped into whole power line.
3.1.2 Detecting Power Line as an Object
In works presented above, power lines are considered as lines in images, rather than objects. Therefore, line detection method are utilised in those studies. However, it is also possible to detect power lines by recognising them as objects, in order to obtain better detection performance. Candamo et al. [4] presented very early research on this direction and proposed a method by considering the line and its surroundings, using the Gaussian model. Although linear patterns are searched in that work to find wires, the surroundings around lines are also considered to discriminate wires from other visually similar linear patterns. In this case, this method actually consider power lines as objects. Results in that work showed the method can improve detection performance in the condition of highly cluttered urban backgrounds, moderate rain and mist. Luo et al. [17] developed an object-aware PLD method which utilises the object properties of power lines. In that study, apart from RGB images, near-infrared (NIR) images are also employed to assist the detection of power lines.
3.2 Power Line Detection Based on Machine Learning
In the past, most works treated the power line as a straight line, and use method like Hough transform to detect it. However, the power line may not always be straight line, and may not always start from the edge of images. Consequently, the traditional image- based methods may not work well. To overcome these problems, one can turn to machine learning technique. Actually, with the increasing development of machine learning technique, some researchers have tried to conduct PLD problem with machine learning. When considering using machine learning to solve PLD problem, one can conduct in two ways. The first one is formulating the PLD problem as a binary classification problem, i.e. to judge whether the scene contains power lines or not. At the moment, most works are following this way [30, 31]. The second one is to formulate PLD as a detection problem.
PLD method based on machine learning normally consists of several stages. Firstly, one needs to do pre-processing for images, for instance to resize images and remove noise. Then, features should be extracted and selected in proper way. Finally, the features are fed into classifiers to do classification. The flow chart illustrating the whole process is given in Fig. 4.
Yetgin et al. [30] conducted a study using binary classification to perform power line scene detection. In that work, new feature extraction/selection strategies based on Discrete Cosine Transform (DCT) have been applied to scenes obtained from aircraft-based cameras. The accuracy of their work on a public dataset was around 89.5% when using visible images.
Note that apart from formulating power line detection as a binary classification problem, in some of the above-mentioned works, some machine learning algorithms have been applied as a part of the power line detection method. For instance, in the work presented by Li et al. [13, 14], K-means was utilised. In the work of Wu et al. [27], the Nearest Neighbourhood (NN) algorithm was chosen. In addition to these studies, Bhola et al. [2] proposed a method to detect power lines in UAV remote sensed images using spectral-spatial methods, where the K-means algorithm have also been employed.
4 Method
Unlike traditional PLD methods based on image processing and machine learning, we propose to apply deep leaning to power line detection. Specifically, the convolutional neural network which is famous for handling images is utilised in this study. Besides, we treat the power line detection problem as a binary classification problem, namely we recognise whether the image contains power line or not. In real applications, this method can find the scene containing power lines and then give an alarm to remind pilots. This is in contrast to some studies mentioned above, which detect and locate lines directly in images.
The deep learning framework utilised in this work is presented in Fig. 5. The network structure is very similar to the famous VGG-16 network [23], containing 13 convolutional layers, pooling layers and 3 fully-connected layers. The convolutional kernel size is 3 × 3. To adapt to PLD problem, the last fully-connected layer is changed to only have two units. In this work, all weights and bias in the network are trained and optimised using labelled training images. Note that the input image should be resized to 224 × 224 in order to be processed by the deep learning model.
5 Experimental Work
5.1 Dataset
Thanks to the work of Yetgin et al. [32], there is a public power line dataset available online. In the present study, this dataset is utilised to show the effectiveness of the proposed method in finding power lines from images. This dataset contains 4000 visible and 4000 infrared images captured all over Turkey with various backgrounds, temperatures and weather conditions. Among each kind, there are 2000 images with power line and 2000 images without power line. In the present study, only visible images are utilised.
5.2 Training of the CNN Model
Before training the network, all images are resized to the size of 224 × 224 to fit into the requirement of the CNN model. Main parameters of the train process are listed in Table 1. Note that among 4000 visible images in the dataset, 3000 images are used in training set, 1000 are in the test set.
The computer used to train the model is a desktop with an AMD Ryzen 5 1400 Quad-Core Processor (3.20 GHz) and 8 GB RAM. Besides, a NVIDIA Geforce GTX 1070 GPU is equipped. The training time for 6000 epochs is around 7 h. The loss and accuracy during the training process are given in Figs. 6 and 7, respectively. As it can be seen, the loss has been significantly reduced while the accuracy has been greatly enhanced after training, which indicates the effectiveness of the training process.
6 Results and Discussions
6.1 Results
Two tests have been performed using the trained model to evaluate its performance. In Test 1, 100 images containing power lines from the public dataset are fed into the trained model. In Test 2, 100 images do not contain power lines from the public dataset as well are utilised. Note that these images have not been used in the training process. The test results are listed in Table 2. As it can be seen, 95% of images which include power lines can be correctly recognised, although a part of images which do not have power lines are classified having.
Note that although it takes several hours to train the model, it is very fast to perform testing. This can actually satisfy the requirement of real applications, i.e. the model can work in real time.
6.2 Discussions
As illustrated in Table 2, the proposed deep learning-based method can recognise power lines from various images with the accuracy of 95%. This is significantly higher than the accuracy of traditional image processing methods for the same dataset, which is only 89.5% [30]. To the best of our knowledge, this is the first study that apply deep learning into PLD problem. The significantly enhanced accuracy clearly demonstrate the strength and potential of deep learning in PLD.
However, the precision of above tests is around 72.0%, which means that the trained model will incorrectly find power lines from images which do not include them. In practical applications, this will give some false alarm to pilots.
There are several factors that may affect the performance of the network, which are listed as follows:
-
Network architecture. It is well-known that the network structure, for instance the number of units, layers and size of kernels, have huge affection on performance of the model.
-
Number of images in the dataset. Another very important factor in deep learning is the amount of labelled data. Generally speaking, the more data used, the better performance obtained. In this study, we utilised the public power line dataset to train the model. However, 4000 images are not really enough for a network to be trained from scratch, therefore, it can be expected that if more labelled data are available, better performance can be achieved. Alternatively, if advanced techniques which can efficiently utilise limited data were employed, better performance would also be achieved.
-
Hyperparameters in the CNN model. The hyperparameters in the CNN model, for instance the learning rate, also have affection on the network performance. In this work, we chose these parameters based on experience and trials.
To sum up, compared to traditional image processing-based and machine learning-based methods, deep learning can automatically extract and select effective features through learning from training set. Consequently, deep learning shows good performance in PLD problem although there is still much space to be improved.
7 Conclusion
In this paper, deep learning technique is applied to the power line detection (PLD) problem. Specifically, the convolutional neural network (CNN) is employed. To the best of our knowledge, this is the first public work attempting applying deep learning in PLD problem. Labelled images from public power line dataset are used to train the CNN model and test the feasibility of the proposed method. Experimental results clearly demonstrate that the proposed deep learning method can correctly recognise 95% of images containing power lines, which is much better than traditional image process or machine learning-based approaches.
References
Avizonis, P., & Barron, B. (1999). Low cost wire detection system. In Proceedings of 18th Digital Avionics Systems Conference (Vol. 1, pp. 3–C). IEEE.
Bhola, R., Krishna, N. H., Ramesh, K. N., Senthilnath, J., & Anand, G. (2018). Detection of the power lines in UAV remote sensed images using spectral-spatial methods. Journal of Environmental Management, 206, 1233–1242.
Candamo, J., Kasturi, R., Goldgof, D., & Sarkar, S. (2009). Detection of thin lines using low-quality video from low-altitude aircraft in urban settings. IEEE Transactions on Aerospace and Electronic Systems, 45(3), 937–949.
Candamo, J., Goldgof, D., Kasturi, R., & Godavarthy, S. (2010). Detecting wires in cluttered urban scenes using a gaussian model. In 20th International Conference on Pattern Recognition (Vol. 1, pp. 432–435).
Cao, W., Zhu, L., Han, J., Wang, T., & Du, Y. (2013). High voltage transmission line detection for UAV based routing inspection. In IEEE/ASME International Conference on Advanced Intelligent Mechatronics (pp. 554–558).
Ceron, A., I. F. Mondragon, B., & Prieto, F. (2014). Power line detection using a circle based search with UAV images. In Proceedings of 2014 International Conference on Unmanned Aircraft Systems (ICUAS) (pp. 632–639).
Chen, Y., Li, Y., Zhang, H., Tong, L., Cao, Y., & Xue, Z. (2016). Automatic power line extraction from high resolution remote sensing imagery based on an improved radon transform. Pattern Recognition, 49, 174–186.
Fernandes, L. A., & Oliveira, M. M. (2008). Real-time line detection through an improved Hough transform voting scheme. Pattern Recognition, 41(1), 299–314.
Haralick, R. M., Shanmugam, K., & Dinstein, I. (1973). Textural features for image classification. IEEE Transactions on Systems Man & Cybernetics, smc-3(6), 610–621.
Ji, J., Chen, G., & Sun, L. (2011). A novel Hough transform method for line detection by enhancing accumulator array. Pattern Recognition Letters, 32(11), 1503–1510.
Karakose, E. (2017). Performance evaluation of electrical transmission line detection and tracking algorithms based on image processing using uav. In International artificial intelligence and data processing symposium (pp. 1–5).
Lenz, I., Lee, H., & Saxena, A. (2015). Deep learning for detecting robotic grasps. The International Journal of Robotics Research, 34(4–5), 705–724.
Li, Z., Liu, Y., Hayward, R., Zhang, J., & Cai, J. (2008). Knowledge-based power line detection for UAV surveillance and inspection systems. In Proceedings of 23rd International Conference on Image and Vision Computing, New Zealand (pp. 1–6). IEEE.
Li, Z., Liu, Y., Walker, R., Hayward, R., & Zhang, J. (2010). Towards automatic power line detection for a UAV surveillance system using pulse coupled neural filter and an improved hough transform. Machine Vision and Applications, 21(5), 677–686.
Litjens, G., Kooi, T., Bejnordi, B. E., Setio, A. A. A., Ciompi, F., Ghafoorian, M., et al. (2017). A survey on deep learning in medical image analysis. Medical Image Analysis, 42, 60–88,
Liu, L., Wang, W., Yong, J., & Ren, J. (2016). Automatic extraction of power lines from aerial images based on Hough transform. In Proceedings of International Conference on Energy, Materials and Manufacturing Engineering, number Emme, page 78620Q.
Luo, X., Zhang, J., Cao, X., & Yan, P. (2014). Object-aware power line detection using color and near- infrared images. IEEE Transactions on Aerospace and Electronic Systems, 50(2), 1374–1389.
Ma, Q., Goshi, D. S., Shih, Y. C., & Sun, M. T. (2011). An algorithm for power line detection and warning based on a millimeter-wave radar video. IEEE Transactions on Image Processing, 20(12), 3534–3543.
Santos, T., Moreira, M., Almeida, J., et al. (2017). Plined: Vision-based power lines detection for unmanned aerial vehicles. In Proceedings of 2017 IEEE International Conference on Autonomous Robot Systems and Competitions (ICARSC) (pp. 253–259). IEEE.
Sarabandi, K., & Park, M. (2000). Extraction of power line maps from millimeter-wave polarimetric SAR images. IEEE Transactions on Antennas and Propagation, 48(12), 1802–1809.
Silver, D., Huang, A., Maddison, C. J., et al. (2016, January). Mastering the game of Go with deep neural networks and tree search. Nature, 529(7587), 484–489.
Silver, D., Schrittwieser, J., Simonyan, K., et al. (2017, October). Mastering the game of go without human knowledge. Nature, 550, 354.
Simonyan, K., & Zisserman, A. (2014). Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556.
Song, B., & Li, X. (2014). Power line detection from optical images. Neurocomputing, 129, 350–361.
Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J., & Wojna, Z. (2016). Rethinking the inception architecture for computer vision. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (pp. 2818–2826).
Toft, P. (1996). The radon transform: Theory and implementation.
Wu, Q., An, J., & Yang, R. (2010). Extraction of power lines from aerial images based on Hough transform. In Earth observing missions and sensors: Development, implementation, and characterization (Vol. 7862, p. 78620Q). International Society for Optics and Photonics.
Yan, G. J., Li, C. Y., Zhou, G. Q., Zhang, W. M., & Li, X. W. (2007). Automatic extraction of power lines from aerial images. IEEE Geoscience and Remote Sensing Letters, 4(3), 387–391.
Yetgin, O. E., & Gerek, O. N. (2013). Cable and wire detection system for aircrafts. In Proceedings of Signal Processing and Communications Applications Conference (pp. 1–4).
Yetgin, Ö. E., & Gerek, Ö. N. (2017a). Automatic recognition of scenes with power line wires in real life aerial images using DCT-based features. Digital Signal Processing: A Review Journal, 1, 1–18.
Yetgin, Ö. E., & Gerek, Ö. N. (2017b). Feature extraction, selection and classification code for power line scene recognition. SoftwareX.
Yetgin, Ö. E., & Gerek, Ö. N. (2017c). Powerline Image Dataset (Infrared-IR and Visible Light-VL). Mendeley Data, v7.
Yetgin, O. E., Senturk, Z., & Gerek, O. N. (2015). A comparison of line detection methods for power line avoidance in aircrafts. In Proceedings of 9th International Conference on Electrical and Electronics Engineering (ELECO) (pp. 241–245).
Zhang, J., Liu, L., Wang, B., et al. (2012). High speed automatic power line detection and tracking for a UAV-based inspection. In Proceedings of International Conference on Industrial Control and Electronics Engineering (pp. 266–269). IEEE.
Acknowledgements
This paper is sponsored by National Program on Key Basic Research Project (2014CB744903), National Natural Science Foundation of China (61673270), Shanghai Pujiang Program (16PJD028), Shanghai Industrial Strengthening Project (GYQJ-2017-5-08), Shanghai Science and Technology Committee Research Project (17DZ1204304) and Shanghai Engineering Research Center of Civil Aircraft Flight Testing.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Zhang, X., Xiao, G., Gong, K., Zhao, J., Bavirisetti, D.P. (2019). Automatic Power Line Detection for Low-Altitude Aircraft Safety Based on Deep Learning. In: Jing, Z. (eds) Proceedings of International Conference on Aerospace System Science and Engineering 2018. ICASSE 2018. Lecture Notes in Electrical Engineering, vol 549. Springer, Singapore. https://doi.org/10.1007/978-981-13-6061-9_11
Download citation
DOI: https://doi.org/10.1007/978-981-13-6061-9_11
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-13-6060-2
Online ISBN: 978-981-13-6061-9
eBook Packages: EngineeringEngineering (R0)