Water loss during storage is a major cause of postharvest quality deterioration in cucumber, yet existing methods to monitor hydration are often destructive or require expensive instrumentation. We developed a low-cost, non-destructive approach for estimating fruit relative water content (RWC) using visible-light color imaging combined with an ensemble machine-learning model (Random Forest). A total of 1200 fruits were greenhouse-grown, harvested at market maturity, and equally divided between optimal and ambient storage temperature (10 and 25 °C, respectively). Digital images were acquired at harvest and at 7 d intervals during storage, and color parameters from four standard color systems (RGB, CMYK, CIELAB, HSV) were extracted separately for the neck, mid, and blossom regions as well as for the whole fruit. During storage, fruit RWC decreased from 100% (fully hydrated condition) to 15.3%, providing a broad dynamic range for assessing color–hydration relationships. Among the 16 color features evaluated, the mean cyan component (μC) of the CMYK space showed the strongest relationship with measured RWC (R2 up to 0.70 for whole-fruit averages), reflecting the cyan region’s heightened sensitivity to dehydration-induced changes in pigments, cuticle properties and surface scattering. The Random Forest regression model trained on these features achieved a higher predictive accuracy (R2 = 0.89). Predictive accuracy was also consistently higher when μC was calculated over the entire fruit surface rather than for individual anatomical regions, indicating that whole-fruit color information provides a more robust hydration signal than region-specific measurements. Our findings demonstrate that simple visible-range imaging coupled with ensemble learning can provide a cost-effective, non-invasive tool for monitoring postharvest hydration of cucumber fruit, with direct applications in quality control, shelf-life prediction and waste reduction across the fresh-produce supply chain.
Makraki et al. (Fri,) studied this question.