The accuracy of the germination rate of seeds based on image processing and artificial neural networks