Counting Coffee Cherries With a Phone Camera
A coffee tree can carry thousands of small red cherries. Counting them by hand, tree after tree, is slow work, and two people rarely count the same way. A new research program is trying a gentler approach: let a phone camera and a little AI do the counting.
A new program for coffee and cacao
In October 2026, Clemson University announced that it is co-leading the Feed the Future Innovation Lab for Coffee and Cacao with the University of Hawaii at Manoa. The multi-year effort has an initial $8 million in funding from the U.S. Department of State. It will work in Latin America, Africa and Asia to help coffee and cacao farms stay productive as weather patterns shift and pests and diseases spread.
Most of the program is classic agricultural science: testing crop varieties, soil fertility and plant nutrition. One piece uses AI. A team led by Trevor Rife at Clemson's Pee Dee Research and Education Center will build models that use mobile-phone images to measure coffee tree yield and other quality traits.
How the counting works
Field technicians in Central America and Kenya will photograph coffee trees and label thousands of images. Those labeled photos teach the AI models to count coffee cherries and estimate yields. Once trained, the model can do in seconds what used to take a person a long while.
Rife says faster, more consistent measurements can help breeders identify and advance the strongest candidates in research programs. That matters because breeding a better coffee plant means comparing many trees across many seasons. If every tree is measured the same way, the comparison gets fairer.
The Clemson team also plans to adapt the methods for crops grown in South Carolina, including cotton and peaches. A tool built for coffee cherries may end up helping a peach grower too.
Why it is encouraging
This is a good example of AI doing a modest, useful job. It does not replace the farmer or the plant scientist. It takes over a repetitive count so people can spend their time on the decisions that need judgment, like which variety to plant or how to feed the soil.
It is also early: the program has just been announced, and results are still to come. But the idea is easy to picture and easy to cheer for. A phone, a tree, a better cup of coffee.