Defect-driven quality classification of wooden lamellae using computer vision
The manual quality grading of wooden lamellae is a complex and time-consuming task, limiting productivity and consistency of industrial processes. An accurate automated sorting approach is crucial to stay competitive, optimize resource use, and adapt to future wood species. This study leverages computer vision to automate and improve quality sorting in a cost-efficient way. We collected a dataset of 5050 images from 2025 Norway spruce (<em>Picea abies</em>) lamellae captured using an industrial line scan camera. Each lamella was categorized into one of three quality classes: standard, industrial, or substandard. Based on this dataset, we developed and trained a Defect-Driven Quality Classification (DQC)—a hybrid model that uses defect segmentation and machine learning to perform the quality classification of the lamellae. An instance segmentation network (YOLOv8x) was trained to detect eight key defect types, including knots, cracks, and blue stain. To improve segmentation performance, we used cropped image patches, and a custom recombination algorithm to reconstruct full-length lamella predictions. From the resulting masks, we extracted quantitative features which were further used for classification. Additionally, we added texture features to capture the structural properties of wood. These features were used to train multiple classifiers—decision tree, random forest, gradient boosting, multilayer perceptron, and support vector machine—for quality prediction. The YOLOv8x model achieved a mean average precision ([email protected]) of 0.78. The gradient boosting model achieved the best classification performance, reaching 81% accuracy across the three quality classes. Our results demonstrate that hybrid vision-based systems like DQC can deliver reliable, interpretable solutions for industrial wood grading, with clear potential for improving product quality, production efficiency, and sustainability.
Authors
- Ingo Burgert (ORCID: https://orcid.org/0000-0003-0028-072X)
- Roman Elsener (ORCID: https://orcid.org/0000-0001-7832-8880)
- Mark Schubert (ORCID: https://orcid.org/0000-0002-6900-0370)
- Andreas Rigling (ORCID: https://orcid.org/0000-0003-1944-4042)
- Julia Achatz (ORCID: https://orcid.org/0009-0005-6620-2494)
- Lukas Speigl
Publication Details
- Published
- 2025-09-16
- DOI
- https://doi.org/10.1117/12.3063276
- Primary Topic
- Industrial Vision Systems and Defect Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00