In view of the problem of poor detection effect of drone-acquired insulator images due to factors such as incon-sistent size and occlusion,an insulator detection algorithm based on SEPyconv-DETR was proposed by the present study.First Pyconv was introduced into the DETR backbone network to effectively fuse multi-scale features.Second the channel attention SE was used to strengthen the key features.Then confusion convolution feedforward network(CC-FFN)was in-tegrated into the transformer to enhance connection between local perception and adjacent tokens.Finally the regression loss is constructed by combining Alpha-IoU and L1 function to improve the positioning accuracy.The experimental results showed that the proposed algorithm can achieve a detection accuracy of mAP@0.5∶0.95 reaching 64.1%and surpassing prevailing algorithms such as DETR and YOLOv5,and can effectively detect insulators with different sizes and occlusions from complex backgrounds.