Text this: Comprehensive quality detection method for tomatoes combining machine vision and spectral techniques