This research aimed to evaluate the capacity of hyperspectral fingerprints, coupled with machine learning models, to ensure the authenticity of chickpeas from different varieties and origins (Castellano, Pedrosillano, Pedrosillo, Blanco lechoso and Fuentesaúco)
The hyperspectral images obtained were captured using two cameras that cover an approximate range of 400–1000 nm (Vis-NIR) and 900–1700 nm (NIR), which allowed the capture of the characteristic spectral signatures of each sample (which depend on different factors such as their composition, moisture content, and structural characteristics, among others). The data was flat-fielded using the references and the algorithms facilitated by the manufacturer. Then, the spectrum for each chickpea is obtained by averaging the spectra of all its individual pixels. Both Vis-NIR and NIR databases include spectra of around 5000 individual measurements, were divided into three sets: training (for developing the models), validation (for comparting and selecting the optimal hyperparameter combinations/models), and testing (for determining the selected model’s performance with out-of-bag examples), encompassing 50%, 30% and, 20% of each dataset respectively. To determine the variety of each chickpea sample, artificial neural networks were used.
Different ANN models were developed using a range of hyperparameter combinations. The selected ANN presents, for the training, accuracy values slightly around 90% while, for the testing phase, they remain close to this value. The results demonstrated the potential of hyperspectral images as a non-destructive method to ensure the authenticity of chickpeas and improve the detection of possible fraud in the food chain.
Authors thank Grant PID2023-149426OB-I00 funded by MICIU/AEI/ 10.13039/501100011033 and by ERDF/EU, and Saavedra A. thanks to Grant PID2023-149426OB-I00 funded by MICIU/AEI/10.13039/501100011033 and by ESF+.