Reagent Card Printing Defect Detection Algorithm Based on Improved YOLOv5

LIU Guo-qing, FANG Cheng-gang, HUANG De-jun, LONG Chao

Packaging Engineering ›› 2023 ›› Issue (17) : 197-205.

PDF(1554 KB)
PDF(1554 KB)
Packaging Engineering ›› 2023 ›› Issue (17) : 197-205. DOI: 10.19554/j.cnki.1001-3563.2023.17.024

Reagent Card Printing Defect Detection Algorithm Based on Improved YOLOv5

  • LIU Guo-qing1, FANG Cheng-gang1, LONG Chao1, HUANG De-jun2
Author information +
History +

Abstract

The work aims to propose an improved reagent card printing defect detection algorithm YOLOv5s-EF based on deep neural network YOLOv5s to solve the problems of low efficiency, high cost and easy to miss detection in manual sorting of reagent cards with printing defects in reagent card manufacturers. High-quality defect image data sets were obtained by image preprocessing algorithm. Efficient Channel Attention (ECA) mechanism was added to the backbone feature extraction network of YOLOv5s to enhance the representation ability of important features in feature maps. Focal loss function was introduced to alleviate the influence of imbalance between positive and negative samples. Combined with the positioning results of the printing area, a method of similarity matching of feature vectors was proposed, which was based on the quadratic accurate positioning and the construction of azimuth feature vectors. The experimental results showed that the average detection accuracy of the reagent card printing defect detection algorithm proposed in this paper could reach 97.3% and the speed was 22.6 FPS on the test set. Compared with other network models, it can identify and locate various printing defects. The model has good detection speed and robustness, which is beneficial to improve the intelligent level of enterprise production.

Cite this article

Download Citations
LIU Guo-qing, FANG Cheng-gang, HUANG De-jun, LONG Chao. Reagent Card Printing Defect Detection Algorithm Based on Improved YOLOv5[J]. Packaging Engineering. 2023(17): 197-205 https://doi.org/10.19554/j.cnki.1001-3563.2023.17.024
PDF(1554 KB)

Accesses

Citation

Detail

Sections
Recommended

/