Abstract
Power-line presence recognition technology for unmanned aerial vehicles (UAVs) is one of the key research directions in the field of UAV remote sensing. With the rapid development of UAV technology, the application of UAVs in various fields has become increasingly widespread. However, when flying in urban and rural areas, UAVs often face the danger of obstacles such as power lines, posing challenges to flight safety and stability. To address this issue, this study proposes a novel method for presence recognition in UAVs for power lines using an improved GhostNet v2 knowledge distillation dual-attention mechanism convolutional neural network. The construction of a real-time UAV power-line presence recognition system involves three aspects: dataset acquisition, a novel network model, and real-time presence recognition. First, by cleaning, enhancing, and segmenting the power-line data collected by UAVs, a UAV power-line presence recognition image dataset is obtained. Second, through comparative experiments with multi-attention modules, the dual-attention mechanism is selected to construct the CNN, and the UAV real-time power-line presence recognition training is conducted using the SGD optimiser and Hard-Swish activation function. Finally, knowledge distillation is employed to transfer the knowledge from the dual-attention mechanism-based CNN to the nonlinear function and Mamba-enhanced GhostNet v2 network, thereby reducing the model's parameter count and achieving real-time recognition performance suitable for mobile device deployment. Experiments demonstrate that the UAV-based real-time power-line presence recognition method proposed in this paper achieves real-time recognition accuracy rates of over 91.4% across all regions, providing a technical foundation for advancing the development and progress of UAV-based real-time power-line presence recognition.