Automation of quality control of wooden items and wood-based materials.