This is where that other article about one pixel object detector could come into play. Build a detector that maps these good bean properties to the color green and then you have a passive identifier than can check a hundred thousand beans per second.
Put a few parallel lines of these up and you could check a truckload of beans in no time.