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