Predicting pod quality of green beans for processing