Surface Defect Detection Method of Wooden Spoon Based on Improved YOLOv5 Algorithm

Authors

  • Siqing Tian College of Information and Electronics Technology, Jiamusi University, Jiamusi 154007, China
  • Xiao Li College of Mechanical Engineering Jiamusi University, Jiamusi 154007, China
  • Xiaolin Fang College of Mechanical Engineering Jiamusi University, Jiamusi 154007, China
  • Xiaozhong Qi College of Information and Electronics Technology, Jiamusi University, Jiamusi 154007, China
  • Jichao Li College of Information and Electronics Technology, Jiamusi University, Jiamusi 154007, China

Keywords:

Deep learning, Defect detection, YOLOv5, Wooden spoon

Abstract

The available surface defect detection methods for disposable wooden spoons still involve screening with the naked eye. This detection method is not only inefficient but also accompanied by problems such as false detection and missed detection. Therefore, this paper proposes a detection method based on an improved YOLOv5 network model (YOLOv5-TSPP). This method uses the K-Means ++ algorithm to cluster the target samples in the data set to obtain anchor frames that are more in line with different target scales. The Coordinate Attention module is added to the backbone network of the YOLOv5 network model to improve the feature extraction ability of the model. A new SPP module is added to the backbone network to increase the important features in the receptive field extraction network to improve the detection accuracy of small targets. The experimental results show: The YOLOv5-TSPP algorithm has better detection performance and the mAP of defect detection reaches 80.3%, which is 9.2% higher than that of the YOLOv5 algorithm. Among them, the detection accuracy of black knot defect reached 98.6%, the detection accuracy of back crack defect reached 92.1%, and the detection accuracy of mineral line defect reached 92.3%.

Downloads

Published

2023-09-28 — Updated on 2023-11-07

Issue

Section

Research Article or Brief Communication