IEEE Open Journal of Instrumentation and Measurement (Jan 2023)

Vision-Based System for Measuring the Diameter of Wood Logs

  • Marco Carratu,
  • Vincenzo Gallo,
  • Consolatina Liguori,
  • Jan Lundgren,
  • Mattias O'Nils,
  • Antonio Pietrosanto

DOI
https://doi.org/10.1109/OJIM.2023.3264042
Journal volume & issue
Vol. 2
pp. 1 – 12

Abstract

Read online

Detecting and measuring objects with vision-based systems in uncontrolled environments is a difficult task that today, thanks to the development of increasingly advanced artificial intelligence-based techniques, can be solved with greater ease. In this context, this article proposes a novel approach for the vision-based measurement of objects in uncontrolled environments using a specific type of convolutional neural network (CNN) named you only look once (YOLO) and a direct linear transformation (DLT) process. The case study concerned designing a novel vision-based system for measuring the diameter of wood logs cut and loaded onto trucks. This problem has been occurring in the Swedish forestry industry. In fact, this operation is not carried out with computer vision algorithms because of the high variability of environmental conditions caused by the changing position of the sun, weather conditions, and the variability of truck positioning. To solve this problem, the YOLO network is proposed to locate logs while attempting to maintain a high Intersection over Union (IoU) value for the correct estimation of log size. Furthermore, in order to obtain accurate measurements, the DLT is used to convert into world coordinates the dimensions of the logs themselves. The proposed CNN-based solution is described after briefly introducing today’s methodologies adopted for wood bundle analysis. Particular attention is paid to both the training and the calibration steps. Results report that for 80% of cases, the error reported has been smaller than 4 cm, representing only 8% of the measurement, considering a mean log diameter for the application of 50 cm.

Keywords