An Efficient Printing Defect Detection Based on YOLOv5-DCN-LSK.

Sensors (Basel)

School of Mechatronics Engineering and Automation, Foshan University, Foshan 528225, China.

Published: November 2024

During the production process of inkjet printing labels, printing defects can occur, affecting the readability of product information. The distinctive shapes and subtlety of printing defects present a significant challenge for achieving high accuracy and rapid detection in existing deep learning-based defect detection systems. To overcome this problem, we propose an improved model based on the structure of the YOLOv5 network to enhance the detection performance of printing defects. The main improvements include the following: First, we introduce the C3-DCN module to replace the C3 module in the backbone network, enhancing the model's ability to detect narrow and elongated defects. Secondly, we incorporate the Large Selective Kernel (LSK) and RepConv modules into the feature fusion network, while also integrating a loss function that combines Normalized Gaussian Wasserstein Distance (NWD) with Efficient IoU (EIoU) to enhance the model's focus on small targets. Finally, we apply model pruning techniques to reduce the model's size and parameter count, thereby achieving faster detection. Experimental results demonstrate that the improved YOLOv5 achieved a mAP@0.5 of 0.741 after training, with 323.2 FPS, which is 2.7 and 20.8% higher than that of YOLOv5, respectively. The method meets the requirements of high precision and high efficiency for printing defect detection.

Download full-text PDF

Source
http://dx.doi.org/10.3390/s24237429DOI Listing
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC11644138PMC

Publication Analysis

Top Keywords

defect detection
12
printing defects
12
printing defect
8
detection
6
printing
5
efficient printing
4
detection based
4
based yolov5-dcn-lsk
4
yolov5-dcn-lsk production
4
production process
4

Similar Publications

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!