Kurdthongmee Wattanapong
School of Engineering and Technology, Walailak University 222 Thaibury, Thasala, Nakornsithammarat, 80160, Thailand.
Heliyon. 2020 Feb 28;6(2):e03480. doi: 10.1016/j.heliyon.2020.e03480. eCollection 2020 Feb.
The location of pith in a cross-sectional surface of wood can be used to either evaluate its quality or guide the removal of soft wood from the wood stem. There have been many attempts to automate pith detection in images taken by a normal camera. The objective of this study is to comparatively study the effectiveness of two popular deep neural network (DNN) object detection algorithms for parawood pith detection in cross-sectional wood images. In the experiment, a database of 345 cross-sectional images of parawood, taken by a normal camera within a sawmill environment, was quadrupled in size via image augmentation. The images were then manually annotated to label the pith regions. The dataset was used to train two DNN object detection algorithms, an SSD (single shot detector) MobileNet and you-only-look-once (YOLO), via transfer learning. The inference results, utilizing pretrained models obtained by minimizing a loss function in both algorithms, were obtained on a separate dataset of 215 images and compared. The detection rate and average location error with respect to the ground truth were used to evaluate the effectiveness of detection. Additionally, the average distance error results were compared with the results of a state-of-the-art non-DNN algorithm. SSD MobileNet obtained the best detection rate of 87.7% with a ratio of training to test data of 80:20 and 152,000 training iterations. The average distance error of SSD MobileNet is comparable to that of YOLO and six times better than that of the non-DNN algorithm. Hence, SSD MobileNet is an effective approach to automating parawood pith detection in cross-sectional images.
木材横截面上髓心的位置可用于评估木材质量或指导从木材茎干中去除软木。人们已经多次尝试在普通相机拍摄的图像中实现髓心检测自动化。本研究的目的是比较两种流行的深度神经网络(DNN)目标检测算法在木材横截面图像中检测白木髓心的有效性。在实验中,通过图像增强将在锯木厂环境中用普通相机拍摄的345张白木横截面图像数据库的大小扩大了四倍。然后对这些图像进行人工标注以标记髓心区域。该数据集用于通过迁移学习训练两种DNN目标检测算法,即SSD(单阶段检测器)MobileNet和你只看一次(YOLO)。利用通过最小化两种算法中的损失函数获得的预训练模型,在一个包含215张图像的单独数据集上获得推理结果并进行比较。使用相对于地面真值的检测率和平均位置误差来评估检测的有效性。此外,将平均距离误差结果与一种先进的非DNN算法的结果进行比较。SSD MobileNet在训练与测试数据比例为80:20且进行152,000次训练迭代的情况下,获得了87.7% 的最佳检测率。SSD MobileNet的平均距离误差与YOLO相当,比非DNN算法的平均距离误差好六倍。因此,SSD MobileNet是一种在横截面图像中实现白木髓心检测自动化的有效方法。