Vacuum Packaging Defect Detection of Pickled Vegetables Based on Improved YOLOv5s

YE Yu-xing, SUN Zhi-feng, MA Feng-li, LU Ling-xia, HUANG Ying

Packaging Engineering ›› 2023 ›› Issue (9) : 45-53.

PDF(7445 KB)
PDF(7445 KB)
Packaging Engineering ›› 2023 ›› Issue (9) : 45-53. DOI: 10.19554/j.cnki.1001-3563.2023.09.006

Vacuum Packaging Defect Detection of Pickled Vegetables Based on Improved YOLOv5s

  • YE Yu-xing1, LU Ling-xia1, SUN Zhi-feng2, MA Feng-li2, HUANG Ying3
Author information +
History +

Abstract

The work aims to propose a vacuum packaging defect detection method for pickled vegetables based on YOLOv5s network to solve the low efficiency and high leakage rate of manual-based vacuum defect packaging rejection of pickled vegetables. Firstly, Ghost Convolution was used to replace the convolution in the CSP module, which reduced the number of parameters in the network while improving the feature extraction capability of the model; Secondly, in order to reduce the loss of feature information in down sampling, the space-to-depth (SPD) and depthwise-separable convolution (DSConv) were used in down sampling; Finally, the SE attention mechanism module was introduced in the network to improve the accuracy of the algorithm. On the dataset of homemade pickled vegetable packaging, the mean average precision (AmAP) of the improved network reached 93.88 and the model size reached 3.91 MB. Compared with the original model, the mAP was increased by 2.05% and the model was reduced by 44.38%. The method in the paper enables the classification and localization of the defective vacuum packages of pickled vegetables, and lays a foundation for robot-based defective package rejection.

Cite this article

Download Citations
YE Yu-xing, SUN Zhi-feng, MA Feng-li, LU Ling-xia, HUANG Ying. Vacuum Packaging Defect Detection of Pickled Vegetables Based on Improved YOLOv5s[J]. Packaging Engineering. 2023(9): 45-53 https://doi.org/10.19554/j.cnki.1001-3563.2023.09.006
PDF(7445 KB)

Accesses

Citation

Detail

Sections
Recommended

/