Journal of Optoelectronics · Laser, Volume. 36, Issue 4, 382(2025)
Fusion of attention and multi-level residuals for detection of surface defects in lead frame
Aiming at the problem that it is difficult to accurately detect irregular defects on the surface of lead frames,a method for detecting defects on the surface of lead frames is proposed by integrating attention and multi-level residuals.First,a multi-scale global attention module is proposed to further acquire the global information of the lead frame and improve the segmentation accuracy by capturing the channel and spatial information of the defective edge region.Then,in order to realize the multi-scale fusion of defect information,a multi-level residual fusion attention network module is designed to extract the global semantic information of surface scratch defects.In addition,the encoder employs a smooth maximum unit (SMU) activation function to improve the detail missing phenomenon during detection.The comparative experimental results indicate that the mean intersection over union (MIoU) metrics of the proposed lead frame surface defect detection method are improved by 25.05%,26.79%,12.11% and 21.02% compared with the four typical methods on the homemade lead frame surface defect dataset,respectively.The ablation experiments prove that the proposed method has better defect detection performance and can obtain more effective defect information.
Get Citation
Copy Citation Text
NING Wenle, LI Zhiwei, XIAO Xinjie, DING Tingting, HUANG Runcai. Fusion of attention and multi-level residuals for detection of surface defects in lead frame[J]. Journal of Optoelectronics · Laser, 2025, 36(4): 382
Received: Dec. 4, 2023
Accepted: Mar. 21, 2025
Published Online: Mar. 21, 2025
The Author Email: LI Zhiwei (zhiwei.li@sues.edu.cn)