The invention relates to a power distribution network
tower defect automatic identification and classification method and
system based on
deep learning. According to the method, firstly, a
tower main
body area is positioned and extracted through a
convolutional neural network, and background interference is eliminated; and then the
visual saliency of the defect area is improved by adopting a self-adaptive
contrast enhancement algorithm based on local statistical characteristics. In the
feature extraction stage, a
pyramid distraction attention module is introduced to fuse multi-
scale space information and channel attention, and a two-dimensional selective
state space module is used for modeling a long-range dependency relationship. And multi-resolution features are further aggregated through a layered
feature fusion architecture and a self-adaptive anchor frame mechanism, and targets of different sizes are matched. And finally, a self-adaptive
edge enhancement module is adopted to enhance the edge of the defect, and a multi-
branch detection head is adopted to realize category judgment, position regression and confidence evaluation of the defect in parallel. The method effectively improves the detection precision and robustness of
tower defects under a complex background, and is especially suitable for the automatic recognition of micro-scale defects.