Text this: Prediction of quality attributes and ripeness classification of bananas using optical properties