Pistachio trees have become a significant global agricultural commodity because their nuts are renowned for their unique flavour and numerous health benefits, contributing to their high demand worldwide. This study explores the application of Hyperspectral Imaging (HSI) and Machine Learning (ML) to determine pistachio nuts' geographic origin and irrigation practices, alongside predicting essential commercial quality and yield parameters. The study was conducted in two Spanish orchards and employed HSI technology to capture spectral data. It used ML models like Partial Least Squares (PLS), Support Vector Machine (SVM), and Extreme Gradient Boosting (XGBoost) for analysis.The results demonstrated high accuracy in classifying pistachios based on origin, with accuracies exceeding 94%, and in assessing water content and colour pigments, where both PLS and SVM models achieved 99% accuracy. The research highlighted distinct spectral signatures associated with different irrigation treatments, particularly in the Near-Infrared (NIR) region, with PLS showing an accuracy of 92%. However, challenges were noted in predicting fruit orientation, while predicting height location within the tree was more successful, reflecting clearer spectral distinctions. Regression models also showed promise, particularly in predicting yield (R2 = 0.89 with PLS) and percentage of blank nuts (R2 = 0.71 with PLS). The correlation analysis revealed key insights, such as an inverse relationship between blank nuts and yield, and a strong correlation between yield and split nuts. Despite challenges in predicting fruit orientation, the research showed promising results in forecasting yield and commercial quality factors, indicating the effectiveness of spectral analysis in optimising pistachio production and sustainability.
Read full abstract