Res. Agr. Eng., 2026, 72(2):132-141 | DOI: 10.17221/88/2025-RAE
Comparative study of portable Vis-NIR spectrometers for corn moisture content prediction using machine learningOriginal Paper
- 1 Department of Biosystems Engineering, Faculty of Agricultural Technology, Universitas Brawijaya, Malang, Indonesia
- 2 Department of Biological and Agricultural Engineering, Universiti Putra Malaysia, Serdang, Selangor, Malaysia
- 3 Department of Biological and Agricultural Engineering, University of California, Davis, CA, USA
The non-destructive estimation of the corn kernel moisture content is essential for determining the optimal harvest period. Although various spectrometer sensors are currently available, their predictive performance differs due to variations in the spectral resolution and wavelength coverage. This study compared the performance of several portable spectrometer sensors with different wavelength ranges for predicting the corn moisture content. Spectral data and reference moisture content were used to develop the prediction models using partial least squares regression (PLSR) and an artificial neural network (ANN). Based on the PLSR modelling, the AS7265X and C12880MA sensors produced the best performance, with coefficients of determination (R2) for training and testing reaching up to 0.90. Furthermore, the ANN modelling yielded improved predictive accuracy, with the highest R2 value of 0.95 obtained using the same sensor combination. These results demonstrate that portable spectrometers show strong potential for the non-destructive field-based prediction of the corn moisture content and can serve as a reliable indicator for determining the optimal harvest timing.
Keywords: chemometrics; grain quality; non-destructive; optical sensors; spectroscopy
Received: June 12, 2025; Accepted: February 19, 2026; Prepublished online: June 17, 2026; Published: June 22, 2026 Show citation
| ACS | AIP | APA | ASA | Harvard | Chicago | Chicago Notes | IEEE | ISO690 | MLA | NLM | Turabian | Vancouver |
References
- Abu-Khalaf N., Hmidat M. (2020): Visible/Near Infrared (VIS/NIR) spectroscopy as an optical sensor for evaluating olive oil quality. Computers and Electronics in Agriculture, 173: 105445.
Go to original source... - Al Riza D.F., Yolanda J., Tulsi A.A., Ikarini I., Hanif Z., Nasution A., Widodo S. (2023): Mandarin orange (Citrus reticulata Blanco cv. Batu 55) ripeness level prediction using combination reflectance-fluorescence spectroscopy. Spectrochimica Acta Part A: Molecular and Biomolecular Spectroscopy, 302: 123061.
Go to original source... - Ashenafi E.L., Nyman M.C., Shelley J.T., Mattson N.S. (2023): Spectral properties and stability of selected carotenoid and chlorophyll compounds in different solvent systems. Food Chemistry Advances, 2: 100178.
Go to original source... - Aswin C., Geetha R., Sujatha K., Vanniarajan C., Sivakumar T. (2023): Effect of harvesting time on the seed quality of hybrid maize (Zea mays L.) COHM 8. Agricultural Science Digest, 43: 622-629.
Go to original source... - Cao L., Sun M., Yang Z., Jiang D., Yin D., Duan Y. (2024): A novel transformer-CNN approach for predicting soil properties from LUCAS Vis-NIR spectral data. Agronomy, 14: 1998.
Go to original source... - Córdova-Noboa H.A., Oviedo-Rondón E.O., Matta Y., Ortiz A., Buitrago G.D., Martinez J.D., Yanquen J., Hoyos S., Castellanos A.L., Sorbara J.O.B. (2021): Corn kernel hardness, drying temperature and amylase supplementation affect live performance and nutrient utilization of broilers. Poultry Science, 100: 101395.
Go to original source...
Go to PubMed... - Digman M.F., Cherney J.H., Cherney D.J. (2021): Dry matter estimation of standing corn with near-infrared reflectance spectroscopy. Applied Engineering in Agriculture, 37: 775-781.
Go to original source... - Heman A., Hsieh C.L. (2016): Measurement of moisture content for rough rice by visible and near-infrared (NIR) spectroscopy. Engineering in Agriculture, Environment and Food, 9: 280-290.
Go to original source... - Kamruzzaman M., Kalita D., Ahmed M.T., ElMasry G., Makino Y. (2022): Effect of variable selection algorithms on model performance for predicting moisture content in biological materials using spectral data. Analytica Chimica Acta, 1202: 339390.
Go to original source...
Go to PubMed... - Karakelle B., Kian-Pour N., Toker O.S., Palabiyik I. (2020): Effect of process conditions and amylose/amylopectin ratio on the pasting behavior of maize starch: A modeling approach. Journal of Cereal Science, 94: 102998.
Go to original source... - Karoui R. (2018): Spectroscopic technique: Fluorescence and ultraviolet-visible (UV-Vis) spectroscopies. In: Sun D.W. (ed): Modern Techniques for Food Authentication. 2nd Ed., Arras, Academic Press
Go to original source... - Lim J., Mo C., Kim G., Kang S., Lee K., Kim M.S., Moon J. (2014): Non-destructive and rapid prediction of moisture content in red pepper (Capsicum annuum L.) powder using near-infrared spectroscopy and a partial least squares regression model. Journal of Biosystems Engineering, 39: 184-193.
Go to original source... - Lin L., He Y., Xiao Z., Zhao K., Dong T., Nie P. (2019): Rapid-detection sensor for rice grain moisture based on NIR spectroscopy. Applied Sciences (Switzerland), 9: 1-11.
Go to original source... - Martinez-Feria R.A., Licht M.A., Ordóñez R.A., Hatfield J.L., Coulter J.A., Archontoulis S.V. (2019): Evaluating maize and soybean grain dry-down in the field with predictive algorithms and genotype-by-environment analysis. Scientific Reports, 9: 1-13.
Go to original source...
Go to PubMed... - Mohammed M., Srinivasagan R., Alzahrani A., Alqahtani N.K. (2023): Machine-learning-based spectroscopic technique for non-destructive estimation of shelf life and quality of fresh fruits packaged under modified atmospheres. Sustainability (Switzerland), 15: 1-11.
Go to original source... - Nelson S.O., Trabelsi S. (2012): A century of grain and seed moisture measurement by sensing electrical properties. Transactions of the ASABE, 55: 629-636.
Go to original source... - Noguera M., Millan B., Andújar J.M. (2023): New, low-cost, hand-held multispectral device for in-field fruit-ripening assessment. Agriculture (Switzerland), 13: 1-18.
Go to original source... - Peiris K.H.S., Dowell F.E. (2011): Determining weight and moisture properties of sound and fusarium-damaged single wheat kernels by near-infrared spectroscopy. Cereal Chemistry, 88: 45-50.
Go to original source... - Rabanera J.D., Guzman J.D., Yaptenco K.F. (2021): Rapid and non-destructive measurement of moisture content of peanut (Arachis hypogaea L.) kernel using a near-infrared hyperspectral imaging technique. Journal of Food Measurement and Characterization, 15: 3069-3078.
Go to original source... - Solar M., Solar A. (2016): Non-destructive determination of moisture content in hazelnut (Corylus avellana L.). Computers and Electronics in Agriculture, 121: 320-330.
Go to original source... - Teixeira Dos Santos C.A., Lopo M., Páscoa R.N.M.J., Lopes J.A. (2013): A review on the applications of portable near-infrared spectrometers in the agro-food industry. Applied Spectroscopy, 67: 1215-1233.
Go to original source... - Tran N.T., Fukuzawa M. (2020): A portable spectrometric system for quantitative prediction of the soluble solids content of apples with a pre-calibrated multispectral sensor chipset. Sensors (Switzerland), 20: 1-11.
Go to original source...
Go to PubMed... - Wojcieszak D., Przyby³ J., Czajkowski £., Majka J., Pawlowski A. (2022): Effects of harvest maturity on the chemical and energetic properties of corn stover biomass combustion. Materials, 15: 1-11.
Go to original source... - Zhang Y., Guo W. (2020): Moisture content detection of maize seed based on visible/near-infrared and near-infrared hyperspectral imaging technology. International Journal of Food Science and Technology, 55: 631-640.
Go to original source... - Zhu X., Chi R., Ma Y. (2023): Effects of corn varieties and moisture content on mechanical properties of corn. Agronomy, 13: 1-13.
Go to original source...
This is an open access article distributed under the terms of the Attribution-NonCommercial 4.0 International (CC BY-NC 4.0.), which permits non-comercial use, distribution, and reproduction in any medium, provided the original publication is properly cited. No use, distribution or reproduction is permitted which does not comply with these terms.

ORCID...