YOLO-PDC: algorithm for aluminum surface defect detection based on multiscale enhanced model of YOLOv7

被引:0
|
作者
Li, Na [1 ]
Wang, Zhiwen [2 ]
Zhao, Runxing [1 ]
Yang, Kaiqi [3 ]
Ouyang, Rongyi [1 ]
机构
[1] Guangxi Univ Sci & Technol, Sch Automat, Liuzhou 545616, Peoples R China
[2] Guangxi Univ Sci & Technol, Sch Elect Engn, Liuzhou 545616, Peoples R China
[3] Guangxi Univ Sci & Technol, Sch Comp Sci & Technol, Liuzhou 545616, Peoples R China
基金
中国国家自然科学基金;
关键词
Multiscale; PConv; Deformable ConvNets v2; Sim-CM attention mechanism; Aluminum surface defect inspection; FASTER;
D O I
10.1007/s11554-025-01658-2
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
To address challenges multi-scale variability, category imbalance, and high background similarity in aluminum surface defect detection, this paper proposes a YOLO-PDC model. First, Partial Convolution (PConv) and Deformable ConvNetsv2 (DCNv2) replace traditional convolution in the ELAN and MaxPool modules of the YOLOv7 backbone. This configuration forms the PD-ME module, which mitigates the issue of non-uniform scale variations among different defect types in aluminum dataset. It also reduces computational redundancy and memory access, enabling efficient extraction of spatial features and improving inference speed. Next, a 3D attention module (SimAM) is incorporated into YOLOv7 detection head after two up-sample steps and within two MaxPool structures, creating the Sim-CM Attention Mechanism. This addition enhances detection accuracy without introducing additional parameters. Additionally, during training, the Focal loss function replaces CIoU loss function. Focal loss dynamically decreases the weight of easily distinguishable samples through a scaling factor, allowing the model to focus on hard-to-distinguish samples and addressing low detection accuracy caused by sample imbalance. Experimental results demonstrate that the proposed YOLO-PDC model achieves a high mean Average Precision (mAP) of 87.7% and a real-time detection speed of 114 frames per second. Compared to the original YOLOv7, mAP50 and mAP50:90 improve by 5.2% and 12.2%, respectively, while the number of parameters and computations decrease by 2.18 million and 22.2 billion, respectively. Furthermore, compared to the latest defect detection models DETR, Swin-T, and ConvNeXt-T, the mAP50 of YOLO-PDC is higher by 15.2%, 17.9%, 16.2%, respectively. YOLO-PDC also surpasses existing state-of-the-art detection methods in terms of detection accuracy.
引用
收藏
页数:18
相关论文
共 50 条
  • [41] Surface Defect Detection Algorithm Based on Feature-Enhanced YOLO
    Xie, Yongfang
    Hu, Weitao
    Xie, Shiwen
    He, Lei
    COGNITIVE COMPUTATION, 2023, 15 (02) : 565 - 579
  • [42] Surface Defect Detection Algorithm Based on Feature-Enhanced YOLO
    Yongfang Xie
    Weitao Hu
    Shiwen Xie
    Lei He
    Cognitive Computation, 2023, 15 : 565 - 579
  • [43] Small-modulus worms surface defect detection method based on YOLOv7
    Li, Yan
    Zheng, Peng
    Yu, Menghao
    Li, Jicun
    He, Qingze
    MEASUREMENT SCIENCE AND TECHNOLOGY, 2024, 35 (05)
  • [44] Research on Automated Fiber Placement Surface Defect Detection Based on Improved YOLOv7
    Wen, Liwei
    Li, Shihao
    Dong, Zhentao
    Shen, Haiqing
    Xu, Entao
    APPLIED SCIENCES-BASEL, 2024, 14 (13):
  • [45] FE-YOLO: An Efficient Deep Learning Model Based on Feature-Enhanced YOLOv7 for Microalgae Identification and Detection
    Ding, Gege
    Shi, Yuhang
    Liu, Zhenquan
    Wang, Yanjuan
    Yao, Zhixuan
    Zhou, Dan
    Zhu, Xuexiu
    Li, Yiqin
    BIOMIMETICS, 2025, 10 (01)
  • [46] Surface Defect Detection Algorithm of Aluminum Profile Based on AM-YOLOv3 Model
    Sun Lianshan
    Wei Jingxue
    Zhu Dengming
    Shi Min
    LASER & OPTOELECTRONICS PROGRESS, 2021, 58 (24)
  • [47] A lightweight road crack detection algorithm based on improved YOLOv7 model
    He, Junjie
    Wang, Yanchao
    Wang, Yiting
    Li, Run
    Zhang, Dawei
    Zheng, Zhonglong
    SIGNAL IMAGE AND VIDEO PROCESSING, 2024, 18 (SUPPL 1) : 847 - 860
  • [48] A Semantic SLAM Integrated with Enhanced YOLOv7 Target Detection Algorithm
    Hu, ZhangFang
    Li, FangYu
    Shen, JiXiang
    ENGINEERING LETTERS, 2024, 32 (10) : 1909 - 1920
  • [49] EGRN-YOLO: An Enhanced Multi-View Remote Sensing Detection Algorithm for Onshore Wind Turbines Based on YOLOv7
    Xue, Renzheng
    Xu, Haiqiang
    Wu, Qianlong
    IEEE ACCESS, 2025, 13 : 42457 - 42471
  • [50] YOLO-ME: an enhanced lightweight YOLOv7 Tiny model for efficient object detection in aerial imagery
    Junos, Mohamad Haniff
    Zulkifli, Safiah
    Bakar, Elmi Abu
    Hawary, Ahmad Faizul
    Khairuddin, Anis Salwa Mohd
    SIGNAL IMAGE AND VIDEO PROCESSING, 2025, 19 (04)