A Deep Learning Method for Log Diameter Measurement Using Wood Images Based on Yolov3 and DeepLabv3+
Open Access
Abstract
Wood volume is an important indicator in timber trading, and log diameter is one of the primary parameters used to calculate wood volume. Currently, the most common methods for measuring log diameters are manual measurement or visual estimation by log scalers, which are laborious, time consuming, costly, and error prone owing to the irregular placement of logs and large numbers of roots. Additionally, this approach can easily lead to misrepresentation of data for profit. This study proposes a model for automatic log diameter measurement that is based on deep learning and uses images to address the existing problems. The specific measures to improve the performance and accuracy of log-diameter detection are as follows: (1) A dual network model is constructed combining the Yolov3 algorithm and DeepLabv3+ architecture to adapt to different log-end color states that considers the complexity of log-end faces. (2) AprilTag vision library is added to estimate the camera position during image acquisition to achieve real-time adjustment of the shooting angle and reduce the effect of log-image deformation on the results. (3) The backbone network is replaced with a MobileNetv2 convolutional neural network to migrate the model to mobile devices, which reduces the number of network parameters while maintaining detection accuracy. The training results show that the mean average precision of log-diameter detection reaches 97.28% and the mean intersection over union (mIoU) of log segmentation reaches 92.22%. Comparisons with other measurement models demonstrate that the proposed model is accurate and stable in measuring log diameter under different environments and lighting conditions, with an average accuracy of 96.26%. In the forestry test, the measurement errors for the volume of an entire truckload of logs and a single log diameter are 1.20% and 0.73%, respectively, which are less than the corresponding error requirements specified in the industry standards. These results indicate that the proposed method can provide a viable and cost-effective solution for measuring log diameters and offering the potential to improve the efficiency of log measurement and promote fair trade practices in the lumber industry.Keywords
This publication has 24 references indexed in Scilit:
- A novel approach for apple leaf disease image segmentation in complex scenes based on two-stage DeepLabv3+ with adaptive lossComputers and Electronics in Agriculture, 2022
- 3D point cloud fusion from UAV and TLS to assess temperate managed forest structuresInternational Journal of Applied Earth Observation and Geoinformation, 2022
- A detection approach for bundled log ends using K-median clustering and improved YOLOv4-Tiny networkComputers and Electronics in Agriculture, 2022
- Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation2018
- MobileNetV2: Inverted Residuals and Linear Bottlenecks2018
- SSD: Single Shot MultiBox Detector2016
- You Only Look Once: Unified, Real-Time Object Detection2016
- AprilTag: A robust and flexible visual fiducial system2011
- Generalizing the Hough transform to detect arbitrary shapesPattern Recognition, 1981
- Analysis of a complex of statistical variables into principal components.Journal of Educational Psychology, 1933