Text this: Multiscale recognition of legume varieties based on leaf venation images