WMC-DFINE: An Improved DFINE Model for Aluminum Profile Surface Defect Detection
The automated inspection of aluminum profile surface defects, which heavily relies on data acquired by machine vision sensors, is a critical task in industrial quality control. Addressing the current challenges of intense background texture interference and the difficulty in detecting defects with extreme aspect ratios on aluminum profiles, this research puts forward a complete end-to-end defect detection algorithm named WMC-DFINE (WIFA-MKSS-CSFF-DFINE) based on the DFINE framework. First, a Wavelet-Integrated Frequency Attention (WIFA) module is introduced, which utilizes a discrete wavelet transform to decouple features into the frequency domain, thereby dynamically suppressing high-frequency background noise and enhancing defect edge responses. Second, a Cross-Scale Feature Fusion (CSFF) module based on dual-channel pooling is designed to ensure the continuity of defect features, thereby resolving the semantic misalignment issue in traditional fusion. Third, a Multi-Kernel Strip Shuffle (MKSS) module is incorporated, utilizing decomposed convolution kernels to capture the geometric features of slender scratches. Finally, a knowledge distillation strategy is employed to transfer structured knowledge from a complex teacher model to a lightweight student model. Experiments on the Tianchi aluminum defect dataset demonstrate that WMC-DFINE achieves a mAP of 82.1%, which surpasses algorithms including YOLOv12, RT-DETR, and the baseline model DFINE. Furthermore, the distilled student model, WMC-DFINE-distill, improves the mAP by 3.2% compared to DFINE, reduces parameter count by 47%, and achieves an inference speed of 59.75 FPS on the experimental equipment. The proposed method effectively resolves the problem of balancing background suppression and defect detail feature preservation, offering a practical and efficient scheme for real-time industrial defect inspection.
Authors
- Pengfei He (ORCID: https://orcid.org/0000-0003-2434-8653)
- Yan-Yan Ding (ORCID: https://orcid.org/0009-0002-4413-9197)
- Guoheng Wang
- Shuwen Yan
- Xia Liu (ORCID: https://orcid.org/0000-0002-5682-0521)
Institutions
- Yantai University (CN)
- Wisdom Health (United States) (US)
Publication Details
- Journal
- Sensors
- Published
- 2026-05-09
- DOI
- https://doi.org/10.3390/s26102994
- Primary Topic
- Industrial Vision Systems and Defect Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00