Automatic Detection and Counting of Stacked Eucalypt Timber Using the YOLOv8 Model
Author:
Casas Gianmarco Goycochea1ORCID, Ismail Zool Hilmi2ORCID, Limeira Mathaus Messias Coimbra1, da Silva Antonilmar Araújo Lopes3, Leite Helio Garcia1
Affiliation:
1. Department of Forest Engineering, Federal University of Viçosa, Viçosa 36570-900, MG, Brazil 2. Center for Artificial Intelligence and Robotics, Universiti Teknologi Malaysia, Jalan Sultan Yahya Petra, Kuala Lumpur 54100, Malaysia 3. Rua Visconde de Mauá, n 755, Cidade Nobre, Ipatinga 35162-391, MG, Brazil
Abstract
The objective of this project was to automate the detection and counting process of stacked eucalypt (hybrid Eucalyptus urophylla x Eucalyptus grandis) timber in the forestry industry using the YOLOv8 model. The dataset consists of 230 diverse images of eucalypt roundwood, including images of roundwood separated on a rail and stacked timber. The annotations were made using LabelImg, ensuring accurate delineation of target objects on the log surfaces. The YOLOv8 model is customized with a CSPDarknet53 backbone, C2f module, and SPPF layer for efficient computation. The model was trained using an AdamW optimizer and implemented using Ultralytics YOLOv8.0.137, Python-3.10.12, and torch-2.0.1 + cu118 with CUDA support on NVIDIA T1000 (4096MiB). For model evaluation, the precision, recall, and mean Average Precision at a 50% confidence threshold (mAP50) were calculated. The best results were achieved at epoch 261, with a precision of 0.814, recall of 0.812, and mAP50 of 0.844 on the training set and a precision of 0.778, recall of 0.798, and mAP50 of 0.839 on the validation set. The model’s generalization was tested on separate images, demonstrating robust detection and accurate counting. The model effectively identified roundwood that was widely spaced, scattered, and overlapping. However, when applied to stacked timber, the automatic counting was not very accurate, especially when using images. In contrast, when using video, the relative percentage error for automatic counting significantly decreased to −12.442%. In conclusion, video proved to be more effective than images for counting stacked timber, while photographs should be reserved for the counting of individual roundwood pieces.
Funder
Coordenação de Aperfeiçoamento de Pessoal de Nível Superior, Brazil
Reference54 articles.
1. Pásztory, Z., Heinzmann, B., and Barbu, M.C. (2018). Proceedings of the IOP Conference Series: Earth and Environmental Science, Institute of Physics Publishing. 2. Cremer, T., Berendt, F., de Diez, F.M., Wolfgramm, F., and Blasko, L. (2020, January 15–30). Accuracy of Photo-Optical Measurement of Wood Piles. Proceedings of the 1st International Electronic Conference on Forests—Forests for a Better Future: Sustainability, Innovation, Interdisciplinarity, Online. 3. Comparison of Wood Stack Volume Determination between Manual, Photo-Optical, IPad-LiDAR and Handheld-LiDAR Based Measurement Methods;Berendt;iForest,2023 4. Husch, B., Beers, T.W., and Kershaw, J.A. (2002). Forest Mensuration, Wiley. [4th ed.]. 5. Husch, B., Miller, C.I., and Beers, T.W. (1993). Forest Mensuration, Krieger Publishing Company. [3rd ed.].
Cited by
7 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
|
|