摘要:针对无人机巡检时绝缘子缺陷因目标小、种类多、尺度差异大造成的漏检、误检问题,本文提出了一种YOLOv8改进算法,实现在多类型、多尺度绝缘子缺陷检测中准确性的提升;在改进的算法结构中,在回归损失计算中使用WIoU,降低图像质量引起的梯度增益,增强了模型的定位性能和泛化能力;在主干网络的特征提取和预测阶段,引入多尺度混合注意力机制(Multiscale-hybrid Attention,MHA),增强了网络模型学习小目标重要特征的能力;在主干网络末端,使用多尺度深度可分离卷积来增强SPPF模块,形成多尺度空间敏感模块(Multi-Scale-Space Sensitive Module, MS3M),能够充分提取含有上下文特征的多尺度信息;通过实验表明,使用改进的YOLOv8算法,绝缘子缺陷检测的mAP值达到了97.3%,相较于基线YOLOv8提升了6.2%,对多类型多尺度的绝缘子缺陷检测达到了更好的效果,对提升电力巡检业务运维效率具有现实指导意义。