Computer Science ›› 2022, Vol. 49 ›› Issue (11A): 211100090-6.doi: 10.11896/jsjkx.211100090

• Image Processing & Multimedia Technology • Previous Articles     Next Articles

Wood Surface Defect Recognition Based on ViT Convolutional Neural Network

GUO Wen-long, LIU Fang-hua, WU Wan-yi, LI Chong, XIAO Peng, LIU Chao   

  1. School of Mechanical Engineering,Jiangsu University of Science and Technology,Zhenjiang,Jiangsu 212100,China
  • Online:2022-11-10 Published:2022-11-21
  • About author:GUO Wen-long,born in 1997,postgra-duate,is a student member of China Computer Federation.His main research interests include wood floor sorting system and so on.
    LIU Fang-hua,born in 1972,Ph.D,professor.Her main research interests include multi-body dynamics,robot,etc.
  • Supported by:
    Young Scientists Fund of the National Natural Science Foundation of China(51905228).

Abstract: There are some problems in manual detection because it is necessary to grade the wood board through its surface defects.In order to solve the problem of wood surface defect recognition,a convolution neural network model integrating ViT is proposed to improve the accuracy of defect recognition.For this purpose,four kinds of wood surface defect pictures of crack,wormhole,knot and texture are collected,in which the number of crack and wormhole pictures is far less than that of knot and texture.In order to solve the problem of sample imbalance in model training,ProGAN is used to train crack and wormhole pictures and generate pictures of the same type of defects,so as to increase their number and keep the number of four kinds of pictures balanced.Before the experiment,the data of defect images are enhanced and salt and pepper noise is added to sort out the required image data set.Based on the convolutional neural network model fused with ViT,two models with different activation functions are tested by using the data set.It is found that the model using GELU as the activation function has higher perfor-mance.The model performance at different transformer depths is tested,and the highest accuracy of model defect identification can reach 98.54%.Experiments show that the convolutional neural network model fused with ViT is feasible,which provides a new idea for the automatic detection of wood surface defects.

Key words: Wood surface defects, ProGAN, ViT, Convolutional neural network, Deep learning

CLC Number: 

  • TP391
[1]LI H,WU J N,YUAN W Q,et al.Research on real-time wood classification method based on visual significance [J].Journal of Instrumentation,2018,39(12):237-244.
[2]RAHIDDIN R N N,HASHIM U R,ISMAIL N H,et al.Classification of wood defect images using local binary pattern variants[J].International Journal of Advances in Intelligent Informa-tics,2020,6(1):36-45.
[3]CAVALIN P,OLIVEIRA L S,KOERICH A L,et al.Wood defect detection using grayscale images and an optimized feature set[C]//IECON 2006-32nd Annual Conference on IEEE Industrial Electronics.IEEE,2006:3408-3412.
[4]RUZ G A,ESTEVEZ P A,PEREZ C A.A neurofuzzy color image segmentation method for wood surface defect detection[J].Forest Products Journal,2005,55(4):52-58.
[5]HU J F,ZHAO Y F,CAO J.wood surface defect image segmentation algorithm based on super-pixel [J].Journal of Northeast Forestry University,2015,43(10):97-102
[6]LI S L,YUAN W Q,YANG J Y,et al.Wood defect classification based on local binary difference incentive model [J].Journal of Instrumentation,2019,40(6):68-77.
[7]KARRAS T,AILA T,LAINE S,et al.Progressive growing of gans for improved quality,stability,and variation[J].arXiv:1710.10196,2017.
[8]HENDRYCKS D,GIMPEL K.Gaussian error linear units(gelus)[J].arXiv:1606.08415,2016.
[9]SIMONYAN K,ZISSERMAN A.Very deep convolutional networks for large-scale image recognition[C]//International Conference on Learning Representations.2015.
[10]DOSOVITSKIY A,BEYER L,KOLESNIKOV A,et al.An ima-ge is worth 16x16 words:Transformers for image recognition at scale[J].arXiv:2010.11929,2020.
[11]HAN B,ZENG S W.Plant leaf recognition based on multi feature fusion and convolution neural network [J].Computer Science,2021,48(S1):113-117
[12]XU Y G,ZHONG M,WU Z Z,et al.Texture cloth defect detection method based on deep learning [J/OL].Automation Report:1-16.[2021-11-05].https://doi.org/10.16383/j.aas.c200148.
[13]LIU X T,WANG W,LI Z Y,et al.Recognition algorithm of red and white blood cells in urine based on Improved BP neural network [J].Computer Science,2020,47(2):102-105.
[14]DING F,ZHUANG Z,LIU Y,et al.Detecting defects on solid wood panels based on an improved SSD algorithm[J].Sensors,2020,20(18):5315.
[15]GAO M,CHEN J,MU H,et al.A Transfer Residual Neural Network Based on ResNet-34 for Detection of Wood Knot Defects[J].Forests,2021,12(2):212.
[16]PAN S,FAN S,WONG S W K,et al.Ellipse detection and loca-lization with applications to knots in sawn lumber images[C]//Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision.2021:3892-3901.
[17]CHEN H,WANG Y,GUO T,et al.Pre-trained image processing transformer[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.2021:12299-12310.
[18]HUANG Y,QIU C,WANG X,et al.A compact convolutional neural network for surface defect inspection[J].Sensors,2020,20(7):1974.
[19]JABO S.Machine vision for wood defect detection and classification[D].Gothenburg,Sweden:Department of Signal and Systems Chalmers University of Technology,2011.
[20]KHAN S,NASEER M,HAYAT M,et al.Transformers in vision:A survey[J].arXiv:2101.01169,2021.
[1] RAO Zhi-shuang, JIA Zhen, ZHANG Fan, LI Tian-rui. Key-Value Relational Memory Networks for Question Answering over Knowledge Graph [J]. Computer Science, 2022, 49(9): 202-207.
[2] TANG Ling-tao, WANG Di, ZHANG Lu-fei, LIU Sheng-yun. Federated Learning Scheme Based on Secure Multi-party Computation and Differential Privacy [J]. Computer Science, 2022, 49(9): 297-305.
[3] ZHOU Le-yuan, ZHANG Jian-hua, YUAN Tian-tian, CHEN Sheng-yong. Sequence-to-Sequence Chinese Continuous Sign Language Recognition and Translation with Multi- layer Attention Mechanism Fusion [J]. Computer Science, 2022, 49(9): 155-161.
[4] XU Yong-xin, ZHAO Jun-feng, WANG Ya-sha, XIE Bing, YANG Kai. Temporal Knowledge Graph Representation Learning [J]. Computer Science, 2022, 49(9): 162-171.
[5] WANG Jian, PENG Yu-qi, ZHAO Yu-fei, YANG Jian. Survey of Social Network Public Opinion Information Extraction Based on Deep Learning [J]. Computer Science, 2022, 49(8): 279-293.
[6] HAO Zhi-rong, CHEN Long, HUANG Jia-cheng. Class Discriminative Universal Adversarial Attack for Text Classification [J]. Computer Science, 2022, 49(8): 323-329.
[7] JIANG Meng-han, LI Shao-mei, ZHENG Hong-hao, ZHANG Jian-peng. Rumor Detection Model Based on Improved Position Embedding [J]. Computer Science, 2022, 49(8): 330-335.
[8] CHEN Yong-quan, JIANG Ying. Analysis Method of APP User Behavior Based on Convolutional Neural Network [J]. Computer Science, 2022, 49(8): 78-85.
[9] ZHU Cheng-zhang, HUANG Jia-er, XIAO Ya-long, WANG Han, ZOU Bei-ji. Deep Hash Retrieval Algorithm for Medical Images Based on Attention Mechanism [J]. Computer Science, 2022, 49(8): 113-119.
[10] SUN Qi, JI Gen-lin, ZHANG Jie. Non-local Attention Based Generative Adversarial Network for Video Abnormal Event Detection [J]. Computer Science, 2022, 49(8): 172-177.
[11] HU Yan-yu, ZHAO Long, DONG Xiang-jun. Two-stage Deep Feature Selection Extraction Algorithm for Cancer Classification [J]. Computer Science, 2022, 49(7): 73-78.
[12] DAI Zhao-xia, LI Jin-xin, ZHANG Xiang-dong, XU Xu, MEI Lin, ZHANG Liang. Super-resolution Reconstruction of MRI Based on DNGAN [J]. Computer Science, 2022, 49(7): 113-119.
[13] CHENG Cheng, JIANG Ai-lian. Real-time Semantic Segmentation Method Based on Multi-path Feature Extraction [J]. Computer Science, 2022, 49(7): 120-126.
[14] LIU Yue-hong, NIU Shao-hua, SHEN Xian-hao. Virtual Reality Video Intraframe Prediction Coding Based on Convolutional Neural Network [J]. Computer Science, 2022, 49(7): 127-131.
[15] XU Ming-ke, ZHANG Fan. Head Fusion:A Method to Improve Accuracy and Robustness of Speech Emotion Recognition [J]. Computer Science, 2022, 49(7): 132-141.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!