Disease Sensor

have an optical sensor that could look at beans as you harvest and determine the disease that causes them to staygreen and not drop leaves