A Sawn Timber Tree Species Recognition Method Based on AM-SPPResNet
Sawn timber is an important component material in furniture manufacturing, decoration, construction and other industries. The mechanical properties, surface colors, textures, use and other properties of sawn timber possesed by different tree species are different. In order to meet the needs of reaso...
Main Authors: | , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2021-05-01
|
Series: | Sensors |
Subjects: | |
Online Access: | https://www.mdpi.com/1424-8220/21/11/3699 |
id |
doaj-928f7d96814f4bc7b2837f1ab4d3c089 |
---|---|
record_format |
Article |
spelling |
doaj-928f7d96814f4bc7b2837f1ab4d3c0892021-06-01T01:11:49ZengMDPI AGSensors1424-82202021-05-01213699369910.3390/s21113699A Sawn Timber Tree Species Recognition Method Based on AM-SPPResNetFenglong Ding0Ying Liu1Zilong Zhuang2Zhengguang Wang3College of Mechanical and Electrical Engineering, Nanjing Forestry University, Nanjing 210037, ChinaCollege of Mechanical and Electrical Engineering, Nanjing Forestry University, Nanjing 210037, ChinaCollege of Mechanical and Electrical Engineering, Nanjing Forestry University, Nanjing 210037, ChinaCollege of Mechanical and Electrical Engineering, Nanjing Forestry University, Nanjing 210037, ChinaSawn timber is an important component material in furniture manufacturing, decoration, construction and other industries. The mechanical properties, surface colors, textures, use and other properties of sawn timber possesed by different tree species are different. In order to meet the needs of reasonable timber use and product quality of sawn timber products, sawn timber must be identified according to tree species to ensure the best use of materials. In this study, an optimized convolution neural network was proposed to process sawn timber image data to identify the tree species of the sawn timber. The spatial pyramid pooling and attention mechanism were used to improve the convolution layer of ResNet101 to extract the feature vector of sawn timber images. The optimized ResNet (simply called “AM-SPPResNet”) was used to identify the sawn timber image, and the basic recognition model was obtained. Then, the weight parameters of the feature extraction layer of the basic model were frozen, the full connection layer was removed, and using support vector machine (SVM) and XGBoost classifier which were commonly used in machine learning to train and learn the 21 × 1024 dimension feature vectors extracted by feature extraction layer. Through a number of comparative experiments, it is found that the prediction model using linear function as the kernel function of support vector machine learning the feature vectors extracted from the improved convolution layer performed best, and the F1 score and overall accuracy of all kinds of samples were above 99%. Compared with the traditional methods, the accuracy was improved by up to 12%.https://www.mdpi.com/1424-8220/21/11/3699recognition of sawn timberdeep learningattention mechanismspatial pyramid pooling |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Fenglong Ding Ying Liu Zilong Zhuang Zhengguang Wang |
spellingShingle |
Fenglong Ding Ying Liu Zilong Zhuang Zhengguang Wang A Sawn Timber Tree Species Recognition Method Based on AM-SPPResNet Sensors recognition of sawn timber deep learning attention mechanism spatial pyramid pooling |
author_facet |
Fenglong Ding Ying Liu Zilong Zhuang Zhengguang Wang |
author_sort |
Fenglong Ding |
title |
A Sawn Timber Tree Species Recognition Method Based on AM-SPPResNet |
title_short |
A Sawn Timber Tree Species Recognition Method Based on AM-SPPResNet |
title_full |
A Sawn Timber Tree Species Recognition Method Based on AM-SPPResNet |
title_fullStr |
A Sawn Timber Tree Species Recognition Method Based on AM-SPPResNet |
title_full_unstemmed |
A Sawn Timber Tree Species Recognition Method Based on AM-SPPResNet |
title_sort |
sawn timber tree species recognition method based on am-sppresnet |
publisher |
MDPI AG |
series |
Sensors |
issn |
1424-8220 |
publishDate |
2021-05-01 |
description |
Sawn timber is an important component material in furniture manufacturing, decoration, construction and other industries. The mechanical properties, surface colors, textures, use and other properties of sawn timber possesed by different tree species are different. In order to meet the needs of reasonable timber use and product quality of sawn timber products, sawn timber must be identified according to tree species to ensure the best use of materials. In this study, an optimized convolution neural network was proposed to process sawn timber image data to identify the tree species of the sawn timber. The spatial pyramid pooling and attention mechanism were used to improve the convolution layer of ResNet101 to extract the feature vector of sawn timber images. The optimized ResNet (simply called “AM-SPPResNet”) was used to identify the sawn timber image, and the basic recognition model was obtained. Then, the weight parameters of the feature extraction layer of the basic model were frozen, the full connection layer was removed, and using support vector machine (SVM) and XGBoost classifier which were commonly used in machine learning to train and learn the 21 × 1024 dimension feature vectors extracted by feature extraction layer. Through a number of comparative experiments, it is found that the prediction model using linear function as the kernel function of support vector machine learning the feature vectors extracted from the improved convolution layer performed best, and the F1 score and overall accuracy of all kinds of samples were above 99%. Compared with the traditional methods, the accuracy was improved by up to 12%. |
topic |
recognition of sawn timber deep learning attention mechanism spatial pyramid pooling |
url |
https://www.mdpi.com/1424-8220/21/11/3699 |
work_keys_str_mv |
AT fenglongding asawntimbertreespeciesrecognitionmethodbasedonamsppresnet AT yingliu asawntimbertreespeciesrecognitionmethodbasedonamsppresnet AT zilongzhuang asawntimbertreespeciesrecognitionmethodbasedonamsppresnet AT zhengguangwang asawntimbertreespeciesrecognitionmethodbasedonamsppresnet AT fenglongding sawntimbertreespeciesrecognitionmethodbasedonamsppresnet AT yingliu sawntimbertreespeciesrecognitionmethodbasedonamsppresnet AT zilongzhuang sawntimbertreespeciesrecognitionmethodbasedonamsppresnet AT zhengguangwang sawntimbertreespeciesrecognitionmethodbasedonamsppresnet |
_version_ |
1721412887580246016 |