Detection of Aspergillus flavus in Figs by Means of Hyperspectral Images and Deep Learning Algorithms

Plant diseases cause economic losses and health risks, such as aflatoxins linked to liver cancer. These toxins, produced by fungi like Aspergillus flavus in figs, are often detected late through invasive methods or visual inspection. Since Spain, particularly Extremadura, is a key fig producer, alternative detection methods are essential to preventing aflatoxins in the food chain. The aim of this research is the early detection of Aspergillus flavus fungus using non-invasive techniques with hyperspectral imaging and applying artificial intelligence techniques, in particular deep learning. The images were taken after inoculation of the microtoxin using 3 different concentrations, related to three different classes and healthy figs (healthy controls). The analysis of the hyperspectral images was performed at the pixel level. Firstly, a fully connected neural network was used to analyze the spectral signature associated with each pixel; secondly, the wavelet transform was applied to each spectral signature. The resulting images were fed to a convolutional neural network. The hyperparameters of the proposed models were adjusted based on the parameter tuning process that was performed. The results are promising, with 83% accuracy, 82.75% recall, and 83.25% F1-measure for the fully connected neural network. The high F1-measure demonstrates that the model’s performance is good. The model has a low incidence of false positives for samples that contain aflatoxin, while a higher number of false positives appears in healthy controls. Due to the presence of false negatives, this class also has a high recall. The convolutional neural network results, accuracy, recall, and F1 are 77.25%, indicating moderate model performance. Only class 3, with higher aflatoxin concentration, achieves high precision and low false positive incidence. Healthy controls exhibit a high presence of false negatives. In conclusion, we demonstrate the effectiveness of pixel-level analysis in identifying the presence of the fungus and the viability of the non-invasive techniques applied in improving food safety. Although further research is needed, in this study, the fully connected neural network model shows good performance with lower energy consumption.

Authors

Institutions

Publication Details

Journal
AgriEngineering
Published
2024-10-28
DOI
https://doi.org/10.3390/agriengineering6040225
Citations
6
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
1.41

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Detection of Aspergillus flavus in Figs by Means of Hyperspectral Images and Deep Learning Algorithms

Josefa Díaz‐Álvarez, Juan Villegas-Cortéz, Francisco P. Chávez, Cristian Cruz-Carrasco et al.
6 citations
AgriEngineering
Spectroscopy and Chemometric Analyses
1.41
article

Detection of Aspergillus flavus in Figs by Means of Hyperspectral Images and Deep Learning Algorithms

Josefa Díaz‐Álvarez, Juan Villegas-Cortéz, Francisco P. Chávez, Cristian Cruz-Carrasco, Abel Sánchez-Venegas
article en
6 citations

Abstract

Plant diseases cause economic losses and health risks, such as aflatoxins linked to liver cancer. These toxins, produced by fungi like Aspergillus flavus in figs, are often detected late through invasive methods or visual inspection. Since Spain, particularly Extremadura, is a key fig producer, alternative detection methods are essential to preventing aflatoxins in the food chain. The aim of this research is the early detection of Aspergillus flavus fungus using non-invasive techniques with hyperspectral imaging and applying artificial intelligence techniques, in particular deep learning. The images were taken after inoculation of the microtoxin using 3 different concentrations, related to three different classes and healthy figs (healthy controls). The analysis of the hyperspectral images was performed at the pixel level. Firstly, a fully connected neural network was used to analyze the spectral signature associated with each pixel; secondly, the wavelet transform was applied to each spectral signature. The resulting images were fed to a convolutional neural network. The hyperparameters of the proposed models were adjusted based on the parameter tuning process that was performed. The results are promising, with 83% accuracy, 82.75% recall, and 83.25% F1-measure for the fully connected neural network. The high F1-measure demonstrates that the model’s performance is good. The model has a low incidence of false positives for samples that contain aflatoxin, while a higher number of false positives appears in healthy controls. Due to the presence of false negatives, this class also has a high recall. The convolutional neural network results, accuracy, recall, and F1 are 77.25%, indicating moderate model performance. Only class 3, with higher aflatoxin concentration, achieves high precision and low false positive incidence. Healthy controls exhibit a high presence of false negatives. In conclusion, we demonstrate the effectiveness of pixel-level analysis in identifying the presence of the fungus and the viability of the non-invasive techniques applied in improving food safety. Although further research is needed, in this study, the fully connected neural network model shows good performance with lower energy consumption.

AgriEngineeringVol. 6(4)
Universidad Autónoma Metropolitana (MX), Universidad de Extremadura (ES)
Ministerio de Ciencia e Innovación, Junta de Extremadura, European Regional Development Fund, Agencia Estatal de Investigación
Openalex Percentile: Top 20%
Spectroscopy and Chemometric Analyses
1.41
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.