← Papers

Unverified paper record

Toward accurate prediction of apple firmness and brix across countries, seasons and cultivars with hyperspectral imaging.

Discover food · 10 Jun 2026 · 10.1007/s44187-026-01072-y

Abstract

Traditional apple maturity assessment methods are destructive and time- and labour-intensive, yielding only population-level approximations. Hyperspectral imaging provides a non-destructive alternative to assess individual fruit, but progress has been constrained by the lack of large, diverse datasets that support robust model generalisation. This study presents a multi-cultivar, multi-season, multi-country hyperspectral apple dataset to enable generalisable prediction of soluble solids content (Brix) and firmness. Using this dataset, we adopt an iterative modelling framework to evaluate deep learning architectures, image resolutions, cultivar encoding, seasonal effects, and feature-specific models. Wavelength and spatial region importance were also analysed. The best predictive performance was achieved using Vision Transformer (ViT) models trained on edge-cropped 40 × 40 pixel images with explicit cultivar encoding, with Brix and firmness modelled independently. Although seasonal specificity was observed, models trained across all three seasons achieved the strongest overall performance. A 50% reduction in spectral wavebands did not compromise prediction accuracy. Key wavelength ranges contributing to Brix and firmness prediction were identified across the visible-near-infrared spectrum. Spatial regions were unimportant for Brix prediction but showed relevance for firmness. The optimised ViT model achieved firmness prediction performance comparable to previous studies (RMSE = 0.76 kgf, R[Formula: see text] = 0.63), while Brix prediction accuracy was lower (RMSE = 0.91 [Formula: see text]Brix, R[Formula: see text] = 0.75), likely reflecting increased biological and environmental variability captured in the dataset. Overall, this work demonstrates that hyperspectral imaging combined with deep learning and large, diverse datasets enables robust, non-destructive prediction of apple quality attributes across production conditions.

Plant phenotyping relevance

リンゴ果実の硬度とBrixという植物器官形質を、ハイパースペクトル画像と深層学習で非破壊推定するデータセット・モデル・汎化性能評価が研究の中心である。

abstractThis study presents a multi-cultivar, multi-season, multi-country hyperspectral apple dataset to enable generalisable prediction of soluble solids content (Brix) and firmness.
abstractUsing this dataset, we adopt an iterative modelling framework to evaluate deep learning architectures, image resolutions, cultivar encoding, seasonal effects, and feature-specific models.
abstractOverall, this work demonstrates that hyperspectral imaging combined with deep learning and large, diverse datasets enables robust, non-destructive prediction of apple quality attributes across production conditions.

Code and data availability

The paper explicitly states that the hyperspectral apple dataset (5756 apples, firmness/Brix/starch measurements) is deposited in the University of Essex research data repository and that the data cleaning, model training, and analysis code is on GitHub, both with public URLs.

Datasetpublic

The datasets generated during and analysed during the current study are available in the University of Essex repository ( https://researchdata.essex.ac.uk/228/ )

Open resource ↗researchdata.essex.ac.uk · 228 · lines:192-220
Codepublic

the code used for data cleaning, model training and analysis are available on GitHub: ( https://github.com/EIS-Ressearch-Lab/Apple_maturity_hyperspectral_imaging.git )

Open resource ↗github.com/EIS-Ressearch-Lab/Apple_maturity_hyperspectral_imaging · lines:192-220

This is an automatically classified, unverified record. Curator approval is required before any resource enters the Catalog.