SpectralFlow: an integrated platform for spectral data preprocessing and predictive modeling analysis in fruit quality evaluation

Abstract

Near infrared spectroscopy and hyperspectral imaging offer unique analytical advantages and immense application potential in fruit quality evaluation. However, most existing spectral analysis software is limited to simple machine learning models, lacking support for complex hyperparameter tuning and state-of-the-art deep learning architectures. In addition, current software is primarily designed for analyzing one-dimensional spectral data, with limited functionality for extracting features from hyperspectral images. To address these challenges, we developed SpectralFlow software, which integrates interactive spectral data extraction and preprocessing, a built-in model library, custom model training, and dataset management with visualization capabilities. SpectralFlow significantly lowers the technical barrier for spectral analysis by optimizing spectral data analysis and simplifying the model training process. The software's performance was verified through two scenario studies: one involving the early prediction of anthracnose in mangoes, and the other involving the quantitative prediction of dry matter content (DMC) in apples, mangoes, kiwifruit, and pears. All models demonstrated excellent performance, with the mango anthracnose prediction model achieving an accuracy of over 92% and the model for predicting DMC achieving R-squared values of over 0.80. The proposed SpectralFlow proves to be highly effective software for spectral data preprocessing and model training.

Graphical abstract: SpectralFlow: an integrated platform for spectral data preprocessing and predictive modeling analysis in fruit quality evaluation

Article information

Article type
Paper
Submitted
28 Jul 2025
Accepted
06 Nov 2025
First published
10 Nov 2025

Analyst, 2026, Advance Article

SpectralFlow: an integrated platform for spectral data preprocessing and predictive modeling analysis in fruit quality evaluation

Z. Chen, G. Lyu, X. Wang, M. Yang, X. Xu and X. Zhang, Analyst, 2026, Advance Article , DOI: 10.1039/D5AN00794A

To request permission to reproduce material from this article, please go to the Copyright Clearance Center request page.

If you are an author contributing to an RSC publication, you do not need to request permission provided correct acknowledgement is given.

If you are the author of this article, you do not need to request permission to reproduce figures and diagrams provided correct acknowledgement is given. If you want to reproduce the whole article in a third-party publication (excluding your thesis/dissertation for which permission is not required) please go to the Copyright Clearance Center request page.

Read more about how to correctly acknowledge RSC content.

Social activity

Spotlight

Advertisements