A computer based system for the recognition of seed shape