Surface Defect Detection of New Material Floor Based on Improved YOLOv5

ZHANG Zhong, WEI Guo-liang, ZHANG Zhi-jiang, CAI Xian-jie, WANG Yao-lei

Packaging Engineering ›› 2023 ›› Issue (7) : 196-203.

PDF(1575 KB)
PDF(1575 KB)
Packaging Engineering ›› 2023 ›› Issue (7) : 196-203. DOI: 10.19554/j.cnki.1001-3563.2023.07.022

Surface Defect Detection of New Material Floor Based on Improved YOLOv5

  • ZHANG Zhong1, ZHANG Zhi-jiang1, CAI Xian-jie1, WEI Guo-liang2, WANG Yao-lei3
Author information +
History +

Abstract

The work aims to improve the surface defect detection accuracy of new material floor during quality inspection. The defect images collected were expanded by flipping, horizontal migration and vertical migration, and the defect data set of new material floor was constructed. Based on YOLOv5, a prediction head was added to make the algorithm more sensitive to tiny defects. Next, the Swin Transformer module was applied in the feature fusion layer of the network to form the attentional mechanism prediction head and improve the efficiency of network feature extraction. Then, the SE module was added at the end of the backbone to enable the network to extract useful feature information and improve the model accuracy. The experimental results showed that the proposed method could accurately distinguish the quality of floor and identify four kinds of surface defects including white impurity, black spot, edge damage and bubble gum. The mean average precision for each defect type was 82.30%, which was 6.58% higher than that of YOLOv5 Baseline. Compared with other typical target detection algorithms, it could identify floor surface defects more accurately and quickly. The improved YOLOv5 algorithm can classify and locate the surface defects of the floor more accurately, thus greatly improving the efficiency of industrial quality inspection.

Cite this article

Download Citations
ZHANG Zhong, WEI Guo-liang, ZHANG Zhi-jiang, CAI Xian-jie, WANG Yao-lei. Surface Defect Detection of New Material Floor Based on Improved YOLOv5[J]. Packaging Engineering. 2023(7): 196-203 https://doi.org/10.19554/j.cnki.1001-3563.2023.07.022
PDF(1575 KB)

Accesses

Citation

Detail

Sections
Recommended

/