Tomato ripeness prediction using low resolution portable spectrometer and machine learning

Closed

Alvin Fitra Pamungkas, Wahyunanto Agung Nugroho, Rifqi Fadhlurrohman, Setiyaki Aruma Nandi, Harki Himawan, Aryo Pinandito, Kiki Gustinasari, Dwi Setiawan, Dimas Firmanda Al Riza

2026 Spectrochimica Acta - Part A: Molecular and Biomolecular Spectroscopy Vol. 344 Article Cited by 3

Abstract

Tomato ripeness assessment is critical to ensure optimal product quality. This study proposes a novel approach to predict total soluble solids (TSS) and firmness, and classify tomato ripeness using a low-resolution AS7265x portable spectrometer combined with machine learning techniques. Prediction models for TSS and firmness were developed using Partial Least Squares Regression (PLSR) and Artificial Neural Networks (ANN), while ripeness classification used Naive Bayes, Support Vector Machine (SVM) and K-Nearest Neighbors (KNN). The ANN outperformed PLSR, achieving an R2 of 0.95 for firmness prediction, and an R2 of 0.82 for TSS prediction. The SVM classification model showed strong performance, achieving 96 % accuracy in categorizing the maturity level. These findings highlight the potential of integrating portable spectrometers with advanced machine learning algorithms for real-time, non-destructive tomato ripeness assessment, providing an efficient tool for precision agriculture and supply chain optimization. © 2025 Elsevier B.V.

Affiliations

Department of Biosystems Engineering, Faculty of Agricultural Technology, Universitas Brawijaya, Jl. Veteran, Malang, 65145, Indonesia; Department of Agroindustrial Technology, Faculty of Agricultural Technology, Universitas Brawijaya, Jl. Veteran, Malang, 65145, Indonesia; Department of Information System, Faculty of Computer Science, Universitas Brawijaya, Jl. Veteran, Malang, 65145, Indonesia; Center of Excellence of Bio-AI, Faculty of Agricultural Technology, Universitas Brawijaya, Jl. Veteran, Malang, 65145, Indonesia