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 条
  • [21] Pavement Defect Detection Algorithm Based on Improved YOLOv7 Complex Background
    Zou, Chunlong
    Huang, Peile
    Wang, Shenghuai
    Wang, Chen
    Wang, Hongxia
    IEEE ACCESS, 2024, 12 : 32870 - 32880
  • [22] Transparent Component Defect Detection Method Based on Improved YOLOv7 Algorithm
    Xiao, Qixun
    Huang, Jingde
    Huang, Zhangyu
    Li, Chenyu
    Xu, Jie
    INTERNATIONAL JOURNAL OF PATTERN RECOGNITION AND ARTIFICIAL INTELLIGENCE, 2023, 37 (14)
  • [23] Lightweight strip steel defect detection algorithm based on improved YOLOv7
    Lu, Jianbo
    Yu, MiaoMiao
    Liu, Junyu
    SCIENTIFIC REPORTS, 2024, 14 (01):
  • [24] Automotive Parts Defect Detection Based on YOLOv7
    Huang, Hao
    Zhu, Kai
    ELECTRONICS, 2024, 13 (10)
  • [25] GCP-YOLO: a lightweight underwater object detection model based on YOLOv7
    Gao, Yu
    Li, Zhanying
    Zhang, Kangye
    Kong, Lingyan
    JOURNAL OF REAL-TIME IMAGE PROCESSING, 2025, 22 (01)
  • [26] Research on optimization method of strip surface defect detection based on YOLOv7
    Qu, Yining
    Shen, Xiaorong
    Ren, Jinpeng
    PROCEEDINGS OF 2023 7TH INTERNATIONAL CONFERENCE ON ELECTRONIC INFORMATION TECHNOLOGY AND COMPUTER ENGINEERING, EITCE 2023, 2023, : 222 - 226
  • [27] Improved YOLOv7 Algorithm for Small Sample Steel Plate Surface Defect Detection
    Dou, Zhi
    Hu, Chenguang
    Li, Qinghua
    Zheng, Liming
    Computer Engineering and Applications, 2023, 59 (23) : 283 - 292
  • [28] YOLO-CPC: a breast tumor detection and identification algorithm based on improved YOLOv7
    Du, Yanan
    Liu, Wanmin
    Wang, Yixuan
    Li, Rutian
    Xie, Li
    SIGNAL IMAGE AND VIDEO PROCESSING, 2025, 19 (03)
  • [29] MGDE-YOLO: An Improved Lightweight Algorithm for Personnel Departure Detection Based on YOLOv7
    Xu, Haiqiang
    Xue, Renzheng
    Zhang, Zifeng
    Hua, Shijie
    IEEE ACCESS, 2024, 12 : 150592 - 150603
  • [30] Research on Surface Defect Detection of Strip Steel Based on Improved YOLOv7
    Lv, Baozhan
    Duan, Beiyang
    Zhang, Yeming
    Li, Shuping
    Wei, Feng
    Gong, Sanpeng
    Ma, Qiji
    Cai, Maolin
    SENSORS, 2024, 24 (09)