Optimizing Deep Learning Models for Aflatoxin Detection in Agricultural Products: A Case Study of Groundnuts

This study presents an automated deep learning-based classification model for aflatoxin detection in groundnuts, addressing the limitations of conventional manual inspection methods, which are often time-intensive and error-prone. Leveraging the Inception-ResNet-V2 deep learning architecture, the model classifies groundnuts into four distinct categories: healthy, moldy, pest-infested, and those exhibiting physiological disorders. A comprehensive dataset comprising 226 healthy, 236 moldy, 191 pest-infested, and 160 physiological disorder samples was utilized for training, validation, and testing. Model performance was evaluated using multiple metrics, including accuracy, precision, recall, F1-score, and the area under the receiver operating characteristic (ROC) curve (AUC). The proposed model achieved an overall accuracy of 99.29%, with precision and recall values of 100% and 98.44%, respectively. Notably, the moldy category exhibited an AUC of 1.00, underscoring the model’s exceptional capability in distinguishing visual patterns and automating classification tasks. Despite these good results, the study highlights the need for future research to incorporate a broader range of agricultural products to enhance model generalizability. The deep learning model developed improves aflatoxin detection, reducing reliance on subjective manual inspections and enhancing food safety practices. This research offers a novel AI-driven solutions in agricultural quality assessment and food safety management.

Publication Details

Journal
Figshare
Published
2025-06-01
DOI
https://doi.org/10.6084/m9.figshare.30249178
Primary Topic
Agronomic Practices and Intercropping Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Optimizing Deep Learning Models for Aflatoxin Detection in Agricultural Products: A Case Study of Groundnuts

Figshare
Agronomic Practices and Intercropping Systems
article

Optimizing Deep Learning Models for Aflatoxin Detection in Agricultural Products: A Case Study of Groundnuts

article en

Abstract

This study presents an automated deep learning-based classification model for aflatoxin detection in groundnuts, addressing the limitations of conventional manual inspection methods, which are often time-intensive and error-prone. Leveraging the Inception-ResNet-V2 deep learning architecture, the model classifies groundnuts into four distinct categories: healthy, moldy, pest-infested, and those exhibiting physiological disorders. A comprehensive dataset comprising 226 healthy, 236 moldy, 191 pest-infested, and 160 physiological disorder samples was utilized for training, validation, and testing. Model performance was evaluated using multiple metrics, including accuracy, precision, recall, F1-score, and the area under the receiver operating characteristic (ROC) curve (AUC). The proposed model achieved an overall accuracy of 99.29%, with precision and recall values of 100% and 98.44%, respectively. Notably, the moldy category exhibited an AUC of 1.00, underscoring the model’s exceptional capability in distinguishing visual patterns and automating classification tasks. Despite these good results, the study highlights the need for future research to incorporate a broader range of agricultural products to enhance model generalizability. The deep learning model developed improves aflatoxin detection, reducing reliance on subjective manual inspections and enhancing food safety practices. This research offers a novel AI-driven solutions in agricultural quality assessment and food safety management.

Figshare
Zero hunger
Openalex Percentile: Top 40%
Agronomic Practices and Intercropping Systems
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.

Optimizing Deep Learning Models for Aflatoxin Detection in Agricultural Products: A Case Study of Groundnuts · Figshare (2025) | TGRS Research Map | TGRS