首页|期刊导航|重庆工商大学学报(自然科学版)|多尺度的YOLOv8-MNS光伏板缺陷检测算法

多尺度的YOLOv8-MNS光伏板缺陷检测算法OA

A Multi-Scale YOLOv8-MNS Algorithm for Photovoltaic Panel Defect Detection

中文摘要英文摘要

目的 针对现有光伏板缺陷检测算法精度低、计算量高、参数量大等问题,提出一种改进的YOLOv8光伏板缺陷检测算法.方法 首先,使用改进后的C2f模块C2f-MS替换原模型中的一部分C2f结构,既减少了模型的计算量和参数量,又增强了多尺度特征的提取和融合能力;其次,在原有CIoU中添加NWD(Normalized Gaussian Wasserstein Distance),以提升对小目标的检测性能,使得模型对各种目标的检测能力更加均衡;最后,使用Soft-NMS替代NMS,改变原模型对预测框的处理方式,解决了一个目标出现多个检测框的问题,进一步改善了检测结果.结果 实验结果表明:改进后的YOLOv8模型参数量下降9.57%,计算量下降6.1%,mAP@50从87%提升到了89.5%,提升了 2.5%,mAP@[0.5∶0.95]从45.7%提升到了 49.8%,提升了 4.1%.结论 改进后模型在参数量、计算量下降的情况下检测精度也有一定的提升,对于实际应用具有一定的参考价值.

Objective An improved YOLOv8 algorithm for photovoltaic panel defect detection is proposed to address the problems of low detection accuracy,high computational cost,and a large number of parameters in existing photovoltaic panel defect detection algorithms.Methods First,the improved C2f-MS module was used to replace a part of the original C2f structure in the model.This not only reduced the computational cost and the number of parameters of the model but also enhanced the extraction and fusion capabilities of multi-scale features.Second,the normalized Gaussian Wasserstein distance(NWD)was added to the original CIoU to improve the detection performance for small targets,making the model's detection ability for various targets more balanced.Finally,Soft-NMS was used to replace NMS,which changed the way the original model processed prediction boxes,solved the problem of multiple detection boxes for a single target,and further improved the detection results.Results Experimental results showed that the improved YOLOv8 model reduced the number of parameters by 9.57%and the computational cost by 6.1%.Meanwhile,the mAP@50 increased from 87%to 89.5%(an increase of 2.5%),and the mAP@[0.5∶0.95]increased from 45.7%to 49.8%(an increase of 4.1%).Conclusion The improved model shows a certain improvement in detection accuracy while reducing the number of parameters and computational cost,which has a certain reference value for practical applications.

朱成杰;刘乐乐;朱洪波

安徽理工大学电气与信息工程学院,安徽淮南 232001安徽理工大学电气与信息工程学院,安徽淮南 232001安徽理工大学电气与信息工程学院,安徽淮南 232001

信息技术与安全科学

缺陷检测YOLOv8NWDSoft-NMS

defect detectionYOLOv8NWDSoft-NMS

《重庆工商大学学报(自然科学版)》 2026 (4)

35-41,7

国家自然科学基金项目资助(62003001).

10.16055/j.issn.1672-058X.2026.0004.005

评论