计算机科学 ›› 2026, Vol. 53 ›› Issue (11A): 260300068-491.doi: 10.11896/jsjkx.260300068
包广斌, 程思伍, 范超林, 高振邦
BAO Guangbin, CHENG Siwu, FAN Chaolin, GAO Zhenbang
摘要: 针对带钢表面小尺度、形态复杂缺陷感知能力不足以及多尺度特征融合与定位精度受限的问题,提出一种基于改进YOLOv11n的带钢表面缺陷检测算法CGRU-YOLO。首先,在主干网络中设计C2型可变形金字塔自注意力模块C2DPSA,增强对小尺度与复杂纹理缺陷的感知能力;同时构建上下文引导的下采样结构 CG Block_Down,在减少特征信息损失的同时融合局部细节与全局语义信息,从而进一步增强小目标缺陷的识别能力。其次,在颈部网络中引入二次创新的重参数化特征融合网络RepGFPN,在保证推理效率的前提下提升多尺度特征的融合质量与表达一致性。最后,采用统一交并比损失函数UIoU,对边界框回归过程进行有效约束,提高缺陷定位精度。实验结果表明,在 NEU-DET 数据集上,所提方法的mAP@0.5达到 79.5%,较原始YOLOv11n提升2.3个百分点;准确率和召回率分别提高1.7个百分点和 8.5个百分点,显著减少了漏检现象,验证了所提算法在带钢表面缺陷检测任务中的有效性与鲁棒性。
中图分类号:
| [1] WU R,ZHOU F,LI N,et al.Enhanced You Only Look Once X for surface defect detection of strip steel[J].Frontiers in Neurorobotics,2022,16:12. [2] GUO Y C,TANG Y J.Steel surface defect detection algorithm based on MHD-YOLO[J].Laser and Optoelectronics Progress,2025,62(20):0700007. [3] GIRSHICK R,DONAHUE J,DARRELL T,et al.Rich feature hierarchies for accurate object detection and semantic segmentation[C]//Proceedings of the 2014 IEEE Conference on Compu-ter Vision and Pattern Recognition(CVPR).New York:IEEE,2014:580-587. [4] REN S,HE K,GIRSHICK R,et al.Faster R-CNN:Towardsreal-time object detection with region proposal networks[J].IEEE Transactions on Pattern Analysis and Machine Intelligence,2017,39(6):1137-1149. [5] LIU W,ANGUELOV D,ERHAN D,et al.SSD:Single ShotMultiBox Detector[C]//Proceedings of the European Confe-rence on Computer Vision(ECCV).Cham:Springer,2016:21-37. [6] REDMON J.You only look once:Unified,real-time object detection[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.2016:779-788. [7] WANG C,BOCHKOVSKIY A,LIAO H.YOLOv7:Trainablebag-of-freebies sets new state-of-the-art for real-time object detectors[C]//Proceedings of the 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR).Piscataway,NJ:IEEE,2023:7464-7475. [8] HE K M,GKIOXARI G,DOLLAR P,et al.Mask R-CNN[J].IEEE Transactions on Pattern Analysis and Machine Intelligence,2020,42(2):386-397. [9] ZHANG G W,ZHANG S,ZHANG Y,et al.Improved RT-DE-TR based forging surface defect detection algorithm[J].Computer Engineering and Applications,2026,62(11):112-123. [10] ZHANG Y,SHEN S,XU S.Strip steel surface defect detection based on lightweight YOLOv5[J].Front Neurorobot,2023,17:1263739. [11] ZHU Z,LI K,ZHENG Q,et al.EFC-YOLO:An Efficient Surface-Defect-Detection Algorithm for Steel Strips[J].Sensors(Basel),2023,23(17). [12] MA S,WAN L,ZHANGY,et al.A lightweight algorithm for steel surface defect detection using improved YOLOv8[J].Scientific Reports,2025,15(1):8966. [13] WANG Y,SUN H,LI H,et al.A lightweight YOLOv11-based framework for small steel defect detection with a newly enhanced feature fusion module[J].Scientific Reports,2025,15(1):34322. [14] XIA Z,PAN X,SONG S,et al.Vision Transformer with deformable attention[J].Journal of Electronic Imaging,2022,31(1):011014. [15] WU T,TANG S,ZHANG R,et al.CGNet:A light-weight context guided network for semantic segmentation[J].IEEE Transactions on Image Processing,2021,30:1169-1179. [16] XU X,JIANG Y,CHEN W,et al.DAMO-YOLO:A Report on Real-Time Object Detection Design[J].arXiv:2211.15444,2022. [17] DU S,ZHANG B,ZHANG P,et al.An Improved Bounding Box Regression Loss Function Based on CIOU Loss for Multi-scale Object Detection[C]//2021 IEEE 2nd International Conference on Pattern Recognition and Macline Learning.IEEE,2021:92-98. [18] LUO X,CAI Z,SHAO B,et al.Unified-IoU:For High-Quality Object Detection[J].arXiv:2408.06636,2024. [19] XU W S,ZHANG Y F,JIANG X H,et al.An efficient steel defect detection model based on multi-scale information extraction[J].Robotic Intelligence and Automation,2024,44(6):817-829. [20] LIANG L M,CHEN K Q,ZHONG Y,et al.DCD-YOLOv8n:An efficient steel surface defect detection algorithm[J].Computer Engineering and Applications,2025,61(14):1-12. |
|
||