Abstract
Wood processing is one of the most widely used in agriculture and industry. Low precision and high time delay of machine learning in wood defect detection are currently the main factors restricting the production efficiency and product quality of the wood processing industry. An SPP-improved deep learning method was proposed to detect wood defects based on the basic framework of the YOLO V3 network to improve accuracy and real-time performance. The extended dataset was firstly established by image data enhancement and preprocessing based on the limited samples of the wood defect dataset. Anchor box scale re-clustering of the wood defect dataset was carried out according to the defect features. The spatial pyramid pooling (SPP) network was applied to improve the feature pyramid (FP) network in YOLO V3. The validity and real-time performance of the proposed algorithm were verified by a randomly selected test set. The results show that the overall detection accuracy rate on the wood defect test dataset reaches 93.23% while the detection time for each image is within 13 ms.
Similar content being viewed by others
Code or data availability
Not application.
References
Baesler F, Palma C (2014) Multiobjective parallel machine scheduling in the sawmill industry using memetic algorithms. Int J Adv Manuf Technol 74:757–768
Everingham M, Van Gool L, Williams CK et al (2010) The pascal visual object classes (voc) challenge. Int J Comput Vis 88(2):303–338
Funck JW, Zhong Y, Butler DA et al (2003) Image segmentation algorithms applied to wood defect detection. Comput Electron Agric 41(1–3):157–179
Hawkins DM (2004) The problem of overfitting. J Chem Inf Comput Sci 44(1):1–12
He K, Zhang X, Ren S, Sun J (2015) Spatial pyramid pooling in deep convolutional networks for visual detection. IEEE Trans Pattern Anal Mach Intell 37(9):1904–1916
He T, Liu Y, Xu C, Zhou X, Hu Z, Fan J (2019) A fully convolutional neural network for wood defect location and identification. IEEE Access 7:123453–123462
Hendarto B, Shayan E, Ozarska B, Carr R (2006) Analysis of roughness of a sanded wood surface. Int J Adv Manuf Technol 28:775–780
Hittawe MM, Muddamsetty SM, Sidibé D et al (2015) Multiple features extraction for timber defects detection and classification using SVM. 2015 IEEE international conference on image processing (ICIP), Quebec City: IEEE, pp 427–431
Jiang B, Luo R, Mao J et al (2018) Acquisition of localization confidence for accurate object detection[C]. Proceedings of the European conference on computer vision (ECCV). Springer, Munich, pp 784–799
Kim S, Kook H, Sun J et al (2018) Parallel feature pyramid network for object detection. Proceedings of the European Conference on Computer Vision (ECCV). Springer, Munich, pp 234–250
Krizhevsky A, Sutskever I, Hinton GE (2012) ImageNet classification with deep convolutional neural networks. In: Proceedings of the 25th International Conference on Neural Information Processing Systems, NY, USA, vol 1, pp 1097–1105
Lee S, Lee S, Lee JS et al (2011) Basic study on nondestructive evaluation of artificial deterioration of a wooden rafter by ultrasonic measurement. J Wood Sci 57(5):387–394
Lemley J, Bazrafkan S, Corcoran P (2017) Deep learning for consumer devices and services: pushing the limits for machine learning, artificial intelligence, and computer vision. IEEE Consum Electron Mag 6(2):48–56
Lihai W, Xuechun Y, Kaihong X (2002) Current situation of research on the non-destructive testing technique for wood defects. Forest Sci Technol 27(03):35–38
Likas A, Vlassis N, Verbeek JJ (2003) The global k-means clustering algorithm. Pattern Detection 36(2):451–461
Luo H-l, Chen H-k (2020) Survey of object detection based on deep learning. Acta Electron Sin 48(06):1230–1239
Packianather M, Drake P (2000) Neural networks for classifying images of wood veneer. Part 2. Int J Adv Manuf Technol 16:424–433
Packianather MS, Kapoor B (2015) A wrapper-based feature selection approach using Bees Algorithm for a wood defect classification system. 2015 10th system of systems engineering conference (SoSE), San Antonio, TX, USA, pp 498–503
Pan SJ, Yang Q (2009) A survey on transfer learning. IEEE Trans Knowl Data Eng 22(10):1345–1359
Qi D, Zhang P, Yu L (2008) Study on wood defect detection based on artificial neural network. 2008 IEEE conference on cybernetics and intelligent systems, Chengdu, China, pp 951–956
Ren S, He K, Girshick R, Sun J (2015) Faster R-CNN: towards real-time object detection with region proposal networks. IEEE Trans Pattern Anal Mach Intell 39(6):1137–1149
Rezatofighi H, Tsoi N, Gwak J et al (2019) Generalized intersection over union: a metric and a loss for bounding box regression. Proceedings of IEEE Computer Society Conference on Computer Vision and Pattern Detection, Puerto Rico: IEEE, pp 658–666
Robertson S (2008) A new interpretation of average precision. Proceedings of the 31st annual international ACM SIGIR conference on research and development in information retrieval, Singapore, pp 689–690
Russakovsky O, Deng J, Su H, Krause J, Satheesh S, Ma S, Huang Z, Karpathy A, Khosla A, Bernstein M, Berg AC, Fei-Fei L (2015) Imagenet large scale visual detection challenge. Int J Comput Vis 115(3):211–252
Ruz GA, Estévez PA, Ramirez PA (2009) Automated visual inspection system for wood defect classification using computational intelligence techniques. Int J Syst Sci 40(2):163–172
Scherer D, Müller A, Behnke S (2010) Evaluation of pooling operations in convolutional architectures for object detection. International conference on artificial neural networks (ICANN), vol 6354. Springer, Berlin, pp 92–101
Shorten C, Khoshgoftaar TM (2019) A survey on image data augmentation for deep learning. J Big Data 6(1):60
Silvén O, Niskanen M, Kauppinen H (2003) Wood inspection with non-supervised clustering. Mach Vis Appl 13:275–285
Sutskever I, Martens J, Dahl G et al (2013) On the importance of initialization and momentum in deep learning. International conference on machine learning: PMLR, pp 1139–1147
Tang C, Zhang G, Hu H, Wei P, Duan Z, Qian Y (2020) An improved YOLOv3 algorithm to detect molting in swimming crabs against a complex background. Aquac Eng 91:102115
Van Dyk DA, Meng X (2001) The art of data augmentation. J Comput Graph Stat 10(1):1–50
Wu D, Ye N (2010) Wood defect recognition based on affinity propagation clustering. 2010 Chinese conference on pattern recognition (CCPR), Chongqing, China, pp 1–5
Zhang Y, Xu C, Li C, Yu H, Cao J (2015) Wood defect detection method with PCA feature fusion and compressed sensing. J For Res 26(3):745–751
Zhang Y, Liu S, Cao J, Li C, Yu H (2016) Wood board image processing based on dual-tree complex wavelet feature selection and compressed sensing. Wood Sci Technol 50:297–311
Zhang Y, Shen Y, Zhang J (2019) An improved tiny-yolov3 pedestrian detection algorithm. Optik 183:17–23
Zhang R, Duan X-f, Lao W-l (2021) Status analysis and recommendation for wood industry consortium standardization. Chin J Wood Sci Technol 35(1):77–80
Zhou L, Liu J, Chen L (2020) Vehicle detection based on remote sensing image of Yolov3. 2020 IEEE 4th Information Technology, Networking, Electronic and Automation Control Conference (ITNEC): IEEE, pp 468–72
Funding
This work was supported in part by the National Key R&D Program of China under Grant 2018YFB1308303, and in part by the Priority Academic Program Development of Jiangsu Higher Education Institutions.
Author information
Authors and Affiliations
Contributions
Yuming Cui: Validation, Formal analysis, Investigation, Writing - Original Draft, Visualization. Shuochen Lu: Methodology, Software, Resources, Data curation. Songyong Liu: Conceptualization, Writing - Review & Editing, Supervision, Project administration.
Corresponding author
Ethics declarations
Ethics approval
Not application.
Consent to participate
Not application.
Consent for publication
Not application.
Conflicts of interest/Competing interests
All authors declare that there was no any conflict of interest.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Cui, Y., Lu, S. & Liu, S. Real-time detection of wood defects based on SPP-improved YOLO algorithm. Multimed Tools Appl 82, 21031–21044 (2023). https://doi.org/10.1007/s11042-023-14588-7
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-023-14588-7