The invention discloses an
electric power scene defect
small target detection method based on
Gaussian mask supervision and cross-layer attention guidance, and the method comprises the steps: inputting an
electric power scene image into a detection model, extracting an initial feature map through a
backbone network, carrying out the multi-stage
feature extraction of the initial feature map according to a
convolution path, and carrying out the multi-stage
feature extraction of the initial feature map;
processing the multi-stage features based on a path aggregation network, and outputting a plurality of fusion feature maps with different feature levels from shallow to deep; and based on cross-scale window attention, guiding a shallow fusion feature map to carry out
semantic information modeling by using a deep fusion feature map with high
semantics in every two adjacent fusion feature maps, and after a plurality of output feature maps are obtained, respectively
processing and outputting prediction results by using a multi-
branch detection head. According to the method, shallow feature activation prediction and cross-scale window attention guidance are fused, and the detection robustness and positioning precision of a tiny fault target in an unmanned aerial
vehicle inspection image can be effectively improved.