Latvian-Built AI Solution Detects Resin Defects in Wood to Cut Production Losses
Latvian companies EKJU and Apply spent two years developing an artificial intelligence system that spots resin pockets in spruce at the start of production, reducing wood waste.

Latvian outdoor furniture manufacturer EKJU and technology company Apply have developed an artificial intelligence system that identifies resin defects in spruce boards at the very beginning of production. The two-year project was carried out with the Latvian State Institute of Wood Chemistry and the Forest Sector Competence Centre. The solution reduces wood losses, manual sorting and wear on production equipment.
Why resin caused losses
Resin leakage is one of the main problems when spruce is used for outdoor furniture. Sun and heat can make resin seep onto the finished surface and spoil its appearance. Resin pockets cannot always be spotted by visual inspection alone. When suppliers began delivering more resinous spruce, defects were often found only after parts had gone through one to three production operations. According to EKJU management board chairman Māris Danieks, the company at times had to write off parts worth roughly 300,000–400,000 euros a year.
How the system works
After planing, boards are scanned by laser sensors that collect data on surface and structure. An algorithm identifies resin pockets and assigns each board a quality class, A, B or C, in a few seconds. Class A wood is used for tabletops, seats and backrests. In class B boards the resin pockets are cut out and the good sections are used for smaller parts. Class C material can be used, for example, to make pallets.
To train the algorithm, just under a thousand boards were described in detail. In the first phase of real production, more than 23,000 boards were then scanned to fine-tune the parameters. The system was integrated without major reconstruction of the production lines; only equipment automation had to be adapted.
What comes next
Operators increasingly supervise the system rather than check every board by hand. Plans include detecting knot defects, bark edges, heartwood and signs of rot, and adapting the technology to pine. The system is also to be linked with the company's resource management software so the data can support production planning. Apply management board member Valts Jakubovičs says the solution can be applied in almost any industry.


