Advanced search
    Jia Haonan, Xu Huadong, Wang Lihai, Zhang Jinsheng, Chu Xiaohui, Tang Xu. Quantitative identification of surface defects in wood paneling based on improved YOLOv5[J]. Journal of Beijing Forestry University, 2023, 45(4): 147-155. DOI: 10.12171/j.1000-1522.20220419
    Citation: Jia Haonan, Xu Huadong, Wang Lihai, Zhang Jinsheng, Chu Xiaohui, Tang Xu. Quantitative identification of surface defects in wood paneling based on improved YOLOv5[J]. Journal of Beijing Forestry University, 2023, 45(4): 147-155. DOI: 10.12171/j.1000-1522.20220419

    Quantitative identification of surface defects in wood paneling based on improved YOLOv5

    •   Objective  This paper aims to solve the problems of poor recognition and low efficiency of surface defects of wood panel lumber by manual and traditional digital image processing methods, and to improve the utilization rate of wood. Based on the deep learning model, we constructed a wood panel surface defect detection system, aiming to expand the application of deep learning model in the field of wood panel defect detection.
        Method  Based on 839 wood panel defect images in the public dataset “Wood Defect Database”, the dataset was expanded using Imgaug data enhancement library; by introducing SE attention mechanism in the backbone feature network part, the YOLOv5 wood panel surface defect target detection framework was constructed using focus, FPN + PAN structure, and then the transfer learning idea to improve the training method and divide the training process into two phases (freezing phase and unfreezing phase). Then the constructed model was compared with the current mainstream deep learning target detection models, and finally the model was evaluated using confusion matrix, loss value change curve, model size, detection time, and mean average accuracy.
        Result  A detection method based on YOLOv5 model for live knots, dead knots, cracks and holes in wood panel surface defects was proposed. The mean average accuracy of the model for dead knots, live knots, cracks, and hole identification results were about 98.66%, 99.06%, 98.10% and 96.53, respectively, and compared with the current mainstream detection models, the improved model had better accuracy, recall, and mean average accuracy of 97.48%, 96.53% and 98.22%, respectively. The average detection time of the model for a single image was 10.3 ms, and the maximum detection time was 20.5 ms. The detection effect and generalization characteristics were good, and the model only occupied 13.7 MB of memory, making it easy to transplant.
        Conclusion  The experiments indicate that the improved YOLOv5 model can be used to detect the main defects on the surface of wood paneling. The model is better than the other five mainstream inspection models in identifying surface defects. On the basis of maintaining the original detection accuracy, it improves the recognition of small target defects, reduces the situation of missing wood panel defects, and realizes fast detection in complex scenes.
    • loading

    Catalog

      Turn off MathJax
      Article Contents

      /

      DownLoad:  Full-Size Img  PowerPoint
      Return
      Return