I train machines to recognize plants: A skill that turns out to be surprisingly valuable when your goal is helping feed the growing planet.