Yunnan ‘Bingtang’ oranges possess significant market competitiveness due to their unique taste and high sugar content. However, the limited efficiency of traditional quality inspection methods severely hampers the industrial grading process. Sugar content (Brix), as a core indicator of internal quality, is also a key factor determining consumer repurchase rates. This study focuses on the characteristic ‘Bingtang’ orange variety “Yunguan Orange” in the Longling Chu Orange Demonstration Base in Yunnan Province. Hyperspectral imaging data and corresponding sugar content values were collected during three critical stages from fruit set to harvest, and sugar content prediction research was conducted within the 400–1000 nm spectral range. Based on the extraction of regions of interest (ROI), Multispectral Scattering Correction (MSC) coupled with the Savitzky-Golay first-order derivative (SG-1st Deriv) method was employed to preprocess the raw spectral data (RAW). This study focused on investigating the performance of the Competitive Adaptive Weighted Sampling (CARS) algorithm across six prediction models. Raw full spectra (RAW) and the Sequential Projection Algorithm (SPA) were adopted as comparative schemes in ablation experiments to systematically analyze the influence of different feature extraction strategies. Experimental results showed that the coefficient of determination (R2) for most models exceeded 0.8 on the test set, while the root mean square error (RMSE) remained below 1.0. The findings indicate that under the current experimental conditions, this system can realize acceptable quantitative analysis for tested Yunguan oranges and greatly lower the overall model complexity. It clarifies the compatibility of the CARS algorithm with various prediction models, and systematically integrates three innovations of multi-stage sampling, SPA/CARS comparison and multi-type model evaluation, providing critical theoretical support and technical parameters for the development of low-cost, real-time online sorting equipment.
In complex mountainous environments, the asynchronous development between external color turning and internal sugar accumulation (often termed “false maturity”) in coffee cherries poses a severe challenge to post-harvest quality sorting and the consistency of final coffee products. To overcome the limitations of single-phenotype detection in raw material screening, this study proposed a multimodal quality discrimination framework integrating fruit hyperspectral imaging, micro-topography, and plant physiological characteristics. Taking typical mountain-grown fresh coffee cherries as the research object, and after comparing various spectral preprocessing and feature dimensionality reduction algorithms, the multimodal fusion efficacy of nine machine learning classifiers was systematically evaluated. The results demonstrated that: (1) Full-spectrum difference analysis quantitatively confirmed the limitations of visual harvesting; spectral reflectance differences between high- and low-sugar fruits were highly concentrated in the red and red-edge regions, with the maximum difference precisely located at 676 nm. (2) Compared to the single-spectrum model (mean accuracy of 75.93%), the fully fused Multilayer Perceptron (MLP) network effectively mitigated background noise induced by heterogeneous environments, improving the mean classification accuracy to 77.22% with a mean Area Under the Curve (AUC) of 0.827. (3) Correlation analysis clarified the quantitative association between topography and quality; micro-topographic slope (r = 0.346) was identified as the key environmental driver of spatial differentiation in fruit sugar content, while plant chlorophyll A content (r = 0.183) exhibited a corresponding physiological response trend. This study not only explains the root cause of visual assessment failure from a physical optics perspective but also reveals the spatial variation laws of quality driven by micro-topography, providing preliminary data support for the intelligent sorting of raw materials and ensuring post-harvest quality consistency of mountainous crops.