Measuring the Level of Aflatoxin Infection in Pistachio Nuts by Applying Machine Learning Techniques to Hyperspectral Images
Open Access
Abstract
This paper investigates the use of machine learning techniques on hyperspectral images of pistachios to detect and classify different levels of aflatoxin contamination. Aflatoxins are toxic compounds produced by moulds, posing health risks to consumers. Current detection methods are invasive and contribute to food waste. This paper explores the feasibility of a non-invasive method using hyperspectral imaging and machine learning to classify aflatoxin levels accurately, potentially reducing waste and enhancing food safety. Hyperspectral imaging with machine learning has shown promise in food quality control. The paper evaluates models including Dimensionality Reduction with K-Means Clustering, Residual Networks (ResNets), Variational Autoencoders (VAEs), and Deep Convolutional Generative Adversarial Networks (DCGANs). Using a dataset from Leeds Beckett University with 300 hyperspectral images, covering three aflatoxin levels (160 ppn, and >300 ppn), key wavelengths were identified to indicate contamination presence. Dimensionality Reduction with K-Means achieved 84.38% accuracy, while a ResNet model using the 866.21 nm wavelength reached 96.67%. VAE and DCGAN models, though promising, were constrained by dataset size. The findings highlight the potential for machine learning-based hyperspectral imaging in pistachio quality control, and future research should focus on expanding datasets and refining models for industry application.Keywords
Funding Information
- Innovate UK (KTP 13808)
This publication has 42 references indexed in Scilit:
- t-SNE and variational auto-encoder with a bi-LSTM neural network-based model for prediction of gas concentration in a sealed-off area of underground coal minesSoft Computing, 2021
- A comprehensive survey and analysis of generative models in machine learningComputer Science Review, 2020
- Pseudoinverse learning autoencoder with DCGAN for plant diseases classificationMultimedia Tools and Applications, 2020
- Hyperspectral Imaging System: Development Aspects and Recent TrendsSensing and Imaging, 2019
- Discrimination of aflatoxin B1 contaminated pistachio kernels using laser induced fluorescence spectroscopyBiosystems Engineering, 2019
- Applications of hyperspectral imaging in grains and nuts quality and safety assessment: a reviewJournal of Food Measurement and Characterization, 2013
- Robust Data Mining2013
- Techniques and Applications of Hyperspectral Image Analysis2007
- Walnut shell and meat differentiation using fluorescence hyperspectral imagery with ICA-kNN optimal wavelength selectionSensing and Instrumentation for Food Quality and Safety, 2007
- Multivariate Statistics and Mathematical Modeling2000