CERESResearch Repository

HSI and ML for non-destructive pistachio quality assessment: influence of location and irrigation on nutrient and fat composition

Loading...
Thumbnail Image

Date published

Free to read from

2026-02-05

Supervisor/s

Industry supervisor/s

Journal Title

Journal ISSN

Volume Title

Publisher

Department

Course name

ISSN

0956-7135

Format

Citation

Martínez-Peña R, Castillo-Gironés S, Vélez S, Álvarez S. (2026) HSI and ML for non-destructive pistachio quality assessment: influence of location and irrigation on nutrient and fat composition. Food Control, Volume 184, June 2026, Article number 112011

Abstract

Pistachio quality is a major determinant of market value, particularly in Mediterranean environments strongly influenced by irrigation and climate. This study evaluated effects of orchard location and irrigation on pistachio nutritional content and assessed VIS–NIR hyperspectral imaging coupled with machine-learning techniques as a non-destructive predictive approach. Field experiments were conducted in 2022 in two commercial orchards in Castilla y León, Spain, under control and high-irrigation treatments. A total of 2818 pistachio kernels were analysed using a portable VIS–NIR hyperspectral camera (400–1000 nm). Mean spectra were extracted for each nut, pre-processed using standard normal variate correction, and linked to reference measurements of minerals, proximate composition and fatty acids. Partial Least Squares regression, Support Vector Regression and Extra Trees Regressor models were calibrated and validated to predict quality parameters from spectral data. Location, irrigation and their interaction significantly affected most nutritional and lipid traits. Pistachios from Moraleja de las Panaderas showed higher nitrogen, phosphorus, protein, ash and oleic acid contents, whereas samples from La Seca exhibited relatively higher sodium and linoleic acid levels. Increased irrigation enhanced the accumulation of several minerals and saturated fatty acids. Among the evaluated algorithms, Partial Least Squares regression provided the most consistent performance, accurately predicting nitrogen (R2 = 0.75), zinc (R2 = 0.81), oleic acid (R2 = 0.91), linoleic acid (R2 = 0.87), ash (R2 = 0.81), carbohydrates (R2 = 0.87) and humidity (R2 = 0.84). Overall, VIS–NIR HSI with machine learning enables non-destructive, data-driven optimisation of pistachio irrigation management.

Description

Software description

Software language

Git repository

Keywords

30 Agricultural, Veterinary and Food Sciences, 3004 Crop and Pasture Production, Nutrition, Machine Learning and Artificial Intelligence, Food Science, 3006 Food sciences, 4004 Chemical engineering, Hyperspectral imaging (HSI), Machine learning, Pistachio quality assessment, Predictive modeling, Non-destructive analysis

DOI

Rights

Attribution 4.0 International

Funder/s

This work was funded by MCIN/AEI/10.13039/501100011033 and European Union « NextGenerationEU»//PRTR, grant number RYC2021-033890. Co-financed by FEADER funds and Junta de Castilla y León (Spain).

Grant number

Relationships

Relationships

Resources