Text this: Tomato ripeness detection and fruit segmentation based on instance segmentation