Lightweight wood panel defect detection method incorporating attention mechanism and feature fusion network

In recent years, deep learning has made significant progress in wood panel defect detection. However, there are still challenges such as low detection , slow detection speed, and difficulties in deploying embedded devices on wood panel surfaces. To overcome these issues, we propose a lightweight wood panel defect detection method called YOLOv5-LW, which incorporates attention mechanisms and a feature fusion network.Firstly, to enhance the detection capability of acceptable defects, we introduce the Multi-scale Bi-directional Feature Pyramid Network (MBiFPN) as a feature fusion network. The MBiFPN reduces feature loss, enriches local and detailed features, and improves the model's detection capability for acceptable defects.Secondly, to achieve a lightweight design, we reconstruct the ShuffleNetv2 network model as the backbone network. This reconstruction reduces the number of parameters and computational requirements while maintaining performance. We also introduce the Stem Block and Spatial Pyramid Pooling Fast (SPPF) models to compensate for any accuracy loss resulting from the lightweight design, ensuring the model's detection capabilities remain intact while being computationally efficient.Thirdly, we enhance the backbone network by incorporating Efficient Channel Attention (ECA), which improves the network's focus on key information relevant to defect detection. By attending to essential features, the model becomes more proficient in accurately identifying and localizing defects.We validate the proposed method using a self-developed wood panel defect dataset.The experimental results demonstrate the effectiveness of the improved YOLOv5-LW method. Compared to the original model, our approach achieves a 92.8\% accuracy rate, reduces the number of parameters by 27.78\%, compresses computational volume by 41.25\%, improves detection inference speed by 10.16\%

[1]  Limei Song,et al.  Vehicle door frame positioning method for binocular vision robots based on improved YOLOv4 , 2023, Measurement Science and Technology.

[2]  Yuming Cui,et al.  Real-time detection of wood defects based on SPP-improved YOLO algorithm , 2023, Multimedia Tools and Applications.

[3]  Yongjian Zhu,et al.  Detection algorithm for bearing roller end surface defects based on improved YOLOv5n and image fusion , 2022, Measurement Science and Technology.

[4]  Jianqiang Li,et al.  Low-pass U-Net: a segmentation method to improve strip steel defect detection , 2022, Measurement Science and Technology.

[5]  S. Ding,et al.  Bolt loosening angle detection based on binocular vision , 2022, Measurement Science and Technology.

[6]  Zhuyun Chen,et al.  An intelligent ultrasonic guided wave deep imaging detection method considering the propagation characteristics of each direction , 2022, Measurement Science and Technology.

[7]  Sining Cheng,et al.  Moving Target Detection Technology Based on UAV Vision , 2022, Wireless Communications and Mobile Computing.

[8]  Hongfei Guo,et al.  Visual Detection Application of Lightweight Convolution and Deep Residual Networks in Wood Production , 2022, Wireless Communications and Mobile Computing.

[9]  Shyam Sunder Sharma,et al.  Optimization of sustainable alternatives of composite wooden board materials: A comparative study , 2022, Materials Today: Proceedings.

[10]  Yi Chen,et al.  Improved YOLOv5 network for real-time multi-scale traffic sign detection , 2021, Neural Computing and Applications.

[11]  Dongjian He,et al.  Channel pruned YOLO V5s-based deep learning approach for rapid and accurate apple fruitlet detection before fruit thinning , 2021, Biosystems Engineering.

[12]  P. Bilik,et al.  A large-scale image dataset of wood surface defects for automated vision-based quality control processes , 2021, F1000Research.

[13]  Mei Jiang,et al.  Using channel pruning-based YOLO v4 deep learning algorithm for the real-time and accurate detection of apple flowers in natural environments , 2020, Comput. Electron. Agric..

[14]  Fan Xiong,et al.  A Real-time Traffic Sign Detection Model Based on Improved YOLOv3 , 2020, IOP Conference Series: Materials Science and Engineering.

[15]  Ying Liu,et al.  Application of deep convolutional neural network on feature extraction and detection of wood defects , 2020 .

[16]  Wenxing Zhu,et al.  A Small Traffic Sign Detection Algorithm Based on Modified SSD , 2019, IOP Conference Series: Materials Science and Engineering.

[17]  Xiongwei Wu,et al.  Recent Advances in Deep Learning for Object Detection , 2019, Neurocomputing.

[18]  Jieping Ye,et al.  Object Detection in 20 Years: A Survey , 2019, Proceedings of the IEEE.

[19]  Jianjun He,et al.  Traffic sign detection method based on Faster R-CNN , 2019, Journal of Physics: Conference Series.

[20]  Shibing Wang,et al.  Wood Veneer Defect Detection System Based on Machine Vision , 2018 .

[21]  Charles X. Ling,et al.  Pelee: A Real-Time Object Detection System on Mobile Devices , 2018, NeurIPS.

[22]  Shu Liu,et al.  Path Aggregation Network for Instance Segmentation , 2018, 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.

[23]  Gang Sun,et al.  Squeeze-and-Excitation Networks , 2017, 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.

[24]  Hailin Feng,et al.  Review of the use of air-coupled ultrasonic technologies for nondestructive testing of wood and wood products , 2017, Comput. Electron. Agric..

[25]  Li Yue,et al.  Simultaneous Wood Defect and Species Detection with 3D Laser Scanning Scheme , 2016 .

[26]  Desire Sidibé,et al.  Multiple features extraction for timber defects detection and classification using SVM , 2015, 2015 IEEE International Conference on Image Processing (ICIP).

[27]  Michael S. Packianather,et al.  A wrapper-based feature selection approach using Bees Algorithm for a wood defect classification system , 2015, 2015 10th System of Systems Engineering Conference (SoSE).

[28]  Isabelle Debled-Rennesson,et al.  Knot segmentation in 3D CT images of wet wood , 2014, Pattern Recognit..

[29]  Melissa M. Bilec,et al.  Impact of lifetime on US residential building LCA results , 2012, The International Journal of Life Cycle Assessment.

[30]  Li Li,et al.  Pattern recognition and size determination of internal wood defects based on wavelet neural networks , 2009 .

[31]  Pablo A. Estévez,et al.  Automated visual inspection system for wood defect classification using computational intelligence techniques , 2009, Int. J. Syst. Sci..

[32]  Dawei Qi,et al.  Study on wood defect detection based on artificial neural network , 2008, 2008 IEEE Conference on Cybernetics and Intelligent Systems.

[33]  Erol Sarigul,et al.  Rule-driven defect detection in CT images of hardwood logs , 2003 .

[34]  Charles C. Brunner,et al.  Image segmentation algorithms applied to wood defect detection , 2003 .

[35]  Jinhui Tang,et al.  Triplet Contrastive Learning for Unsupervised Vehicle Re-identification , 2023, ArXiv.

[36]  Zhang Xiang,et al.  Identification of wood defects based on LBP features , 2016, 2016 35th Chinese Control Conference (CCC).

[37]  P. H. Steele,et al.  Locating knots in wood with an infrared detector system , 1998 .