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 条
  • [1] Wafer surface defect detection with enhanced YOLOv7
    Tang, Chen
    Yin, Lijie
    Xie, Yongchao
    International Journal of Information and Communication Technology, 2024, 25 (06) : 1 - 17
  • [2] Surface Defect Detection Algorithm for Strip Steel Based on Improved YOLOv7 Model
    Wang, Zhu
    Liu, Weisheng
    IAENG International Journal of Computer Science, 2024, 51 (03) : 308 - 316
  • [3] A Steel Surface Defect Detection Algorithm Based on Improved YOLOv7
    Mao, Yihai
    Zhang, Hongyi
    Gao, Xingen
    Luan, Shen
    Lin, Yuxing
    Qi, Xuanhao
    PROCEEDINGS OF 2023 7TH INTERNATIONAL CONFERENCE ON ELECTRONIC INFORMATION TECHNOLOGY AND COMPUTER ENGINEERING, EITCE 2023, 2023, : 1096 - 1101
  • [4] SURFACE DEFECT DETECTION OF STEEL BASED ON IMPROVED YOLOv7 MODEL
    Teng, W. Z.
    Zhang, Y. J.
    Zhang, H. G.
    Gao, D. X.
    METALURGIJA, 2024, 63 (3-4): : 399 - 402
  • [5] Improved YOLOv7 Algorithm for Wood Surface Defect Detection
    Jiang, Xingwang
    Zhao, Xingqiang
    Computer Engineering and Applications, 2024, 60 (07) : 175 - 182
  • [6] Research on surface defect detection algorithm of pipeline weld based on YOLOv7
    Xu, Xiangqian
    Li, Xing
    SCIENTIFIC REPORTS, 2024, 14 (01)
  • [7] Research on Steel Surface Defect Detection with Improved YOLOv7 Algorithm
    Gao, Chunyan
    Qin, Shen
    Li, Manhong
    Lyv, Xiaoling
    Computer Engineering and Applications, 2024, 60 (07) : 282 - 291
  • [8] Rail Surface Defect Detection Based on Improved YOLOv7
    Chen, Renxiang
    Pan, Sheng
    Yang, Lixia
    Gao, Xiaopeng
    Wang, Jianxi
    Journal of Railway Engineering Society, 41 (07): : 18 - 24
  • [9] Steel surface defect detection based on lightweight YOLOv7
    Shi, Tao
    Wu, Rongxin
    Zhu, Wenxu
    Ma, Qingliang
    OPTOELECTRONICS LETTERS, 2025, 21 (05) : 306 - 313
  • [10] Steel Surface Defect Detection Based on Improved YOLOv7
    Li, Ming
    Wei, Lisheng
    Zheng, Bowen
    2024 4TH INTERNATIONAL CONFERENCE ON COMPUTER, CONTROL AND ROBOTICS, ICCCR 2024, 2024, : 51 - 55