Abstract:The rapid development of the power industry has made power line inspection increasingly important. Traditional inspection methods face issues such as low efficiency and accuracy. A deep learning-based image retrieval method is proposed for aerial image-based inspection. By constructing a deep residual attention network hashing model, channel and spatial attention modules are used to refine features, automatically identifying and focusing on key areas in the images. A triplet loss function with reference samples is employed for end-to-end learning to optimize the distance metric between images, enabling precise differentiation of similar images. Experimental tests demonstrate the effective retrieval and analysis of aerial images of power lines, providing support for inspection tasks.