The seeds are automatically determined (located) by an ad-hoc procedure, since this process is problem-dependent.
Considering the great variability of colour of the wood boards, the seed selection is based on adaptive thresholding in the RGB colour space.