원시데이터 수집 시스템
선정목록으로

Automated Identification of Wood Veneer Surface Defects Using Faster Region-Based Convolutional Neural Network with Data Augmentation and Transfer Learning

관련 모빌리티 소재 · (4) 카시트 모듈

기본 정보

저자
  1. Augustas Urbonas — UAB “Vakaru Medienos Grupe”, LT-92100 Klaipėda, Lithuania
  2. Vidas Raudonis — UAB "Power of Eye", LT-51392 Kaunas, Lithuania
  3. Rytis Maskeliūnas — Institute of Mathematics, Silesian University of Technology, 44-100 Gliwice, Poland
  4. Robertas Damaševičius — Institute of Mathematics, Silesian University of Technology, 44-100 Gliwice, Poland
DOI
10.3390/app9224898
저널
Applied Sciences
발행년도
2019
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
136
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/app9224898
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W2986442261

평가 내용

관련도
관련
사업분야
모빌리티 소재 · (4) 카시트 모듈
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '모빌리티 소재 > 카시트 모듈' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

In the lumber and wood processing industry, most visual quality inspections are still done by trained human operators. Visual inspection is a tedious and repetitive task that involves a high likelihood of human error. Currently, new automated solutions with high-resolution cameras and visual inspection algorithms are being tested, but they are not always fast and accurate enough for real-time industrial applications. This paper proposes an automatic visual inspection system for the location and classification of defects on the wood surface. We adopted a faster region-based convolutional neural network (faster R-CNN) for the identification of defects on wood veneer surfaces. Faster R-CNN has been successfully used in medical image processing and object tracking before, but it has not yet been applied for wood panel surface quality assurance. To improve the results, we used pre-trained AlexNet, VGG16, BNInception, and ResNet152 neural network models for transfer learning. The results of the experiments using a synthetically augmented dataset are presented. The best average accuracy of 80.6% was obtained using the pretrained ResNet152 neural network model. By combining all the defect classes, a 96.1% accuracy of finding wood panel surface defects was achieved.

본문 57,847자

본문 펼치기
In the lumber and wood processing industry, most visual quality inspections are still done by trained human operators.Visual inspection is a tedious and repetitive task that involves a high likelihood of human error.Currently, new automated solutions with high-resolution cameras and visual inspection algorithms are being tested, but they are not always fast and accurate enough for real-time industrial applications.This paper proposes an automatic visual inspection system for the location and classification of defects on the wood surface.We adopted a faster region-based convolutional neural network (faster R-CNN) for the identification of defects on wood veneer surfaces.Faster R-CNN has been successfully used in medical image processing and object tracking before, but it has not yet been applied for wood panel surface quality assurance.To improve the results, we used pre-trained AlexNet, VGG16, BNInception, and ResNet152 neural network models for transfer learning.The results of the experiments using a synthetically augmented dataset are presented.The best average accuracy of 80.6% was obtained using the pretrained ResNet152 neural network model.By combining all the defect classes, a 96.1% accuracy of finding wood panel surface defects was achieved. Introduction According to the United Nations, there is a growth in the wood industry worldwide.In 2017, the world production of wood panels reached 402 million m 3 per year [1].In the Asian market alone, timber production grew by 40% over the period 2011-2015.One of the largest wood processing areas is the production of wood veneer, which, together with the production of plywood panels, has become the dominant market, accounting for 39% of the total wood processing market.Wood veneer is used for coating and decorating surfaces of furniture, doors, or interior design elements.Due to the heterogeneity of the raw material and the complexity of the manufacturing process, the panels produced may have various defects, such as scratches, stains, or wood cores. Introduction One of the most popular wood panel quality control methods is random testing in the production process, random selection of products, and quality checking.If the quality of the checked products is maintained, the production continues, but if defects or discrepancies are found, the production line is stopped, a solution is sought, and the manufacturer suffers from downtime and productivity losses. Introduction In the wood processing industry, visual quality analysis is often carried out by trained experts, but it is tedious and repetitive work that retains the human error factor.Although this method is widely used, it does not ensure that the entire production volume is checked.With large production volumes, manufacturers are simply not able to check all the products, and there is always the possibility of human error factors such as distraction or fatigue.Humans rarely have the ability to achieve more than 70% reliability in visual analysis [2], so wood panel manufacturing companies are looking for ways to automate this process, thus increasing reliability and quality production. Introduction Modern automated inspection systems are able to operate without interruption, at high speed, and following strictly defined rules using a variety of sensors, so that they can check all the products they produce and ensure reliable results [3].Computer vision systems using high-resolution and high-speed video cameras scan products and report on product quality through various algorithms and techniques.Several methods can be used for surface analysis, such as Gabor [4] or wavelet [5] transforms, and deep learning techniques [6][7][8][9][10], but they are not always sufficiently accurate or fast.For example, the double threshold method is used to check the quality of materials in the textile industry [11] to reduce the amount of data in the images used for the training of neural networks.Although this method is one of the fastest, it is only suitable for smooth lighting systems, and cannot be used with deep texture objects such as smooth ceramic tiles [12] or fine-textured textiles. Introduction Wavelet transform is a multiscale analysis and decomposition method.First, the image is sharpened using high-pass filters, thereby isolating local brightness changes; then the image is filtered using low-pass filters and reduced twice to obtain a compressed approximate image.The operation is repeated to get the second level of wavelet transform.This method was applied for the textile defect detection system [13].The algorithm was tested in the industry and achieved 98% accuracy of recognition of textile defects.The method was also used to classify wood branches and cores in the wood industry [14]. Introduction Gabor filter is a linear filter used to describe an image pattern or a pattern with a given frequency spectrum around the point of inspection.This method was applied for the analysis of the quality of wood veneer [4], when using a multilayer perceptron with Gabor attributes and RGB histograms.The system was designed for the classification of tree branches and surface roughness.The trained multilayer perceptron achieved 85-90% accuracy.This method is also widely used in the textile industry [15].Chacon and Alonso [16] used features obtained from Gabor filters and a fuzzy self-organizing neural network as a classifier to identify four different types of knots found on wood surfaces, achieving 91.17% accuracy. Introduction Traditionally, classical machine learning methods such as support vector machines (SVM) and K-nearest neighbor (KNN) have been used for the recognition of wood surface defects.Gu et al. [17] used the intensity and size characteristics of these defects and applied SVM.Mahram et al. [18] identified knots using KNN, SVM, and texture descriptors.YongHua and Jin-Cong [19] used a gray-level co-occurrence matrix (GLCM) and Tamura texture parameters for the classification of knots on wood surfaces.Hittawe et al. [20] proposed using local binary patterns (LBP) and speeded-up robust features (SURF) for feature extraction, and SVM for the detection of cracks and knots in wood surface images.Zhao and Wang [21] suggested using principal component analysis (PCA) or multidimensional scaling (MDS) with Mahalanobis distance for identifying wood vessels in wood hyperspectral microscopic images. Introduction Convolutional neural networks (CNN) are well suited for solving image classification problems, but they need a high number of samples for training.These networks are made up of several filters, whose outputs represent convolution and pooling operations.When images are analyzed using a sliding window, CNNs are very slow, because the object search time is dependent on the size of the image [22].One of the solutions to this problem is to use regional matching methods, assuming that the searched visual objects have common visual features and stand out from the background of an image.Once a region with a high probability of finding an object is found, it is checked by using a more accurate classification method, thus determining its exact position and class.Using this method, the number of search regions is reduced considerably [22]. Introduction One of the major detectors of this type is region-based CNN (R-CNN) [23].Faster R-CNN is an improved version of R-CNN with a faster training time [24].In faster R-CNN, the image is processed using a series of sequentially connected convolution and maximum pooling layers, thereby producing a single map of the convolved features.This feature map selects the regions of interest (RoI) that are being processed in the pooling layers of the RoI.In this layer, each feature region is transformed into a vector of fixed size attributes, which are processed in fully connected network layers.After processing the region with a fully convoluted layer, the layer is branched into two separate output layers: the classification layer with softmax function is determined by the object class, and the positioning layer defines the positions of the rectangular points limiting the objects.Faster R-CNN has been used with success in medical image processing [25] and object tracking [26], but is still little used for the qualitative analysis of wood panel surfaces. Introduction Other types of neural network architectures have also been used for surface defect recognition.Tao et al. [27] used a cascaded autoencoder (CASAE) to transform the surface image into a pixel-wise prediction mask.Then the surface regions are categorized into their respective classes using a compact CNN, achieving an accuracy of 89.60% for the metallic surface defect detection task.Yuce et al. [28] used PCA for the determination of the critical features before using ANN to identify wood veneer defects.Ren et al. [29] used a pretrained decaf CNN [30] to generate a surface defect heatmap.Then the heatmap was binarized and segmented by adopting the graph-based Felzenszwalb's method.In [31], the VGG-16 network architecture achieved over 92% accuracy while allowing localization of the timber surface defects.Some recently proposed neural network architectures such as densely connected convolutional network [32], attentional convolutional network [33], and adversarial auto-encoder (with convolutional structure) [34] have proven very successful in various image recognition tasks.For example, the YOLO model [35] demonstrated very good speed for real-time object detection.However, the methods have not yet been tested on wood surface defects. Introduction For image pre-processing, fuzzy binarization [36][37][38] and fuzzy partitioning [39] have been proposed to extract candidate regions.Also, foreground segmentation could be used to improve the model results.For example, the segmentation map of the image can be fed into the network along with the raw image [40][41][42]. Introduction In this paper, we present an automatic visual inspection system for the location and classification of defects on the surface of wood veneer.Our main contribution is speed optimization of the defect identification task as the defect recognition system has to run on an actual conveyor belt and is programmed on a wood veneer sorting conveyor line; therefore, our task is to find the optimum solution for the existing equipment.Here we have adopted the faster R-CNN method to evaluate the quality of wood veneer.We address the problem as a small data problem [43] and apply data augmentation [44,45] and transfer learning [46] to improve the classification results.We present our methodology as well as the results of the experiments. Hardware and Software A special conveyor belt was produced for data collection.This conveyor is depicted in Figure 1.The conveyor was capable of running up to 1 m/s speed.The length of the conveyor belt was 1 m, with a width of 30 cm.The distance between the camera lens and the subject was 30 cm.The luminaire was mounted at a height of 10 cm and at a 20 • angle to the object.A line scan camera was used to acquire the image.We used a monochromatic Basler raL4096-24gm camera (Basler AG, Ahrensburg, Germany) with an Awaiba DR-4k-7 sensor (Awaiba Holding SA, Yverdon-les-Bains, Switzerland).This camera has a recording speed of 26 kHz and a horizontal resolution of 4096 pixels.The resolutions and speeds of this camera are sufficient to capture a wood veneer moving at a speed of 4 m/s while maintaining a resolution of 0.25 mm 2 /px.Camera shooting is synchronized with the moving conveyor belt using the pulse encoder LIKA CK59-Y-500ZCZ214R (Lika Electronic Srl, Carre', Italy).moving conveyor belt using the pulse encoder LIKA CK59-Y-500ZCZ214R (Lika Electronic Srl, Carre', Italy). Hardware and Software Python and C# programming language (Microsoft Corporation, WA, USA) were used to implement this project.Microsoft CNTK Pack 2.6 (Microsoft Corporation, WA, USA) was used to implement neural networks.All calculations were done using a computer with Intel I7-7700 3.6 Ghz 4-core processor, 16 GB GDDR5 operating memory, and two GTX 1060 6GB video cards.A solid-state drive (SSD) disk was used to store the data on the computer.Wood veneer images have been classified and labeled using a VoTT (Visual object Tagging Tool) (Microsoft Corporation, WA, USA) program for tagging and sorting images for using with deep training networks. Materials Wood veneer is a thin (0.5-3 mm), usually hardwood sheet, intended for coating various surfaces of furniture, doors, or interior elements.The wood veneer is illustrated in Figure 2. The visual quality of the wood veneer is also very important, and depends on where it will be used.For example, in the manufacture of furniture for surface coating, the visual quality of the veneer is very important, with as few branches, stains, or cracks as possible.In the production of veneer, standard-quality veneer is used in the surface layers, and the veneer with the worst visual quality is placed in the inner layers.Python and C# programming language (Microsoft Corporation, WA, USA) were used to implement this project.Microsoft CNTK Pack 2.6 (Microsoft Corporation, WA, USA) was used to implement neural networks.All calculations were done using a computer with Intel I7-7700 3.6 Ghz 4-core processor, 16 GB GDDR5 operating memory, and two GTX 1060 6GB video cards.A solid-state drive (SSD) disk was used to store the data on the computer.Wood veneer images have been classified and labeled using a VoTT (Visual object Tagging Tool) (Microsoft Corporation, WA, USA) program for tagging and sorting images for using with deep training networks. Materials Wood veneer is a thin (0.5-3 mm), usually hardwood sheet, intended for coating various surfaces of furniture, doors, or interior elements.The wood veneer is illustrated in Figure 2. The visual quality of the wood veneer is also very important, and depends on where it will be used.For example, in the manufacture of furniture for surface coating, the visual quality of the veneer is very important, with as few branches, stains, or cracks as possible.In the production of veneer, standard-quality veneer is used in the surface layers, and the veneer with the worst visual quality is placed in the inner layers.When defining the types of defects and their positions, the RoIs in the images are classified into five defect types according to the parameters given in Table 1. Dataset The 250 veneers of size 1525 × 1525 mm were scanned in 300 × 300 mm batches for training and testing.Each veneer was scanned at a resolution of 4000 × 3000 pixels in monochrome single-channel images using the equipment described in Section 2.1.The overall number of usable images was 4729.Out of this number, we obtained 353 veneer images (300 × 300 mm) with defects of wood, which contained 982 branch, 288 core, 398 split, and 253 stain defects.In total, 285 images had at least one defect and six images had no defects.The remainder (defect-free images) were categorized as background.For training, we used 291 images, and for testing, we used 62 images representing the most defective single sheets of veneer.The examples of the resulting veneers are depicted in Figure 3.To improve neural network training, the original dataset was augmented.Each image from the dataset contained from eight to 12 defective regions of interest (ROI); therefore, the actual number of examples used for training and testing is 10 times larger.In total, there were 353 × 10 = 3530 of defective ROIs available. Dataset Dataset images have been reduced to 800 × 600 pixel resolution to speed up the training of a neural network.This size was selected heuristically to achieve the best quality and speed.Reducing the size of an image reduces the visibility of small objects such as splits or scratches.When defining the types of defects and their positions, the RoIs in the images are classified into five defect types according to the parameters given in Table 1. Dataset The 250 veneers of size 1525 × 1525 mm were scanned in 300 × 300 mm batches for training and testing.Each veneer was scanned at a resolution of 4000 × 3000 pixels in monochrome single-channel images using the equipment described in Section 2.1.The overall number of usable images was 4729.Out of this number, we obtained 353 veneer images (300 × 300 mm) with defects of wood, which contained 982 branch, 288 core, 398 split, and 253 stain defects.In total, 285 images had at least one defect and six images had no defects.The remainder (defect-free images) were categorized as background.For training, we used 291 images, and for testing, we used 62 images representing the most defective single sheets of veneer.The examples of the resulting veneers are depicted in Figure 3.To improve neural network training, the original dataset was augmented.Each image from the dataset contained from eight to 12 defective regions of interest (ROI); therefore, the actual number of examples used for training and testing is 10 times larger.In total, there were 353 × 10 = 3530 of defective ROIs available. Dataset Dataset images have been reduced to 800 × 600 pixel resolution to speed up the training of a neural network.This size was selected heuristically to achieve the best quality and speed.Reducing the size of an image reduces the visibility of small objects such as splits or scratches. Dataset In this work, four major wood veneer defects were identified: branches are places where tree branches are visible; scratches/splits are places where cracks, splits, or scratches are visible; a core is where the core or bark of a tree is visible; and stains are water or pigmentation-induced wood spots.Examples of these defects are shown in Figure 4.In this work, four major wood veneer defects were identified: branches are places where tree branches are visible; scratches/splits are places where cracks, splits, or scratches are visible; a core is where the core or bark of a tree is visible; and stains are water or pigmentation-induced wood spots.Examples of these defects are shown in Figure 4.The defects were selected and labeled using the VoTT program to determine the size, position, and class to which it is assigned.The VoTT program marked image is shown in Figure 5.In this work, four major wood veneer defects were identified: branches are places where tree branches are visible; scratches/splits are places where cracks, splits, or scratches are visible; a core is where the core or bark of a tree is visible; and stains are water or pigmentation-induced wood spots.Examples of these defects are shown in Figure 4.The defects were selected and labeled using the VoTT program to determine the size, position, and class to which it is assigned.The VoTT program marked image is shown in Figure 5.The defects were selected and labeled using the VoTT program to determine the size, position, and class to which it is assigned.The VoTT program marked image is shown in Figure 5.In this work, four major wood veneer defects were identified: branches are places where tree branches are visible; scratches/splits are places where cracks, splits, or scratches are visible; a core is where the core or bark of a tree is visible; and stains are water or pigmentation-induced wood spots.Examples of these defects are shown in Figure 4.The defects were selected and labeled using the VoTT program to determine the size, position, and class to which it is assigned.The VoTT program marked image is shown in Figure 5. Blue is used to label the split (S) defects.Yellow is used to label the stain (T) defects. Data Augmentation Augmentation of a dataset is often used to increase the accuracy and adaptability of neural networks for classification.In this work, three different geometric transformations were applied: flip, rotation transformation, and resize transformation.For each of the 291 training pictures, four random synthetic pictures were created.Examples of the synthesized images are shown in Figure 6.Yellow is used to label the stain (T) defects. Architecture of Neural Network In the faster R-CNN method, the image is processed using a series of sequentially connected convolution and maximum pooling layers, thereby producing a single map of the convolutional features.This feature map selects the regions of interest that are being processed in the maximum pooling layers.In this layer, each feature region is transformed into a vector of fixed size features that are processed in the fully connected network layers.After processing the region with a fully connected layer, the layer is branched into two separate output layers: the classification layer with the softmax function determines the object class, and the positioning layer is for defining the positions of the four rectangular points limiting the objects.The simplified operation of the method is depicted in Figure 7.This method is more accurate than R-CNN.During the training, all network layers are trained and there is not much room for character storage during training [47].Yellow is used to label the stain (T) defects. Architecture of Neural Network In the faster R-CNN method, the image is processed using a series of sequentially connected convolution and maximum pooling layers, thereby producing a single map of the convolutional features.This feature map selects the regions of interest that are being processed in the maximum pooling layers.In this layer, each feature region is transformed into a vector of fixed size features that are processed in the fully connected network layers.After processing the region with a fully connected layer, the layer is branched into two separate output layers: the classification layer with the softmax function determines the object class, and the positioning layer is for defining the positions of the four rectangular points limiting the objects.The simplified operation of the method is depicted in Figure 7.This method is more accurate than R-CNN.During the training, all network layers are trained and there is not much room for character storage during training [47].Blue is used to label the split (S) defects.Yellow is used to label the stain (T) defects. Data Augmentation Augmentation of a dataset is often used to increase the accuracy and adaptability of neural networks for classification.In this work, three different geometric transformations were applied: flip, rotation transformation, and resize transformation.For each of the 291 training pictures, four random synthetic pictures were created.Examples of the synthesized images are shown in Figure 6.Yellow is used to label the stain (T) defects. Architecture of Neural Network In the faster R-CNN method, the image is processed using a series of sequentially connected convolution and maximum pooling layers, thereby producing a single map of the convolutional features.This feature map selects the regions of interest that are being processed in the maximum pooling layers.In this layer, each feature region is transformed into a vector of fixed size features that are processed in the fully connected network layers.After processing the region with a fully connected layer, the layer is branched into two separate output layers: the classification layer with the softmax function determines the object class, and the positioning layer is for defining the positions of the four rectangular points limiting the objects.The simplified operation of the method is depicted in Figure 7.This method is more accurate than R-CNN.During the training, all network layers are trained and there is not much room for character storage during training [47].In the faster R-CNN method, the search method of options is replaced by the region proposal network (RPN).This method also introduced a new method of regional exclusion using anchor boxes.Window size multipliers are selected during training, and the aspect ratio varies between 1:1, 1:2, and 2:1, thus creating nine regions in each location.For example, the basic sliding window size is 16 × 16 px resolution, so there are three different aspect ratio windows: 8 × 24 px, 16 × 16 px, and 24 × 8 px.These window sizes are multiplied by the three selected multipliers, thus obtaining nine different windows.The output of the RPN network is a feature map that indicates the position, width, and length of each of the regions in question and the probability of being an object or background.Applying the softmax selection function leaves the specified number of regions that are processed in the pool of regions of interest.In this layer, regions of different sizes are converted into vector vectors of fixed size.These vectors are ultimately used in the R-CNN network, which defines the object class and position, and the background images are rejected.In the R-CNN network, the fully connected layers are used, the first layer contains N + 1 neurons, where N is the number of classes with an additional class background, and the second is the layer of 4N neurons, which indicates the position and size of the object. Transfer Learning Using Pre-Trained Neural Networks Transfer learning is a neural network learning method that utilizes a similar problem solved by the network model, but then retrains it with the training data using only a specific part of the trained model [48].There are currently two main methods to implement transfer learning.The first method retrains only the last layer, while the original model remains as a tool-defined feature.In the second method, other layers are also trained.This method is called fine-tuning.These are currently some of the most popular transfer models, such as: AlexNet, VGG, ResNet, and GoogleLeNet models. Transfer Learning Using Pre-Trained Neural Networks The AlexNet neural network consists of 11 layers, of which there are five convolution layers and three layers of maximum pooling [49].The architecture of this network is depicted in Figure 8.The network input is a 224 × 224 × 3 pixel-sized vector that matches the size of the image, and the network output receives a 1000-value vector that indicates the class to which the object was assigned. Transfer Learning Using Pre-Trained Neural Networks Appl.Sci.2019, 9, x FOR PEER REVIEW 8 of 20 Transfer Learning Using Pre-Trained Neural Networks In the faster R-CNN method, the search method of options is replaced by the region proposal network (RPN).This method also introduced a new method of regional exclusion using anchor boxes.Window size multipliers are selected during training, and the aspect ratio varies between 1:1, 1:2, and 2:1, thus creating nine regions in each location.For example, the basic sliding window size is 16 × 16 px resolution, so there are three different aspect ratio windows: 8 × 24 px, 16 × 16 px, and 24 × 8 px.These window sizes are multiplied by the three selected multipliers, thus obtaining nine different windows.The output of the RPN network is a feature map that indicates the position, width, and length of each of the regions in question and the probability of being an object or background.Applying the softmax selection function leaves the specified number of regions that are processed in the pool of regions of interest.In this layer, regions of different sizes are converted into vector vectors of fixed size.These vectors are ultimately used in the R-CNN network, which defines the object class and position, and the background images are rejected.In the R-CNN network, the fully connected layers are used, the first layer contains N + 1 neurons, where N is the number of classes with an additional class background, and the second is the layer of 4N neurons, which indicates the position and size of the object. Transfer Learning Using Pre-Trained Neural Networks Transfer learning is a neural network learning method that utilizes a similar problem solved by the network model, but then retrains it with the training data using only a specific part of the trained model [48].There are currently two main methods to implement transfer learning.The first method retrains only the last layer, while the original model remains as a tool-defined feature.In the second method, other layers are also trained.This method is called fine-tuning.These are currently some of the most popular transfer models, such as: AlexNet, VGG, ResNet, and GoogleLeNet models. Transfer Learning Using Pre-Trained Neural Networks The AlexNet neural network consists of 11 layers, of which there are five convolution layers and three layers of maximum pooling [49].The architecture of this network is depicted in Figure 8.The network input is a 224 × 224 × 3 pixel-sized vector that matches the size of the image, and the network output receives a 1000-value vector that indicates the class to which the object was assigned.The VGG-16 architecture consists of 21 layers, of which 13 layers are convolution layers, five are maximum pooling layers, and three are fully connected layers [50].A feature of this network is that all layers of the fold are 3 × 3 pixels in size.The VGG16 architecture is illustrated in Figure 9.The input to this architecture, like AlexNet, is a 224 × 224 × 3-sized vector, and the output is a 1000-value vector that indicates the class to which the image belongs.The VGG-16 architecture consists of 21 layers, of which 13 layers are convolution layers, five are maximum pooling layers, and three are fully connected layers [50].A feature of this network is that all layers of the fold are 3 × 3 pixels in size.The VGG16 architecture is illustrated in Figure 9.The input to this architecture, like AlexNet, is a 224 × 224 × 3-sized vector, and the output is a 1000-value vector that indicates the class to which the image belongs.A residual network (ResNet) [51] addresses the vanishing gradient problem.This problem occurs when the network is too deep and the gradient value after the loss function is reduced, and later it becomes too small to influence the layer multipliers, so the network no longer learns.The ResNet architecture solves this problem by creating additional connections between different layers, where gradient information is transmitted directly by skipping the intermediate layers.Figure 10 shows the ResNet simplified layer link.A residual network (ResNet) [51] addresses the vanishing gradient problem.This problem occurs when the network is too deep and the gradient value after the loss function is reduced, and later it becomes too small to influence the layer multipliers, so the network no longer learns.The ResNet architecture solves this problem by creating additional connections between different layers, where gradient information is transmitted directly by skipping the intermediate layers.Figure 10 shows the ResNet simplified layer link.The VGG-16 architecture consists of 21 layers, of which 13 layers are convolution layers, five are maximum pooling layers, and three are fully connected layers [50].A feature of this network is that all layers of the fold are 3 × 3 pixels in size.The VGG16 architecture is illustrated in Figure 9.The input to this architecture, like AlexNet, is a 224 × 224 × 3-sized vector, and the output is a 1000-value vector that indicates the class to which the image belongs.A residual network (ResNet) [51] addresses the vanishing gradient problem.This problem occurs when the network is too deep and the gradient value after the loss function is reduced, and later it becomes too small to influence the layer multipliers, so the network no longer learns.The ResNet architecture solves this problem by creating additional connections between different layers, where gradient information is transmitted directly by skipping the intermediate layers.Figure 10 shows the ResNet simplified layer link.The GoogleNet or inception network architecture has 22 neural layers [52].The main features of this network were 1 × 1 size convolution operations and the inception module.The 1 × 1 convolution operations were first introduced on the NIN (network in network) [53].NIN was used to distinguish attributes instead of linear filters before classification, which increases the accuracy.Also, NINs were Appl.Sci.2019, 9, 4898 10 of 20 used instead of maximum pooling layers, and activation layers were created, the number of which is proportional to the number of classes.Applying the average operation and the soft peak layer results in class prediction.This application of NIN increased the speed and accuracy of the method.The second feature of the GoogleNet network is the inception module.In this module, the convolution filters of different size are applied in parallel to the input layer and are assembled to obtain a new vector of the output attributes.The diagram of the inception module is shown in Figure 11. Transfer Learning Using Pre-Trained Neural Networks Appl.Sci.2019, 9, x FOR PEER REVIEW 10 of 20 Transfer Learning Using Pre-Trained Neural Networks The GoogleNet or inception network architecture has 22 neural layers [52].The main features of this network were 1 × 1 size convolution operations and the inception module.The 1 × 1 convolution operations were first introduced on the NIN (network in network) [53].NIN was used to distinguish attributes instead of linear filters before classification, which increases the accuracy.Also, NINs were used instead of maximum pooling layers, and activation layers were created, the number of which is proportional to the number of classes.Applying the average operation and the soft peak layer results in class prediction.This application of NIN increased the speed and accuracy of the method.The second feature of the GoogleNet network is the inception module.In this module, the convolution filters of different size are applied in parallel to the input layer and are assembled to obtain a new vector of the output attributes.The diagram of the inception module is shown in Figure 11.In the connection layer, all results are combined into one feature map.The BNInception method uses batch normalization in the input layer, but also in the hidden layers, where each batch of data in the new iteration is adapted to the mean and distribution values learned [54]. Transfer Learning Using Pre-Trained Neural Networks Batch normalization makes it possible to train models with higher training speeds and reduced distribution, and it also reduces learning when the model adapts too much to the training data. Evaluation The accuracy of defect detection is determined by the intersection over union (IoU) metric, which defines the relationship between the ground truth defect and the found defect.This parameter is the Jaccard index.The object is usually validated as found when IoU is equal to or greater than 0.5.In this study, the accuracy was calculated using the ratio of true positive TP to the sum of false positives FP and true positives: Evaluation where TP is found for defects with the value of IoU greater than the set threshold, and FP is for defects with the value of IoU less than the threshold value. Evaluation For each of the four defect classes and the background (i.e., no defect class), the average accuracy is calculated, and the overall performance is evaluate using grand average of accuracy, precision, recall, and f-score metric values. Results Some of the typical defect classification results are given in Figure 12.In the connection layer, all results are combined into one feature map.The BNInception method uses batch normalization in the input layer, but also in the hidden layers, where each batch of data in the new iteration is adapted to the mean and distribution values learned [54]. Results Batch normalization makes it possible to train models with higher training speeds and reduced distribution, and it also reduces learning when the model adapts too much to the training data. Evaluation The accuracy of defect detection is determined by the intersection over union (IoU) metric, which defines the relationship between the ground truth defect and the found defect.This parameter is the Jaccard index.The object is usually validated as found when IoU is equal to or greater than 0.5.In this study, the accuracy was calculated using the ratio of true positive TP to the sum of false positives FP and true positives: Evaluation where TP is found for defects with the value of IoU greater than the set threshold, and FP is for defects with the value of IoU less than the threshold value. Evaluation For each of the four defect classes and the background (i.e., no defect class), the average accuracy is calculated, and the overall performance is evaluate using grand average of accuracy, precision, recall, and f-score metric values. Results Some of the typical defect classification results are given in Figure 12.The classification accuracy using the pre-trained AlexNet, VGG16, BNInception, and ResNet152 neural network models trained with different network parameters (batch size and learning speed) is summarized in Figures 13-16. Results The best results while using the AlexNet neural network were achieved using 32 batch size and 0.2 learning speed for stain class, 64 batch size and 0.2 learning speed for core class, 128 batch size and 0.1 learning speed for branch class, 256 batch size and 0.1 learning speed for scratch class, and 256 batch size and 0.1 learning speed for background class.The results with respect to different sliding window multipliers are presented in Table 2.The best accuracy, 76.6%, was achieved using the sliding window sizes of [4,8,12]. Accuracy Average accuracy Branch Scratch Stain Core The classification accuracy using the pre-trained AlexNet, VGG16, BNInception, and ResNet152 neural network models trained with different network parameters (batch size and learning speed) is summarized in Figures 13-16.The best results while using the VGG16 neural network were achieved using 32 batch size and 0.01 learning speed for branch class, 32 batch size and 0.1 learning speed for scratch and background classes, 64 batch size and 0.2 learning speed for core class, and 100 batch size and 0.2 learning speed for background class. Accuracy The best results while using the BNInception neural network were achieved using 64 batch size and 0.1 learning speed for core class, 128 batch size and 0.1 learning speed for branch and background classes, 128 batch size and 0.2 learning speed for stain class, and 256 batch size and 0.2 learning speed for scratch class. Accuracy The best results while using the ResNet152 neural network were achieved using 32 batch size and 0.01 learning speed for stain and background class, 32 batch size and 0.1 learning speed for core class, 64 batch size and 0.1 learning speed for scratch class, and 128 batch size and 0.2 learning speed for branch class.Using an augmented dataset, the total accuracy of the method for finding defects in all classes increased from 60.5% to 68.3%.The accuracy of the quality grade increased from 67.7% to 69.3%.The augmentation of the dataset with synthetic data had the greatest impact on the accuracy of the core defect identification, which increased from 45.8% to 68.0%.The lowest impact was on branch type defects, the accuracy of which decreased from 82.8% to 79.7%. Accuracy For transfer learning, each of the four models was pretrained 16 times using different combinations of batch size and learning speed parameters.The confusion matrices for all four transfer learning models are summarized in Figure 17.Using an augmented dataset, the total accuracy of the method for finding defects in all classes increased from 60.5% to 68.3%.The accuracy of the quality grade increased from 67.7% to 69.3%.The augmentation of the dataset with synthetic data had the greatest impact on the accuracy of the core defect identification, which increased from 45.8% to 68.0%.The lowest impact was on branch type defects, the accuracy of which decreased from 82.8% to 79.7%. Accuracy For transfer learning, each of the four models was pretrained 16 times using different combinations of batch size and learning speed parameters.The confusion matrices for all four transfer learning models are summarized in Figure 17.For AlexNet, most misclassifications occur between the branch and stain classes (14.5%).For VGG16, most misclassifications occur between the stain and scratch classes (14.5%).For BNInception, most misclassifications occur between the stain and core classes (12.9%).For ResNet152, most misclassifications occur between the stain and branch classes (12.9%). Accuracy By training an additional classifier using transfer learning, the highest accuracy was achieved by the ResNet152 model-based neural network, which reached 80.6% accuracy for classification, but was the slowest, as one image was processed in 48.01 ms.The fastest was the AlexNet model-trained method, which reached 80.0% accuracy for classification and processed one image in 6.76 ms, which is 7.1 times faster than the ResNet152 method. Accuracy By combining all the defect classes into one type and training the faster R-CNN method, 96.10% accuracy in finding the surface defects was achieved.The best results while using the AlexNet neural network were achieved using 32 batch size and 0.2 learning speed for stain class, 64 batch size and 0.2 learning speed for core class, 128 batch size and 0.1 learning speed for branch class, 256 batch size and 0.1 learning speed for scratch class, and 256 batch size and 0.1 learning speed for background class.The results with respect to different sliding window multipliers are presented in Table 2.The best accuracy, 76.6%, was achieved using the sliding window sizes of [4,8,12].The best results while using the VGG16 neural network were achieved using 32 batch size and 0.01 learning speed for branch class, 32 batch size and 0.1 learning speed for scratch and background classes, 64 batch size and 0.2 learning speed for core class, and 100 batch size and 0.2 learning speed for background class. Accuracy The best results while using the BNInception neural network were achieved using 64 batch size and 0.1 learning speed for core class, 128 batch size and 0.1 learning speed for branch and background classes, 128 batch size and 0.2 learning speed for stain class, and 256 batch size and 0.2 learning speed for scratch class. Accuracy The best results while using the ResNet152 neural network were achieved using 32 batch size and 0.01 learning speed for stain and background class, 32 batch size and 0.1 learning speed for core class, 64 batch size and 0.1 learning speed for scratch class, and 128 batch size and 0.2 learning speed for branch class. Accuracy Using an augmented dataset, the total accuracy of the method for finding defects in all classes increased from 60.5% to 68.3%.The accuracy of the quality grade increased from 67.7% to 69.3%.The augmentation of the dataset with synthetic data had the greatest impact on the accuracy of the core defect identification, which increased from 45.8% to 68.0%.The lowest impact was on branch type defects, the accuracy of which decreased from 82.8% to 79.7%. Accuracy For transfer learning, each of the four models was pretrained 16 times using different combinations of batch size and learning speed parameters.The confusion matrices for all four transfer learning models are summarized in Figure 17.For AlexNet, most misclassifications occur between the branch and stain classes (14.5%).For VGG16, most misclassifications occur between the stain and scratch classes (14.5%).For BNInception, most misclassifications occur between the stain and core classes (12.9%).For ResNet152, most misclassifications occur between the stain and branch classes (12.9%). Accuracy By training an additional classifier using transfer learning, the highest accuracy was achieved by the ResNet152 model-based neural network, which reached 80.6% accuracy for classification, but was the slowest, as one image was processed in 48.01 ms.The fastest was the AlexNet model-trained method, which reached 80.0% accuracy for classification and processed one image in 6.76 ms, which is 7.1 times faster than the ResNet152 method. Accuracy By combining all the defect classes into one type and training the faster R-CNN method, 96.10% accuracy in finding the surface defects was achieved.A comparison of neural network training speed and classification accuracy for the best neural network models is given in Table 3.The average accuracy value and its 95% confidence intervals were calculated by applying a standard 10-fold cross-validation procedure.The highest overall accuracy of 80.6% was achieved using the ResNet152 pre-trained model.The AlexNet model achieved an average accuracy of 80.2%.The class of branches was best classified using the BNInception pretrained model, which achieved 91.9% accuracy in branch classification.The scratches class was also best identified using the BNInception pretrained model, reaching an accuracy of 86.5%.The best classification accuracy was achieved with the background class that the ResNet152-modeltrained model classified with an accuracy of 94.6%.The core defect class was best classified by the ResNet152 model, which reached 89.6% accuracy. Accuracy Finally, in Table 4 we summarize the performance of neural networks using precision, recall, For AlexNet, most misclassifications occur between the branch and stain classes (14.5%).For VGG16, most misclassifications occur between the stain and scratch classes (14.5%).For BNInception, most misclassifications occur between the stain and core classes (12.9%).For ResNet152, most misclassifications occur between the stain and branch classes (12.9%). Accuracy By training an additional classifier using transfer learning, the highest accuracy was achieved by the ResNet152 model-based neural network, which reached 80.6% accuracy for classification, but was the slowest, as one image was processed in 48.01 ms.The fastest was the AlexNet model-trained method, which reached 80.0% accuracy for classification and processed one image in 6.76 ms, which is 7.1 times faster than the ResNet152 method. Accuracy By combining all the defect classes into one type and training the faster R-CNN method, 96.10% accuracy in finding the surface defects was achieved. Accuracy A comparison of neural network training speed and classification accuracy for the best neural network models is given in Table 3.The average accuracy value and its 95% confidence intervals were calculated by applying a standard 10-fold cross-validation procedure.The highest overall accuracy of 80.6% was achieved using the ResNet152 pre-trained model.The AlexNet model achieved an average accuracy of 80.2%.The class of branches was best classified using the BNInception pretrained model, which achieved 91.9% accuracy in branch classification.The scratches class was also best identified using the BNInception pretrained model, reaching an accuracy of 86.5%.The best classification accuracy was achieved with the background class that the ResNet152-model-trained model classified with an accuracy of 94.6%.The core defect class was best classified by the ResNet152 model, which reached 89.6% accuracy.Finally, in Table 4 we summarize the performance of neural networks using precision, recall, and f-score metrics.Although all the analyzed models perform similarly, the best results are obtained by the ResNet152 neural network model. Evaluation and Discussion In this paper, we have described the development of an automatic visual inspection system for the location and classification of defects on wood veneer surfaces.Each layer of the veneer has to be individually inspected before gluing them all together into plywood.The defective regions of each layer have to be replaced with non-defective pieces of wood.Therefore, the visual inspection system has to output the location of the defective region and the type of defect.In comparison with the results of other authors working on the topic of wood surface defect recognition (see Table 5), our approach works well, achieving an average accuracy of 80.6% with a high performance in terms of defect recognition.The best performance, achieved by the AlexNet architecture (6.76 ms), allows the developed automatic visual inspection system to be used on a wood veneer sorting conveyor line in a real-world industrial wood veneer processing facility.The results can be explained by the combination of the fully connected and convolutional layers, which ensures high recognition performance. Conclusions In this paper, we have adopted the faster R-CNN neural model for the automated analysis of wood veneer surface quality.We used data augmentation and transfer learning (using pretrained AlexNet, VGG16, BNInception, and ResNet152 models). Conclusions The results demonstrated the applicability of data augmentation and transfer learning techniques for the identification of four classes of wood veneer surface defects.The best average accuracy was obtained using the pretrained ResNet152 neural network model (80.6%), while by combining all the defect classes into one type, 96.1% accuracy in finding surface defects was achieved.Our results show that our surface detection method algorithm can be used for industrial wood processing applications.Furthermore, the method can also be adopted for detecting surface defects in other industrially processed materials.More complex data augmentation and transfer learning schemes could be explored to further improve the results. Conclusions The limitation of the method is the need to have manually labeled images for the training of neural networks, which may not be error-free. Conclusions Future works will include the application of deep learning methods for analyzing the surface defects of other types of wood panels, such as laminate and decorated wood. Figure 1 . Figure 1.Conveyor belt developed for wood surface quality evaluation. Figure 1 . Figure 1.Conveyor belt developed for wood surface quality evaluation. Figure 2 . Figure 2. Example of wood veneer under study. Figure 2 . Figure 2. Example of wood veneer under study. Figure 3 . Figure 3.Samples of veneers: (a) nondefective; (b) with visible core; (c) with visible branches. Figure 4 . Figure 4. Examples of wood veneer defects: (a) split; (b) core; (c) branch; (d) stain. Figure 3 .Figure 3 . Figure 3.Samples of veneers: (a) nondefective; (b) with visible core; (c) with visible branches. Figure 4 . Figure 4. Examples of wood veneer defects: (a) split; (b) core; (c) branch; (d) stain. Figure 4 . Figure 4. Examples of wood veneer defects: (a) split; (b) core; (c) branch; (d) stain. Figure 3 . Figure 3.Samples of veneers: (a) nondefective; (b) with visible core; (c) with visible branches. Figure 4 . Figure 4. Examples of wood veneer defects: (a) split; (b) core; (c) branch; (d) stain. Figure 5 . 20 Figure 5 . Figure 5.An image of wood veneer labeled using VoTT.Green is used to label the branch (B) defects.Blue is used to label the split (S) defects.Yellow is used to label the stain (T) defects. Figure 6 . Figure 6.Example of data augmentation for increasing the number of images for training: (a) original images; (b-d) images obtained by rotation transformation.Blue is used to label the split (S) defects.Yellow is used to label the stain (T) defects. Figure 7 . Figure 7. Operation of faster R-CNN: (a) original image; (b) convolution features; (c) classification of regions of interest. Figure 6 . Figure 6.Example of data augmentation for increasing the number of images for training: (a) original images; (b-d) images obtained by rotation transformation.Blue is used to label the split (S) defects.Yellow is used to label the stain (T) defects. Figure 5 . Figure 5.An image of wood veneer labeled using VoTT.Green is used to label the branch (B) defects.Blue is used to label the split (S) defects.Yellow is used to label the stain (T) defects. Figure 6 . Figure 6.Example of data augmentation for increasing the number of images for training: (a) original images; (b-d) images obtained by rotation transformation.Blue is used to label the split (S) defects.Yellow is used to label the stain (T) defects. Figure 7 . Figure 7. Operation of faster R-CNN: (a) original image; (b) convolution features; (c) classification of regions of interest. Figure 7 . Figure 7. Operation of faster R-CNN: (a) original image; (b) convolution features; (c) classification of regions of interest. Figure 8 . Figure 8. Architecture of the AlexNet neural network.CL is the convolution layer, MPL is the maximum pooling layer, and FCL is the fully connected layer. Figure 8 . Figure 8. Architecture of the AlexNet neural network.CL is the convolution layer, MPL is the maximum pooling layer, and FCL is the fully connected layer. Figure 8 . Appl.Sci.2019, 9, x FOR PEER REVIEW 9 of 20 Figure 9 . Figure 9. Architecture of the VGG16 neural network.CL is the convolution layer, and MPL is the maximum pooling layer. Figure 10 . Figure 10.ResNet unit.CL is the convolution layer; reLu is a rectified linear unit. Figure 9 . Figure 9. Architecture of the VGG16 neural network.CL is the convolution layer, and MPL is the maximum pooling layer. Figure 9 . Appl.Sci.2019, 9, x FOR PEER REVIEW 9 of 20 Figure 9 . Figure 9. Architecture of the VGG16 neural network.CL is the convolution layer, and MPL is the maximum pooling layer. Figure 10 . Figure 10.ResNet unit.CL is the convolution layer; reLu is a rectified linear unit.Figure 10.ResNet unit.CL is the convolution layer; reLu is a rectified linear unit. Figure 10 . Figure 10.ResNet unit.CL is the convolution layer; reLu is a rectified linear unit.Figure 10.ResNet unit.CL is the convolution layer; reLu is a rectified linear unit. Figure 11 . Figure 11.Inception module in GoogleNet.CL is the convolution layer and MPL is the maximum pooling layer.Dimensionality reduction layers are depicted in yellow, the maximum pooling layer is depicted in red, and the layers in the convolution operations are shown in blue. Figure 11 . Figure 11.Inception module in GoogleNet.CL is the convolution layer and MPL is the maximum pooling layer.Dimensionality reduction layers are depicted in yellow, the maximum pooling layer is depicted in red, and the layers in the convolution operations are shown in blue. Figure 12 . Figure 12.Examples of wood veneer defect classification using faster R-CNN.Branches (B) are labeled in green.Scratches (S) are labeled in blue.Cores (C) are labeled in violet.Stains (T) are labeled in yellow. Figure 12 . Figure 12.Examples of wood veneer defect classification using faster R-CNN.Branches (B) are labeled in green.Scratches (S) are labeled in blue.Cores (C) are labeled in violet.Stains (T) are labeled in yellow. Figure 12 . Appl.Sci.2019, 9, x FOR PEER REVIEW 12 of 20 Figure 13 . Figure 13.Classification accuracy using AlexNet neural network trained with different network parameters (batch size and learning speed).The best combinations of parameter values are indicated in red. Figure 13 . Figure 13.Classification accuracy using AlexNet neural network trained with different network parameters (batch size and learning speed).The best combinations of parameter values are indicated in red. Figure 14 . Figure 14.Classification accuracy using VGG16 neural network trained with different network parameters (batch size and learning speed).The best combinations of parameter values are indicated in red. Figure 14 . Figure 14.Classification accuracy using VGG16 neural network trained with different network parameters (batch size and learning speed).The best combinations of parameter values are indicated in red. Figure 14 . Figure 14.Classification accuracy using VGG16 neural network trained with different network parameters (batch size and learning speed).The best combinations of parameter values are indicated in red. Figure 15 . Figure 15.Classification accuracy using the BNInception neural network trained with different network parameters (batch size and learning speed).The best combinations of parameter values are indicated in red. Figure 15 . Figure 15.Classification accuracy using the BNInception neural network trained with different network parameters (batch size and learning speed).The best combinations of parameter values are indicated in red. Figure 16 . Figure 16.Classification accuracy using ResNet152 neural network trained with different network parameters (batch size and learning speed).The best combinations of parameter values are indicated in red. Figure 16 . Figure 16.Classification accuracy using ResNet152 neural network trained with different network parameters (batch size and learning speed).The best combinations of parameter values are indicated in red. Figure 16 . Figure 16.Classification accuracy using ResNet152 neural network trained with different network parameters (batch size and learning speed).The best combinations of parameter values are indicated in red. Figure 17 . Figure 17.Confusion matrices of classification results while using (a) AlexNet; (b) VGG16; (c) BNInception; (d) ResNet152. Figure 17 . Figure 17.Confusion matrices of classification results while using (a) AlexNet; (b) VGG16; (c) BNInception; (d) ResNet152. Table 1 . Explanation of defect types. Table 2 . Classification results with different sliding window size with AlexNet neural network.The best results are shown in bold. Table 2 . Classification results with different sliding window size with AlexNet neural network.The best results are shown in bold. Table 3 . Accuracy classification when using AlexNet, VGG16, BNInception, and ResNet152 neural network models for transfer learning.The best results are shown in bold. Table 4 . Mean precision, recall, and f-score values of AlexNet, VGG16, BNInception, and ResNet152 neural network models used for transfer learning.The best results are shown in bold.

섹션 본문 119문단 · 55,946자

(제목 없음)

1In the lumber and wood processing industry, most visual quality inspections are still done by trained human operators.Visual inspection is a tedious and repetitive task that involves a high likelihood of human error.Currently, new automated solutions with high-resolution cameras and visual inspection algorithms are being tested, but they are not always fast and accurate enough for real-time industrial applications.This paper proposes an automatic visual inspection system for the location and classification of defects on the wood surface.We adopted a faster region-based convolutional neural network (faster R-CNN) for the identification of defects on wood veneer surfaces.Faster R-CNN has been successfully used in medical image processing and object tracking before, but it has not yet been applied for wood panel surface quality assurance.To improve the results, we used pre-trained AlexNet, VGG16, BNInception, and ResNet152 neural network models for transfer learning.The results of the experiments using a synthetically augmented dataset are presented.The best average accuracy of 80.6% was obtained using the pretrained ResNet152 neural network model.By combining all the defect classes, a 96.1% accuracy of finding wood panel surface defects was achieved.

Introduction

2According to the United Nations, there is a growth in the wood industry worldwide.In 2017, the world production of wood panels reached 402 million m 3 per year [1].In the Asian market alone, timber production grew by 40% over the period 2011-2015.One of the largest wood processing areas is the production of wood veneer, which, together with the production of plywood panels, has become the dominant market, accounting for 39% of the total wood processing market.Wood veneer is used for coating and decorating surfaces of furniture, doors, or interior design elements.Due to the heterogeneity of the raw material and the complexity of the manufacturing process, the panels produced may have various defects, such as scratches, stains, or wood cores.

3One of the most popular wood panel quality control methods is random testing in the production process, random selection of products, and quality checking.If the quality of the checked products is maintained, the production continues, but if defects or discrepancies are found, the production line is stopped, a solution is sought, and the manufacturer suffers from downtime and productivity losses.

4In the wood processing industry, visual quality analysis is often carried out by trained experts, but it is tedious and repetitive work that retains the human error factor.Although this method is widely used, it does not ensure that the entire production volume is checked.With large production volumes, manufacturers are simply not able to check all the products, and there is always the possibility of human error factors such as distraction or fatigue.Humans rarely have the ability to achieve more than 70% reliability in visual analysis [2], so wood panel manufacturing companies are looking for ways to automate this process, thus increasing reliability and quality production.

5Modern automated inspection systems are able to operate without interruption, at high speed, and following strictly defined rules using a variety of sensors, so that they can check all the products they produce and ensure reliable results [3].Computer vision systems using high-resolution and high-speed video cameras scan products and report on product quality through various algorithms and techniques.Several methods can be used for surface analysis, such as Gabor [4] or wavelet [5] transforms, and deep learning techniques [6][7][8][9][10], but they are not always sufficiently accurate or fast.For example, the double threshold method is used to check the quality of materials in the textile industry [11] to reduce the amount of data in the images used for the training of neural networks.Although this method is one of the fastest, it is only suitable for smooth lighting systems, and cannot be used with deep texture objects such as smooth ceramic tiles [12] or fine-textured textiles.

6Wavelet transform is a multiscale analysis and decomposition method.First, the image is sharpened using high-pass filters, thereby isolating local brightness changes; then the image is filtered using low-pass filters and reduced twice to obtain a compressed approximate image.The operation is repeated to get the second level of wavelet transform.This method was applied for the textile defect detection system [13].The algorithm was tested in the industry and achieved 98% accuracy of recognition of textile defects.The method was also used to classify wood branches and cores in the wood industry [14].

7Gabor filter is a linear filter used to describe an image pattern or a pattern with a given frequency spectrum around the point of inspection.This method was applied for the analysis of the quality of wood veneer [4], when using a multilayer perceptron with Gabor attributes and RGB histograms.The system was designed for the classification of tree branches and surface roughness.The trained multilayer perceptron achieved 85-90% accuracy.This method is also widely used in the textile industry [15].Chacon and Alonso [16] used features obtained from Gabor filters and a fuzzy self-organizing neural network as a classifier to identify four different types of knots found on wood surfaces, achieving 91.17% accuracy.

8Traditionally, classical machine learning methods such as support vector machines (SVM) and K-nearest neighbor (KNN) have been used for the recognition of wood surface defects.Gu et al. [17] used the intensity and size characteristics of these defects and applied SVM.Mahram et al. [18] identified knots using KNN, SVM, and texture descriptors.YongHua and Jin-Cong [19] used a gray-level co-occurrence matrix (GLCM) and Tamura texture parameters for the classification of knots on wood surfaces.Hittawe et al. [20] proposed using local binary patterns (LBP) and speeded-up robust features (SURF) for feature extraction, and SVM for the detection of cracks and knots in wood surface images.Zhao and Wang [21] suggested using principal component analysis (PCA) or multidimensional scaling (MDS) with Mahalanobis distance for identifying wood vessels in wood hyperspectral microscopic images.

9Convolutional neural networks (CNN) are well suited for solving image classification problems, but they need a high number of samples for training.These networks are made up of several filters, whose outputs represent convolution and pooling operations.When images are analyzed using a sliding window, CNNs are very slow, because the object search time is dependent on the size of the image [22].One of the solutions to this problem is to use regional matching methods, assuming that the searched visual objects have common visual features and stand out from the background of an image.Once a region with a high probability of finding an object is found, it is checked by using a more accurate classification method, thus determining its exact position and class.Using this method, the number of search regions is reduced considerably [22].

10One of the major detectors of this type is region-based CNN (R-CNN) [23].Faster R-CNN is an improved version of R-CNN with a faster training time [24].In faster R-CNN, the image is processed using a series of sequentially connected convolution and maximum pooling layers, thereby producing a single map of the convolved features.This feature map selects the regions of interest (RoI) that are being processed in the pooling layers of the RoI.In this layer, each feature region is transformed into a vector of fixed size attributes, which are processed in fully connected network layers.After processing the region with a fully convoluted layer, the layer is branched into two separate output layers: the classification layer with softmax function is determined by the object class, and the positioning layer defines the positions of the rectangular points limiting the objects.Faster R-CNN has been used with success in medical image processing [25] and object tracking [26], but is still little used for the qualitative analysis of wood panel surfaces.

11Other types of neural network architectures have also been used for surface defect recognition.Tao et al. [27] used a cascaded autoencoder (CASAE) to transform the surface image into a pixel-wise prediction mask.Then the surface regions are categorized into their respective classes using a compact CNN, achieving an accuracy of 89.60% for the metallic surface defect detection task.Yuce et al. [28] used PCA for the determination of the critical features before using ANN to identify wood veneer defects.Ren et al. [29] used a pretrained decaf CNN [30] to generate a surface defect heatmap.Then the heatmap was binarized and segmented by adopting the graph-based Felzenszwalb's method.In [31], the VGG-16 network architecture achieved over 92% accuracy while allowing localization of the timber surface defects.Some recently proposed neural network architectures such as densely connected convolutional network [32], attentional convolutional network [33], and adversarial auto-encoder (with convolutional structure) [34] have proven very successful in various image recognition tasks.For example, the YOLO model [35] demonstrated very good speed for real-time object detection.However, the methods have not yet been tested on wood surface defects.

12For image pre-processing, fuzzy binarization [36][37][38] and fuzzy partitioning [39] have been proposed to extract candidate regions.Also, foreground segmentation could be used to improve the model results.For example, the segmentation map of the image can be fed into the network along with the raw image [40][41][42].

13In this paper, we present an automatic visual inspection system for the location and classification of defects on the surface of wood veneer.Our main contribution is speed optimization of the defect identification task as the defect recognition system has to run on an actual conveyor belt and is programmed on a wood veneer sorting conveyor line; therefore, our task is to find the optimum solution for the existing equipment.Here we have adopted the faster R-CNN method to evaluate the quality of wood veneer.We address the problem as a small data problem [43] and apply data augmentation [44,45] and transfer learning [46] to improve the classification results.We present our methodology as well as the results of the experiments.

Hardware and Software

14A special conveyor belt was produced for data collection.This conveyor is depicted in Figure 1.The conveyor was capable of running up to 1 m/s speed.The length of the conveyor belt was 1 m, with a width of 30 cm.The distance between the camera lens and the subject was 30 cm.The luminaire was mounted at a height of 10 cm and at a 20 • angle to the object.A line scan camera was used to acquire the image.We used a monochromatic Basler raL4096-24gm camera (Basler AG, Ahrensburg, Germany) with an Awaiba DR-4k-7 sensor (Awaiba Holding SA, Yverdon-les-Bains, Switzerland).This camera has a recording speed of 26 kHz and a horizontal resolution of 4096 pixels.The resolutions and speeds of this camera are sufficient to capture a wood veneer moving at a speed of 4 m/s while maintaining a resolution of 0.25 mm 2 /px.Camera shooting is synchronized with the moving conveyor belt using the pulse encoder LIKA CK59-Y-500ZCZ214R (Lika Electronic Srl, Carre', Italy).moving conveyor belt using the pulse encoder LIKA CK59-Y-500ZCZ214R (Lika Electronic Srl, Carre', Italy).

15Python and C# programming language (Microsoft Corporation, WA, USA) were used to implement this project.Microsoft CNTK Pack 2.6 (Microsoft Corporation, WA, USA) was used to implement neural networks.All calculations were done using a computer with Intel I7-7700 3.6 Ghz 4-core processor, 16 GB GDDR5 operating memory, and two GTX 1060 6GB video cards.A solid-state drive (SSD) disk was used to store the data on the computer.Wood veneer images have been classified and labeled using a VoTT (Visual object Tagging Tool) (Microsoft Corporation, WA, USA) program for tagging and sorting images for using with deep training networks.

Materials

16Wood veneer is a thin (0.5-3 mm), usually hardwood sheet, intended for coating various surfaces of furniture, doors, or interior elements.The wood veneer is illustrated in Figure 2. The visual quality of the wood veneer is also very important, and depends on where it will be used.For example, in the manufacture of furniture for surface coating, the visual quality of the veneer is very important, with as few branches, stains, or cracks as possible.In the production of veneer, standard-quality veneer is used in the surface layers, and the veneer with the worst visual quality is placed in the inner layers.Python and C# programming language (Microsoft Corporation, WA, USA) were used to implement this project.Microsoft CNTK Pack 2.6 (Microsoft Corporation, WA, USA) was used to implement neural networks.All calculations were done using a computer with Intel I7-7700 3.6 Ghz 4-core processor, 16 GB GDDR5 operating memory, and two GTX 1060 6GB video cards.A solid-state drive (SSD) disk was used to store the data on the computer.Wood veneer images have been classified and labeled using a VoTT (Visual object Tagging Tool) (Microsoft Corporation, WA, USA) program for tagging and sorting images for using with deep training networks.

17Wood veneer is a thin (0.5-3 mm), usually hardwood sheet, intended for coating various surfaces of furniture, doors, or interior elements.The wood veneer is illustrated in Figure 2. The visual quality of the wood veneer is also very important, and depends on where it will be used.For example, in the manufacture of furniture for surface coating, the visual quality of the veneer is very important, with as few branches, stains, or cracks as possible.In the production of veneer, standard-quality veneer is used in the surface layers, and the veneer with the worst visual quality is placed in the inner layers.When defining the types of defects and their positions, the RoIs in the images are classified into five defect types according to the parameters given in Table 1.

Dataset

18The 250 veneers of size 1525 × 1525 mm were scanned in 300 × 300 mm batches for training and testing.Each veneer was scanned at a resolution of 4000 × 3000 pixels in monochrome single-channel images using the equipment described in Section 2.1.The overall number of usable images was 4729.Out of this number, we obtained 353 veneer images (300 × 300 mm) with defects of wood, which contained 982 branch, 288 core, 398 split, and 253 stain defects.In total, 285 images had at least one defect and six images had no defects.The remainder (defect-free images) were categorized as background.For training, we used 291 images, and for testing, we used 62 images representing the most defective single sheets of veneer.The examples of the resulting veneers are depicted in Figure 3.To improve neural network training, the original dataset was augmented.Each image from the dataset contained from eight to 12 defective regions of interest (ROI); therefore, the actual number of examples used for training and testing is 10 times larger.In total, there were 353 × 10 = 3530 of defective ROIs available.

19Dataset images have been reduced to 800 × 600 pixel resolution to speed up the training of a neural network.This size was selected heuristically to achieve the best quality and speed.Reducing the size of an image reduces the visibility of small objects such as splits or scratches.When defining the types of defects and their positions, the RoIs in the images are classified into five defect types according to the parameters given in Table 1.

20The 250 veneers of size 1525 × 1525 mm were scanned in 300 × 300 mm batches for training and testing.Each veneer was scanned at a resolution of 4000 × 3000 pixels in monochrome single-channel images using the equipment described in Section 2.1.The overall number of usable images was 4729.Out of this number, we obtained 353 veneer images (300 × 300 mm) with defects of wood, which contained 982 branch, 288 core, 398 split, and 253 stain defects.In total, 285 images had at least one defect and six images had no defects.The remainder (defect-free images) were categorized as background.For training, we used 291 images, and for testing, we used 62 images representing the most defective single sheets of veneer.The examples of the resulting veneers are depicted in Figure 3.To improve neural network training, the original dataset was augmented.Each image from the dataset contained from eight to 12 defective regions of interest (ROI); therefore, the actual number of examples used for training and testing is 10 times larger.In total, there were 353 × 10 = 3530 of defective ROIs available.

21Dataset images have been reduced to 800 × 600 pixel resolution to speed up the training of a neural network.This size was selected heuristically to achieve the best quality and speed.Reducing the size of an image reduces the visibility of small objects such as splits or scratches.

22In this work, four major wood veneer defects were identified: branches are places where tree branches are visible; scratches/splits are places where cracks, splits, or scratches are visible; a core is where the core or bark of a tree is visible; and stains are water or pigmentation-induced wood spots.Examples of these defects are shown in Figure 4.In this work, four major wood veneer defects were identified: branches are places where tree branches are visible; scratches/splits are places where cracks, splits, or scratches are visible; a core is where the core or bark of a tree is visible; and stains are water or pigmentation-induced wood spots.Examples of these defects are shown in Figure 4.The defects were selected and labeled using the VoTT program to determine the size, position, and class to which it is assigned.The VoTT program marked image is shown in Figure 5.In this work, four major wood veneer defects were identified: branches are places where tree branches are visible; scratches/splits are places where cracks, splits, or scratches are visible; a core is where the core or bark of a tree is visible; and stains are water or pigmentation-induced wood spots.Examples of these defects are shown in Figure 4.The defects were selected and labeled using the VoTT program to determine the size, position, and class to which it is assigned.The VoTT program marked image is shown in Figure 5.The defects were selected and labeled using the VoTT program to determine the size, position, and class to which it is assigned.The VoTT program marked image is shown in Figure 5.In this work, four major wood veneer defects were identified: branches are places where tree branches are visible; scratches/splits are places where cracks, splits, or scratches are visible; a core is where the core or bark of a tree is visible; and stains are water or pigmentation-induced wood spots.Examples of these defects are shown in Figure 4.The defects were selected and labeled using the VoTT program to determine the size, position, and class to which it is assigned.The VoTT program marked image is shown in Figure 5. Blue is used to label the split (S) defects.Yellow is used to label the stain (T) defects.

Data Augmentation

23Augmentation of a dataset is often used to increase the accuracy and adaptability of neural networks for classification.In this work, three different geometric transformations were applied: flip, rotation transformation, and resize transformation.For each of the 291 training pictures, four random synthetic pictures were created.Examples of the synthesized images are shown in Figure 6.Yellow is used to label the stain (T) defects.

Architecture of Neural Network

24In the faster R-CNN method, the image is processed using a series of sequentially connected convolution and maximum pooling layers, thereby producing a single map of the convolutional features.This feature map selects the regions of interest that are being processed in the maximum pooling layers.In this layer, each feature region is transformed into a vector of fixed size features that are processed in the fully connected network layers.After processing the region with a fully connected layer, the layer is branched into two separate output layers: the classification layer with the softmax function determines the object class, and the positioning layer is for defining the positions of the four rectangular points limiting the objects.The simplified operation of the method is depicted in Figure 7.This method is more accurate than R-CNN.During the training, all network layers are trained and there is not much room for character storage during training [47].Yellow is used to label the stain (T) defects.

25In the faster R-CNN method, the image is processed using a series of sequentially connected convolution and maximum pooling layers, thereby producing a single map of the convolutional features.This feature map selects the regions of interest that are being processed in the maximum pooling layers.In this layer, each feature region is transformed into a vector of fixed size features that are processed in the fully connected network layers.After processing the region with a fully connected layer, the layer is branched into two separate output layers: the classification layer with the softmax function determines the object class, and the positioning layer is for defining the positions of the four rectangular points limiting the objects.The simplified operation of the method is depicted in Figure 7.This method is more accurate than R-CNN.During the training, all network layers are trained and there is not much room for character storage during training [47].Blue is used to label the split (S) defects.Yellow is used to label the stain (T) defects.

Data Augmentation

26Augmentation of a dataset is often used to increase the accuracy and adaptability of neural networks for classification.In this work, three different geometric transformations were applied: flip, rotation transformation, and resize transformation.For each of the 291 training pictures, four random synthetic pictures were created.Examples of the synthesized images are shown in Figure 6.Yellow is used to label the stain (T) defects.

Architecture of Neural Network

27In the faster R-CNN method, the image is processed using a series of sequentially connected convolution and maximum pooling layers, thereby producing a single map of the convolutional features.This feature map selects the regions of interest that are being processed in the maximum pooling layers.In this layer, each feature region is transformed into a vector of fixed size features that are processed in the fully connected network layers.After processing the region with a fully connected layer, the layer is branched into two separate output layers: the classification layer with the softmax function determines the object class, and the positioning layer is for defining the positions of the four rectangular points limiting the objects.The simplified operation of the method is depicted in Figure 7.This method is more accurate than R-CNN.During the training, all network layers are trained and there is not much room for character storage during training [47].In the faster R-CNN method, the search method of options is replaced by the region proposal network (RPN).This method also introduced a new method of regional exclusion using anchor boxes.Window size multipliers are selected during training, and the aspect ratio varies between 1:1, 1:2, and 2:1, thus creating nine regions in each location.For example, the basic sliding window size is 16 × 16 px resolution, so there are three different aspect ratio windows: 8 × 24 px, 16 × 16 px, and 24 × 8 px.These window sizes are multiplied by the three selected multipliers, thus obtaining nine different windows.The output of the RPN network is a feature map that indicates the position, width, and length of each of the regions in question and the probability of being an object or background.Applying the softmax selection function leaves the specified number of regions that are processed in the pool of regions of interest.In this layer, regions of different sizes are converted into vector vectors of fixed size.These vectors are ultimately used in the R-CNN network, which defines the object class and position, and the background images are rejected.In the R-CNN network, the fully connected layers are used, the first layer contains N + 1 neurons, where N is the number of classes with an additional class background, and the second is the layer of 4N neurons, which indicates the position and size of the object.

Transfer Learning Using Pre-Trained Neural Networks

28Transfer learning is a neural network learning method that utilizes a similar problem solved by the network model, but then retrains it with the training data using only a specific part of the trained model [48].There are currently two main methods to implement transfer learning.The first method retrains only the last layer, while the original model remains as a tool-defined feature.In the second method, other layers are also trained.This method is called fine-tuning.These are currently some of the most popular transfer models, such as: AlexNet, VGG, ResNet, and GoogleLeNet models.

29The AlexNet neural network consists of 11 layers, of which there are five convolution layers and three layers of maximum pooling [49].The architecture of this network is depicted in Figure 8.The network input is a 224 × 224 × 3 pixel-sized vector that matches the size of the image, and the network output receives a 1000-value vector that indicates the class to which the object was assigned.

30Appl.Sci.2019, 9, x FOR PEER REVIEW 8 of 20

31In the faster R-CNN method, the search method of options is replaced by the region proposal network (RPN).This method also introduced a new method of regional exclusion using anchor boxes.Window size multipliers are selected during training, and the aspect ratio varies between 1:1, 1:2, and 2:1, thus creating nine regions in each location.For example, the basic sliding window size is 16 × 16 px resolution, so there are three different aspect ratio windows: 8 × 24 px, 16 × 16 px, and 24 × 8 px.These window sizes are multiplied by the three selected multipliers, thus obtaining nine different windows.The output of the RPN network is a feature map that indicates the position, width, and length of each of the regions in question and the probability of being an object or background.Applying the softmax selection function leaves the specified number of regions that are processed in the pool of regions of interest.In this layer, regions of different sizes are converted into vector vectors of fixed size.These vectors are ultimately used in the R-CNN network, which defines the object class and position, and the background images are rejected.In the R-CNN network, the fully connected layers are used, the first layer contains N + 1 neurons, where N is the number of classes with an additional class background, and the second is the layer of 4N neurons, which indicates the position and size of the object.

32Transfer learning is a neural network learning method that utilizes a similar problem solved by the network model, but then retrains it with the training data using only a specific part of the trained model [48].There are currently two main methods to implement transfer learning.The first method retrains only the last layer, while the original model remains as a tool-defined feature.In the second method, other layers are also trained.This method is called fine-tuning.These are currently some of the most popular transfer models, such as: AlexNet, VGG, ResNet, and GoogleLeNet models.

33The AlexNet neural network consists of 11 layers, of which there are five convolution layers and three layers of maximum pooling [49].The architecture of this network is depicted in Figure 8.The network input is a 224 × 224 × 3 pixel-sized vector that matches the size of the image, and the network output receives a 1000-value vector that indicates the class to which the object was assigned.The VGG-16 architecture consists of 21 layers, of which 13 layers are convolution layers, five are maximum pooling layers, and three are fully connected layers [50].A feature of this network is that all layers of the fold are 3 × 3 pixels in size.The VGG16 architecture is illustrated in Figure 9.The input to this architecture, like AlexNet, is a 224 × 224 × 3-sized vector, and the output is a 1000-value vector that indicates the class to which the image belongs.The VGG-16 architecture consists of 21 layers, of which 13 layers are convolution layers, five are maximum pooling layers, and three are fully connected layers [50].A feature of this network is that all layers of the fold are 3 × 3 pixels in size.The VGG16 architecture is illustrated in Figure 9.The input to this architecture, like AlexNet, is a 224 × 224 × 3-sized vector, and the output is a 1000-value vector that indicates the class to which the image belongs.A residual network (ResNet) [51] addresses the vanishing gradient problem.This problem occurs when the network is too deep and the gradient value after the loss function is reduced, and later it becomes too small to influence the layer multipliers, so the network no longer learns.The ResNet architecture solves this problem by creating additional connections between different layers, where gradient information is transmitted directly by skipping the intermediate layers.Figure 10 shows the ResNet simplified layer link.A residual network (ResNet) [51] addresses the vanishing gradient problem.This problem occurs when the network is too deep and the gradient value after the loss function is reduced, and later it becomes too small to influence the layer multipliers, so the network no longer learns.The ResNet architecture solves this problem by creating additional connections between different layers, where gradient information is transmitted directly by skipping the intermediate layers.Figure 10 shows the ResNet simplified layer link.The VGG-16 architecture consists of 21 layers, of which 13 layers are convolution layers, five are maximum pooling layers, and three are fully connected layers [50].A feature of this network is that all layers of the fold are 3 × 3 pixels in size.The VGG16 architecture is illustrated in Figure 9.The input to this architecture, like AlexNet, is a 224 × 224 × 3-sized vector, and the output is a 1000-value vector that indicates the class to which the image belongs.A residual network (ResNet) [51] addresses the vanishing gradient problem.This problem occurs when the network is too deep and the gradient value after the loss function is reduced, and later it becomes too small to influence the layer multipliers, so the network no longer learns.The ResNet architecture solves this problem by creating additional connections between different layers, where gradient information is transmitted directly by skipping the intermediate layers.Figure 10 shows the ResNet simplified layer link.The GoogleNet or inception network architecture has 22 neural layers [52].The main features of this network were 1 × 1 size convolution operations and the inception module.The 1 × 1 convolution operations were first introduced on the NIN (network in network) [53].NIN was used to distinguish attributes instead of linear filters before classification, which increases the accuracy.Also, NINs were Appl.Sci.2019, 9, 4898 10 of 20 used instead of maximum pooling layers, and activation layers were created, the number of which is proportional to the number of classes.Applying the average operation and the soft peak layer results in class prediction.This application of NIN increased the speed and accuracy of the method.The second feature of the GoogleNet network is the inception module.In this module, the convolution filters of different size are applied in parallel to the input layer and are assembled to obtain a new vector of the output attributes.The diagram of the inception module is shown in Figure 11.

34Appl.Sci.2019, 9, x FOR PEER REVIEW 10 of 20

35The GoogleNet or inception network architecture has 22 neural layers [52].The main features of this network were 1 × 1 size convolution operations and the inception module.The 1 × 1 convolution operations were first introduced on the NIN (network in network) [53].NIN was used to distinguish attributes instead of linear filters before classification, which increases the accuracy.Also, NINs were used instead of maximum pooling layers, and activation layers were created, the number of which is proportional to the number of classes.Applying the average operation and the soft peak layer results in class prediction.This application of NIN increased the speed and accuracy of the method.The second feature of the GoogleNet network is the inception module.In this module, the convolution filters of different size are applied in parallel to the input layer and are assembled to obtain a new vector of the output attributes.The diagram of the inception module is shown in Figure 11.In the connection layer, all results are combined into one feature map.The BNInception method uses batch normalization in the input layer, but also in the hidden layers, where each batch of data in the new iteration is adapted to the mean and distribution values learned [54].

36Batch normalization makes it possible to train models with higher training speeds and reduced distribution, and it also reduces learning when the model adapts too much to the training data.

Evaluation

37The accuracy of defect detection is determined by the intersection over union (IoU) metric, which defines the relationship between the ground truth defect and the found defect.This parameter is the Jaccard index.The object is usually validated as found when IoU is equal to or greater than 0.5.In this study, the accuracy was calculated using the ratio of true positive TP to the sum of false positives FP and true positives:

38where TP is found for defects with the value of IoU greater than the set threshold, and FP is for defects with the value of IoU less than the threshold value.

39For each of the four defect classes and the background (i.e., no defect class), the average accuracy is calculated, and the overall performance is evaluate using grand average of accuracy, precision, recall, and f-score metric values.

Results

40Some of the typical defect classification results are given in Figure 12.In the connection layer, all results are combined into one feature map.The BNInception method uses batch normalization in the input layer, but also in the hidden layers, where each batch of data in the new iteration is adapted to the mean and distribution values learned [54].

41Batch normalization makes it possible to train models with higher training speeds and reduced distribution, and it also reduces learning when the model adapts too much to the training data.

Evaluation

42The accuracy of defect detection is determined by the intersection over union (IoU) metric, which defines the relationship between the ground truth defect and the found defect.This parameter is the Jaccard index.The object is usually validated as found when IoU is equal to or greater than 0.5.In this study, the accuracy was calculated using the ratio of true positive TP to the sum of false positives FP and true positives:

43where TP is found for defects with the value of IoU greater than the set threshold, and FP is for defects with the value of IoU less than the threshold value.

44For each of the four defect classes and the background (i.e., no defect class), the average accuracy is calculated, and the overall performance is evaluate using grand average of accuracy, precision, recall, and f-score metric values.

Results

45Some of the typical defect classification results are given in Figure 12.The classification accuracy using the pre-trained AlexNet, VGG16, BNInception, and ResNet152 neural network models trained with different network parameters (batch size and learning speed) is summarized in Figures 13-16.

46The best results while using the AlexNet neural network were achieved using 32 batch size and 0.2 learning speed for stain class, 64 batch size and 0.2 learning speed for core class, 128 batch size and 0.1 learning speed for branch class, 256 batch size and 0.1 learning speed for scratch class, and 256 batch size and 0.1 learning speed for background class.The results with respect to different sliding window multipliers are presented in Table 2.The best accuracy, 76.6%, was achieved using the sliding window sizes of [4,8,12].

Accuracy

47Average accuracy Branch Scratch Stain Core The classification accuracy using the pre-trained AlexNet, VGG16, BNInception, and ResNet152 neural network models trained with different network parameters (batch size and learning speed) is summarized in Figures 13-16.The best results while using the VGG16 neural network were achieved using 32 batch size and 0.01 learning speed for branch class, 32 batch size and 0.1 learning speed for scratch and background classes, 64 batch size and 0.2 learning speed for core class, and 100 batch size and 0.2 learning speed for background class.

48The best results while using the BNInception neural network were achieved using 64 batch size and 0.1 learning speed for core class, 128 batch size and 0.1 learning speed for branch and background classes, 128 batch size and 0.2 learning speed for stain class, and 256 batch size and 0.2 learning speed for scratch class.

49The best results while using the ResNet152 neural network were achieved using 32 batch size and 0.01 learning speed for stain and background class, 32 batch size and 0.1 learning speed for core class, 64 batch size and 0.1 learning speed for scratch class, and 128 batch size and 0.2 learning speed for branch class.Using an augmented dataset, the total accuracy of the method for finding defects in all classes increased from 60.5% to 68.3%.The accuracy of the quality grade increased from 67.7% to 69.3%.The augmentation of the dataset with synthetic data had the greatest impact on the accuracy of the core defect identification, which increased from 45.8% to 68.0%.The lowest impact was on branch type defects, the accuracy of which decreased from 82.8% to 79.7%.

50For transfer learning, each of the four models was pretrained 16 times using different combinations of batch size and learning speed parameters.The confusion matrices for all four transfer learning models are summarized in Figure 17.Using an augmented dataset, the total accuracy of the method for finding defects in all classes increased from 60.5% to 68.3%.The accuracy of the quality grade increased from 67.7% to 69.3%.The augmentation of the dataset with synthetic data had the greatest impact on the accuracy of the core defect identification, which increased from 45.8% to 68.0%.The lowest impact was on branch type defects, the accuracy of which decreased from 82.8% to 79.7%.

51For transfer learning, each of the four models was pretrained 16 times using different combinations of batch size and learning speed parameters.The confusion matrices for all four transfer learning models are summarized in Figure 17.For AlexNet, most misclassifications occur between the branch and stain classes (14.5%).For VGG16, most misclassifications occur between the stain and scratch classes (14.5%).For BNInception, most misclassifications occur between the stain and core classes (12.9%).For ResNet152, most misclassifications occur between the stain and branch classes (12.9%).

52By training an additional classifier using transfer learning, the highest accuracy was achieved by the ResNet152 model-based neural network, which reached 80.6% accuracy for classification, but was the slowest, as one image was processed in 48.01 ms.The fastest was the AlexNet model-trained method, which reached 80.0% accuracy for classification and processed one image in 6.76 ms, which is 7.1 times faster than the ResNet152 method.

53By combining all the defect classes into one type and training the faster R-CNN method, 96.10% accuracy in finding the surface defects was achieved.The best results while using the AlexNet neural network were achieved using 32 batch size and 0.2 learning speed for stain class, 64 batch size and 0.2 learning speed for core class, 128 batch size and 0.1 learning speed for branch class, 256 batch size and 0.1 learning speed for scratch class, and 256 batch size and 0.1 learning speed for background class.The results with respect to different sliding window multipliers are presented in Table 2.The best accuracy, 76.6%, was achieved using the sliding window sizes of [4,8,12].The best results while using the VGG16 neural network were achieved using 32 batch size and 0.01 learning speed for branch class, 32 batch size and 0.1 learning speed for scratch and background classes, 64 batch size and 0.2 learning speed for core class, and 100 batch size and 0.2 learning speed for background class.

54The best results while using the BNInception neural network were achieved using 64 batch size and 0.1 learning speed for core class, 128 batch size and 0.1 learning speed for branch and background classes, 128 batch size and 0.2 learning speed for stain class, and 256 batch size and 0.2 learning speed for scratch class.

55The best results while using the ResNet152 neural network were achieved using 32 batch size and 0.01 learning speed for stain and background class, 32 batch size and 0.1 learning speed for core class, 64 batch size and 0.1 learning speed for scratch class, and 128 batch size and 0.2 learning speed for branch class.

56Using an augmented dataset, the total accuracy of the method for finding defects in all classes increased from 60.5% to 68.3%.The accuracy of the quality grade increased from 67.7% to 69.3%.The augmentation of the dataset with synthetic data had the greatest impact on the accuracy of the core defect identification, which increased from 45.8% to 68.0%.The lowest impact was on branch type defects, the accuracy of which decreased from 82.8% to 79.7%.

57For transfer learning, each of the four models was pretrained 16 times using different combinations of batch size and learning speed parameters.The confusion matrices for all four transfer learning models are summarized in Figure 17.For AlexNet, most misclassifications occur between the branch and stain classes (14.5%).For VGG16, most misclassifications occur between the stain and scratch classes (14.5%).For BNInception, most misclassifications occur between the stain and core classes (12.9%).For ResNet152, most misclassifications occur between the stain and branch classes (12.9%).

58By training an additional classifier using transfer learning, the highest accuracy was achieved by the ResNet152 model-based neural network, which reached 80.6% accuracy for classification, but was the slowest, as one image was processed in 48.01 ms.The fastest was the AlexNet model-trained method, which reached 80.0% accuracy for classification and processed one image in 6.76 ms, which is 7.1 times faster than the ResNet152 method.

59By combining all the defect classes into one type and training the faster R-CNN method, 96.10% accuracy in finding the surface defects was achieved.A comparison of neural network training speed and classification accuracy for the best neural network models is given in Table 3.The average accuracy value and its 95% confidence intervals were calculated by applying a standard 10-fold cross-validation procedure.The highest overall accuracy of 80.6% was achieved using the ResNet152 pre-trained model.The AlexNet model achieved an average accuracy of 80.2%.The class of branches was best classified using the BNInception pretrained model, which achieved 91.9% accuracy in branch classification.The scratches class was also best identified using the BNInception pretrained model, reaching an accuracy of 86.5%.The best classification accuracy was achieved with the background class that the ResNet152-modeltrained model classified with an accuracy of 94.6%.The core defect class was best classified by the ResNet152 model, which reached 89.6% accuracy.

60Finally, in Table 4 we summarize the performance of neural networks using precision, recall, For AlexNet, most misclassifications occur between the branch and stain classes (14.5%).For VGG16, most misclassifications occur between the stain and scratch classes (14.5%).For BNInception, most misclassifications occur between the stain and core classes (12.9%).For ResNet152, most misclassifications occur between the stain and branch classes (12.9%).

61By training an additional classifier using transfer learning, the highest accuracy was achieved by the ResNet152 model-based neural network, which reached 80.6% accuracy for classification, but was the slowest, as one image was processed in 48.01 ms.The fastest was the AlexNet model-trained method, which reached 80.0% accuracy for classification and processed one image in 6.76 ms, which is 7.1 times faster than the ResNet152 method.

62By combining all the defect classes into one type and training the faster R-CNN method, 96.10% accuracy in finding the surface defects was achieved.

63A comparison of neural network training speed and classification accuracy for the best neural network models is given in Table 3.The average accuracy value and its 95% confidence intervals were calculated by applying a standard 10-fold cross-validation procedure.The highest overall accuracy of 80.6% was achieved using the ResNet152 pre-trained model.The AlexNet model achieved an average accuracy of 80.2%.The class of branches was best classified using the BNInception pretrained model, which achieved 91.9% accuracy in branch classification.The scratches class was also best identified using the BNInception pretrained model, reaching an accuracy of 86.5%.The best classification accuracy was achieved with the background class that the ResNet152-model-trained model classified with an accuracy of 94.6%.The core defect class was best classified by the ResNet152 model, which reached 89.6% accuracy.Finally, in Table 4 we summarize the performance of neural networks using precision, recall, and f-score metrics.Although all the analyzed models perform similarly, the best results are obtained by the ResNet152 neural network model.

Evaluation and Discussion

64In this paper, we have described the development of an automatic visual inspection system for the location and classification of defects on wood veneer surfaces.Each layer of the veneer has to be individually inspected before gluing them all together into plywood.The defective regions of each layer have to be replaced with non-defective pieces of wood.Therefore, the visual inspection system has to output the location of the defective region and the type of defect.In comparison with the results of other authors working on the topic of wood surface defect recognition (see Table 5), our approach works well, achieving an average accuracy of 80.6% with a high performance in terms of defect recognition.The best performance, achieved by the AlexNet architecture (6.76 ms), allows the developed automatic visual inspection system to be used on a wood veneer sorting conveyor line in a real-world industrial wood veneer processing facility.The results can be explained by the combination of the fully connected and convolutional layers, which ensures high recognition performance.

Conclusions

65In this paper, we have adopted the faster R-CNN neural model for the automated analysis of wood veneer surface quality.We used data augmentation and transfer learning (using pretrained AlexNet, VGG16, BNInception, and ResNet152 models).

66The results demonstrated the applicability of data augmentation and transfer learning techniques for the identification of four classes of wood veneer surface defects.The best average accuracy was obtained using the pretrained ResNet152 neural network model (80.6%), while by combining all the defect classes into one type, 96.1% accuracy in finding surface defects was achieved.Our results show that our surface detection method algorithm can be used for industrial wood processing applications.Furthermore, the method can also be adopted for detecting surface defects in other industrially processed materials.More complex data augmentation and transfer learning schemes could be explored to further improve the results.

67The limitation of the method is the need to have manually labeled images for the training of neural networks, which may not be error-free.

68Future works will include the application of deep learning methods for analyzing the surface defects of other types of wood panels, such as laminate and decorated wood.

Figure 1 .

69Figure 1.Conveyor belt developed for wood surface quality evaluation.

70Figure 1.Conveyor belt developed for wood surface quality evaluation.

Figure 2 .

71Figure 2. Example of wood veneer under study.

72Figure 2. Example of wood veneer under study.

Figure 3 .

73Figure 3.Samples of veneers: (a) nondefective; (b) with visible core; (c) with visible branches.

Figure 4 .

74Figure 4. Examples of wood veneer defects: (a) split; (b) core; (c) branch; (d) stain.

Figure 3 .Figure 3 .

75Figure 3.Samples of veneers: (a) nondefective; (b) with visible core; (c) with visible branches.

Figure 4 .

76Figure 4. Examples of wood veneer defects: (a) split; (b) core; (c) branch; (d) stain.

77Figure 4. Examples of wood veneer defects: (a) split; (b) core; (c) branch; (d) stain.

Figure 3 .

78Figure 3.Samples of veneers: (a) nondefective; (b) with visible core; (c) with visible branches.

Figure 4 .

79Figure 4. Examples of wood veneer defects: (a) split; (b) core; (c) branch; (d) stain.

Figure 5 . 20 Figure 5 .

80Figure 5.An image of wood veneer labeled using VoTT.Green is used to label the branch (B) defects.Blue is used to label the split (S) defects.Yellow is used to label the stain (T) defects.

Figure 6 .

81Figure 6.Example of data augmentation for increasing the number of images for training: (a) original images; (b-d) images obtained by rotation transformation.Blue is used to label the split (S) defects.Yellow is used to label the stain (T) defects.

Figure 7 .

82Figure 7. Operation of faster R-CNN: (a) original image; (b) convolution features; (c) classification of regions of interest.

Figure 6 .

83Figure 6.Example of data augmentation for increasing the number of images for training: (a) original images; (b-d) images obtained by rotation transformation.Blue is used to label the split (S) defects.Yellow is used to label the stain (T) defects.

Figure 5 .

84Figure 5.An image of wood veneer labeled using VoTT.Green is used to label the branch (B) defects.Blue is used to label the split (S) defects.Yellow is used to label the stain (T) defects.

Figure 6 .

85Figure 6.Example of data augmentation for increasing the number of images for training: (a) original images; (b-d) images obtained by rotation transformation.Blue is used to label the split (S) defects.Yellow is used to label the stain (T) defects.

Figure 7 .

86Figure 7. Operation of faster R-CNN: (a) original image; (b) convolution features; (c) classification of regions of interest.

87Figure 7. Operation of faster R-CNN: (a) original image; (b) convolution features; (c) classification of regions of interest.

Figure 8 .

88Figure 8. Architecture of the AlexNet neural network.CL is the convolution layer, MPL is the maximum pooling layer, and FCL is the fully connected layer.

89Figure 8. Architecture of the AlexNet neural network.CL is the convolution layer, MPL is the maximum pooling layer, and FCL is the fully connected layer.

90Appl.Sci.2019, 9, x FOR PEER REVIEW 9 of 20

Figure 9 .

91Figure 9. Architecture of the VGG16 neural network.CL is the convolution layer, and MPL is the maximum pooling layer.

Figure 10 .

92Figure 10.ResNet unit.CL is the convolution layer; reLu is a rectified linear unit.

Figure 9 .

93Figure 9. Architecture of the VGG16 neural network.CL is the convolution layer, and MPL is the maximum pooling layer.

94Appl.Sci.2019, 9, x FOR PEER REVIEW 9 of 20

95Figure 9. Architecture of the VGG16 neural network.CL is the convolution layer, and MPL is the maximum pooling layer.

Figure 10 .

96Figure 10.ResNet unit.CL is the convolution layer; reLu is a rectified linear unit.Figure 10.ResNet unit.CL is the convolution layer; reLu is a rectified linear unit.

97Figure 10.ResNet unit.CL is the convolution layer; reLu is a rectified linear unit.Figure 10.ResNet unit.CL is the convolution layer; reLu is a rectified linear unit.

Figure 11 .

98Figure 11.Inception module in GoogleNet.CL is the convolution layer and MPL is the maximum pooling layer.Dimensionality reduction layers are depicted in yellow, the maximum pooling layer is depicted in red, and the layers in the convolution operations are shown in blue.

99Figure 11.Inception module in GoogleNet.CL is the convolution layer and MPL is the maximum pooling layer.Dimensionality reduction layers are depicted in yellow, the maximum pooling layer is depicted in red, and the layers in the convolution operations are shown in blue.

Figure 12 .

100Figure 12.Examples of wood veneer defect classification using faster R-CNN.Branches (B) are labeled in green.Scratches (S) are labeled in blue.Cores (C) are labeled in violet.Stains (T) are labeled in yellow.

101Figure 12.Examples of wood veneer defect classification using faster R-CNN.Branches (B) are labeled in green.Scratches (S) are labeled in blue.Cores (C) are labeled in violet.Stains (T) are labeled in yellow.

102Appl.Sci.2019, 9, x FOR PEER REVIEW 12 of 20

Figure 13 .

103Figure 13.Classification accuracy using AlexNet neural network trained with different network parameters (batch size and learning speed).The best combinations of parameter values are indicated in red.

104Figure 13.Classification accuracy using AlexNet neural network trained with different network parameters (batch size and learning speed).The best combinations of parameter values are indicated in red.

Figure 14 .

105Figure 14.Classification accuracy using VGG16 neural network trained with different network parameters (batch size and learning speed).The best combinations of parameter values are indicated in red.

106Figure 14.Classification accuracy using VGG16 neural network trained with different network parameters (batch size and learning speed).The best combinations of parameter values are indicated in red.

107Figure 14.Classification accuracy using VGG16 neural network trained with different network parameters (batch size and learning speed).The best combinations of parameter values are indicated in red.

Figure 15 .

108Figure 15.Classification accuracy using the BNInception neural network trained with different network parameters (batch size and learning speed).The best combinations of parameter values are indicated in red.

109Figure 15.Classification accuracy using the BNInception neural network trained with different network parameters (batch size and learning speed).The best combinations of parameter values are indicated in red.

Figure 16 .

110Figure 16.Classification accuracy using ResNet152 neural network trained with different network parameters (batch size and learning speed).The best combinations of parameter values are indicated in red.

111Figure 16.Classification accuracy using ResNet152 neural network trained with different network parameters (batch size and learning speed).The best combinations of parameter values are indicated in red.

112Figure 16.Classification accuracy using ResNet152 neural network trained with different network parameters (batch size and learning speed).The best combinations of parameter values are indicated in red.

Figure 17 .

113Figure 17.Confusion matrices of classification results while using (a) AlexNet; (b) VGG16; (c) BNInception; (d) ResNet152.

114Figure 17.Confusion matrices of classification results while using (a) AlexNet; (b) VGG16; (c) BNInception; (d) ResNet152.

Table 1 .

115Explanation of defect types.

Table 2 .

116Classification results with different sliding window size with AlexNet neural network.The best results are shown in bold.

117Classification results with different sliding window size with AlexNet neural network.The best results are shown in bold.

Table 3 .

118Accuracy classification when using AlexNet, VGG16, BNInception, and ResNet152 neural network models for transfer learning.The best results are shown in bold.

Table 4 .

119Mean precision, recall, and f-score values of AlexNet, VGG16, BNInception, and ResNet152 neural network models used for transfer learning.The best results are shown in bold.

참고문헌 55건

  1. WOOD SURFACE INSPECTION SYSTEM BASED ON GENERIC VISUAL FEATURES WORLD SCIENTIFIC eBooks · World Scientific · 1998 10.1142/9789812816955_0005
  2. Industrial Applications of Neural Networks WORLD SCIENTIFIC eBooks · World Scientific · 1998 10.1142/3510
  3. Neural network design and feature selection using principal component analysis and Taguchi method for identifying wood veneer defects Production & Manufacturing Research · Taylor & Francis · 2014 10.1080/21693277.2014.892442
  4. Fast R-CNN 2015 10.1109/iccv.2015.169
  5. Wood Defects Classification Using a SOM/FFP Approach with Minimum Dimension Feature Vector Lecture notes in computer science · Springer Science+Business Media · 2006 10.1007/11760191_161
  6. Defect detection in textured materials using Gabor filters IEEE Transactions on Industry Applications · Institute of Electrical and Electronics Engineers · 2002 10.1109/28.993164
  7. What Makes for Effective Detection Proposals? IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2015 10.1109/tpami.2015.2465908
  8. Classification of wood surface defects with hybrid usage of statistical and textural features 2012 10.1109/tsp.2012.6256397
  9. Applying Hopfield neural network to defect edge detection of wood image 2010 Sixth International Conference on Natural Computation · 2010 10.1109/icnc.2010.5582850
  10. Online Fabric Defect Inspection Using Smart Visual Sensors Sensors · Multidisciplinary Digital Publishing Institute · 2013 10.3390/s130404659
  11. Slub Extraction in Woven Fabric Images Using Gabor Filters Textile Research Journal · SAGE Publishing · 2008 10.1177/0040517507090495
  12. Research on recognition of wood texture based on integrated neural network classifier International Conference on Intelligent Control and Information Processing · 2010 10.1109/icicip.2010.5564210
  13. Wood defect classification based on image analysis and support vector machines Wood Science and Technology · Springer Science+Business Media · 2009 10.1007/s00226-009-0287-9
  14. Fuzzy partition of two-dimensional histogram and its application to thresholding Pattern Recognition · Elsevier BV · 1999 10.1016/s0031-3203(98)00080-6
  15. Going deeper with convolutions 2015 10.1109/cvpr.2015.7298594
  16. Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation 2014 10.1109/cvpr.2014.81
  17. Study on Wood Board Defect Detection Based on Artificial Neural Network The Open Automation and Control Systems Journal · Bentham Science Publishers · 2015 10.2174/1874444301507010290
  18. Automatic Classification of Wood Defects Using Support Vector Machines Lecture notes in computer science · Springer Science+Business Media · 2009 10.1007/978-3-642-02345-3_35
  19. Scalable Arrow Detection in Biomedical Images 2014 10.1109/icpr.2014.561
  20. Automated Recognition of Wood Damages Using Artificial Neural Network International Conference on Measuring Technology and Mechatronics Automation · 2009 10.1109/icmtma.2009.40
  21. A Survey on Transfer Learning IEEE Transactions on Knowledge and Data Engineering · IEEE Computer Society · 2009 10.1109/tkde.2009.191
  22. Deep Residual Learning for Image Recognition 2016 10.1109/cvpr.2016.90
  23. Screen content image segmentation using sparse decomposition and total variation minimization 2022 IEEE International Conference on Image Processing (ICIP) · 2016 10.1109/icip.2016.7533087
  24. A Simple and Efficient Arrowhead Detection Technique in Biomedical Images International Journal of Pattern Recognition and Artificial Intelligence · World Scientific · 2016 10.1142/s0218001416570020
  25. AUTOMATED VISION INSPECTION OF TIMBER SURFACE DEFECT: A REVIEW Jurnal Teknologi · Muhammadiyah University of Jakarta · 2015 10.11113/jt.v77.6562
  26. Multiple features extraction for timber defects detection and classification using SVM 2022 IEEE International Conference on Image Processing (ICIP) · 2015 10.1109/icip.2015.7350834
  27. Overlaid Arrow Detection for Labeling Regions of Interest in Biomedical Images IEEE Intelligent Systems · Institute of Electrical and Electronics Engineers · 2016 10.1109/mis.2016.24
  28. Wood defects classification using GLCM based features and PSO trained neural network 2016 10.1109/iconac.2016.7604931
  29. An artificial neural network for real-time hardwood lumber grading Computers and Electronics in Agriculture · Elsevier BV · 2016 10.1016/j.compag.2016.11.018
  30. Feature Pyramid Networks for Object Detection 2017 10.1109/cvpr.2017.106
  31. Classification of Knot Defect Types Using Wavelets and KNN Elektronika ir Elektrotechnika · Kaunas University of Technology · 2016 10.5755/j01.eie.22.6.17227
  32. A Generic Deep-Learning-Based Approach for Automated Surface Inspection IEEE Transactions on Cybernetics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tcyb.2017.2668395
  33. ImageNet classification with deep convolutional neural networks Communications of the ACM · Association for Computing Machinery · 2017 10.1145/3065386
  34. Deep learning implementation using convolutional neural network in mangosteen surface defect detection 2017 10.1109/iccsce.2017.8284412
  35. Deep convolution neural network for accurate diagnosis of glaucoma using digital fundus images Information Sciences · Elsevier BV · 2018 10.1016/j.ins.2018.01.051
  36. Detection of Mechanical Damages in Sawn Timber Using Convolutional Neural Networks Lecture notes in computer science · Springer Science+Business Media · 2019 10.1007/978-3-030-12939-2_9
  37. A Fine-Tuned Convolution Neural Network Based Approach For Phenotype Classification Of Zebrafish Embryo Procedia Computer Science · Elsevier BV · 2018 10.1016/j.procs.2018.08.051
  38. Automatic Metallic Surface Defect Detection and Recognition with Convolutional Neural Networks Applied Sciences · Multidisciplinary Digital Publishing Institute · 2018 10.3390/app8091575
  39. Transfer Incremental Learning Using Data Augmentation Applied Sciences · Multidisciplinary Digital Publishing Institute · 2018 10.3390/app8122512
  40. Defect classification in shearography images using convolutional neural networks 2022 International Joint Conference on Neural Networks (IJCNN) · 2018 10.1109/ijcnn.2018.8489133
  41. A New Dataset and Performance Evaluation of a Region-Based CNN for Urban Object Detection Electronics · Multidisciplinary Digital Publishing Institute · 2018 10.3390/electronics7110301
  42. Extraction and Detection of Surface Defects in Particleboards by Tracking Moving Targets Algorithms · Multidisciplinary Digital Publishing Institute · 2018 10.3390/a12010006
  43. Texture Recognition Using a Novel Input Layer for Deep Convolutional Neural Network 2018 10.1109/icomis.2018.8645055
  44. Deep learning for use in lumber classification tasks Wood Science and Technology · Springer Science+Business Media · 2019 10.1007/s00226-019-01086-z
  45. Hardwood Species Classification with Hyperspectral Microscopic Images Journal of Spectroscopy · Hindawi Publishing Corporation · 2019 10.1155/2019/2039453
  46. Densely Connected Convolutional Networks 2017 10.1109/cvpr.2017.243
  47. Improving Deep Learning with Generic Data Augmentation 2018 10.1109/ssci.2018.8628742
  48. SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentation IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2017 10.1109/tpami.2016.2644615
  49. MTBI Identification From Diffusion MR Images Using Bag of Adversarial Visual Features IEEE Transactions on Medical Imaging · Institute of Electrical and Electronics Engineers · 2019 10.1109/tmi.2019.2905917
  50. Surface Defect Detection for Automated Inspection Systems using Convolutional Neural Networks 2022 30th Mediterranean Conference on Control and Automation (MED) · 2019 10.1109/med.2019.8798497
  51. Automated Lung Nodule Detection and Classification Using Deep Learning Combined with Multiple Strategies Sensors · Multidisciplinary Digital Publishing Institute · 2019 10.3390/s19173722
  52. Fabric defect inspection based on lattice segmentation and template statistics Information Sciences · Elsevier BV · 2019 10.1016/j.ins.2019.10.032
  53. Structure-aware-based crack defect detection for multicrystalline solar cells Measurement · Elsevier BV · 2019 10.1016/j.measurement.2019.107170
  54. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2016 10.1109/tpami.2016.2577031
  55. Study on the identification of the wood surface defects based on texture features Optik · Elsevier BV · 2015 10.1016/j.ijleo.2015.05.101