Skip to main content

Abstract

Accurate detection of wood defects is crucial for ensuring the quality and reliability of wood pieces in various industries such as construction and furniture production. Some challenging defects such as dead knots and pinholes vary in size and shape, complex textures, and the presence of wood grains makes the inspection process more complex. Thus, this paper evaluates the performance of the YOLOv5x algorithm in detecting and localizing wood defects, especially dead knots, and pinholes. Using an augmented custom dataset and trained with transfer learning from a pre-trained model with COCO dataset, the algorithm achieves outstanding results. With a precision score of 96.5%, a recall score of 91.8%, and a mAP@0.5 score of 95.5%, it indicates highly accurate defect detection and localization. However, the model’s performance slightly dropped when considering mAP@0.5–0.95 which scored 66.1%, indicating challenges in detecting defects with higher IoU thresholds. Visual examples demonstrated the algorithm’s capabilities as well as instances of incorrect detections and failed detections. The findings of this study can contribute to the field of wood inspection systems and highlight areas for further improvement in defect detection algorithms.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 299.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 379.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Kryl M, Danys L, Jaros R, Martinek R, Kodytek P, Bilik P (2020) Wood recognition and quality imaging inspection systems. J Sens 2020. https://doi.org/10.1155/2020/3217126

  2. Deng ZY, Wang YZ, Zhang HR (2020) Detection method of wood skin defects based on bag-of-words model. In: ACM international conference proceeding series. Association for computing machinery, Oct 2020, pp 125–130. https://doi.org/10.1145/3438872.3439068

  3. Chun TH et al (2021) Identification of wood defect using pattern recognition technique. Int J Adv Intell Inform 7(2):163–176. https://doi.org/10.26555/ijain.v7i2.588

    Article  Google Scholar 

  4. Zhang Y, Jiang D, Zhang Z, Chen J (2022) Three-dimensional inversion of knot defects recognition in timber cutting. J For Res. https://doi.org/10.1007/s11676-022-01532-y

    Article  Google Scholar 

  5. He T, Liu Y, Yu Y, Zhao Q, Hu Z (2020) Application of deep convolutional neural network on feature extraction and detection of wood defects. Measurement 152. https://doi.org/10.1016/j.measurement.2019.107357

  6. Hu K, Wang B, Shen Y, Guan J, Cai Y (2020) Defect identification method for poplar veneer based on progressive growing generated adversarial network and MASK R-CNN model

    Google Scholar 

  7. Gao M, Chen J, Mu H, Qi D (2021) A transfer residual neural network based on ResNet-34 for detection of wood knot defects. Forests 12(2):1–16. https://doi.org/10.3390/f12020212

    Article  Google Scholar 

Download references

Acknowledgements

This work was supported by Universiti Sains Malaysia (USM), Bridging GRA Grant with Project No: 304/PELECT/6316607.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Muhammad Firdaus Akbar .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Yi, L.P., Akbar, M.F., Rosdi, B.A., Aminudin, M.F.C., Fauthan, M.’. (2024). Wood Defect Inspection on Dead Knots and Pinholes Using YOLOv5x Algorithm. In: Ahmad, N.S., Mohamad-Saleh, J., Teh, J. (eds) Proceedings of the 12th International Conference on Robotics, Vision, Signal Processing and Power Applications. RoViSP 2021. Lecture Notes in Electrical Engineering, vol 1123. Springer, Singapore. https://doi.org/10.1007/978-981-99-9005-4_74

Download citation

Publish with us

Policies and ethics