The invention relates to the technical field of industrial defect detection, and discloses an aluminum surface micro defect detection
system for optimizing an RT-DETR model in combination with an attention mechanism, which comprises an
image acquisition module, an image preprocessing module, an improved RT-DETR detection module and a result output module. According to the aluminum surface micro-defect detection
system for optimizing the RT-DETR model in combination with the attention mechanism,
small target copying is executed through an image preprocessing module to increase micro-defect samples, defects and matching backgrounds are fused through
image splicing, illumination is optimized through brightness adjustment,
Gaussian filtering
noise reduction is conducted, and original defect information is strengthened; an orthogonal attention
feature extraction module in the improved RT-DETR detection module strengthens channel features, a multi-scale deformable frequency hierarchical attention coding module processes the features according to high and low frequencies, an ELAHS-FPN
feature fusion module fuses the multi-scale features, a super-resolution auxiliary
branch improves the feature resolution, a prediction frame is corrected in combination with an Inner-GIoU bounding box
loss function, and the detection precision is improved. And weak characteristics such as paint bubbles, scratches and
jet flow are effectively extracted.