WMC-DFINE: An Improved DFINE Model for Aluminum Profile Surface Defect Detection
Open Access
Abstract
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.Keywords
Funding Information
- City 2023 School-Land Integration Development Project (2323013-2023XDRH001)
- Yantai Science and Technology-based Small and Medi-um-sized Enterprises Innovation Ability Enhancement Project Programme (2023TSGC112)
This publication has 22 references indexed in Scilit:
- Surface defect detection method of aluminium alloy castings based on data enhancement and CRT‐DETRIET Image Processing, 2024
- Simple Copy-Paste is a Strong Data Augmentation Method for Instance Segmentation2021
- End-to-End Object Detection with Transformers2020
- CBAM: Convolutional Block Attention Module2018
- Squeeze-and-Excitation Networks2018
- Recent developments in advanced aircraft aluminium alloysMaterials & Design (1980-2015), 2014
- Modelling the influence of machined surface roughness on the fatigue life of aluminium alloyInternational Journal of Fatigue, 2008
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998
- A theory for multiresolution signal decomposition: the wavelet representationIEEE Transactions on Pattern Analysis and Machine Intelligence, 1989
- A Real-Time Algorithm for Signal Analysis with the Help of the Wavelet Transform1989