Investigating performance and key factors for real-world deployment of grain image classification using convolutional neural networks

Accurate and efficient grain quality assessment is critical for making informed decisions throughout the grain value chain. Early detection of disease enables actions to mitigate spread and further damage, and optimal batch mixing to fulfill specified quality requirements allows for maximizing value and minimizing scrapping. Vision based machine learning and deep learning approaches are gaining attention in the agricultural sector and are useful for the development of automated grain quality assessment. These techniques can reduce the current manual inspection load and are key for objective and precise analysis. Yet, the majority of prior studies are constrained to small or controlled and curated datasets. Practical challenges associated with real-world deployment and reliability are rarely addressed. That is the focus of this work. We present and demonstrate a structured approach for investigating convolutional neural networks (CNNs) and key factors influencing performance for wheat kernel classification. The objective is to determine a CNN model that ensures high and robust classification accuracy, while elucidating and explaining how different image dataset characteristics and training parameters affect performance and reliability. We use a commercial mirror-based imaging system that captures over 90% of each kernel's surface and contrast and compare model architectures, robustness, the effect on pre-processing and image resolution. Our results show similar and high overall performance for ResNet50V2 and EfficientNetV2B0 ([Formula: see text]% accuracy), but per-class analysis indicate that the smaller classes suffer from lack of representative examples, and that most classes benefit from pre-processing including downsampling whereas others benefit from higher resolution. Interactive visualizations reveal that another contributing factor is dubious annotation and multi-class belongingness. Thus, our step-by-step analysis of CNN performance underscores the need for representative data, proper pre-processing, and class-aware evaluation to ensure trustworthy deployment in wheat grain quality assessment.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-04-14
DOI
https://doi.org/10.1038/s41598-026-45314-6
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00

Funders

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

Investigating performance and key factors for real-world deployment of grain image classification using convolutional neural networks

Moa Källgren, Veronica Ehrström Eklöf, Ida‐Maria Sintorn, Rani Kumari et al.
Scientific Reports
Smart Agriculture and AI
article

Investigating performance and key factors for real-world deployment of grain image classification using convolutional neural networks

Moa Källgren, Veronica Ehrström Eklöf, Ida‐Maria Sintorn, Rani Kumari, Jonas Persson
article en

Abstract

Accurate and efficient grain quality assessment is critical for making informed decisions throughout the grain value chain. Early detection of disease enables actions to mitigate spread and further damage, and optimal batch mixing to fulfill specified quality requirements allows for maximizing value and minimizing scrapping. Vision based machine learning and deep learning approaches are gaining attention in the agricultural sector and are useful for the development of automated grain quality assessment. These techniques can reduce the current manual inspection load and are key for objective and precise analysis. Yet, the majority of prior studies are constrained to small or controlled and curated datasets. Practical challenges associated with real-world deployment and reliability are rarely addressed. That is the focus of this work. We present and demonstrate a structured approach for investigating convolutional neural networks (CNNs) and key factors influencing performance for wheat kernel classification. The objective is to determine a CNN model that ensures high and robust classification accuracy, while elucidating and explaining how different image dataset characteristics and training parameters affect performance and reliability. We use a commercial mirror-based imaging system that captures over 90% of each kernel's surface and contrast and compare model architectures, robustness, the effect on pre-processing and image resolution. Our results show similar and high overall performance for ResNet50V2 and EfficientNetV2B0 ([Formula: see text]% accuracy), but per-class analysis indicate that the smaller classes suffer from lack of representative examples, and that most classes benefit from pre-processing including downsampling whereas others benefit from higher resolution. Interactive visualizations reveal that another contributing factor is dubious annotation and multi-class belongingness. Thus, our step-by-step analysis of CNN performance underscores the need for representative data, proper pre-processing, and class-aware evaluation to ensure trustworthy deployment in wheat grain quality assessment.

Scientific ReportsVol. 16(1)
Uppsala University (SE), ÅAC Microtec (Sweden) (SE)
Lantmännens Forskningsstiftelse, Uppsala Universitet
Zero hunger
Openalex Percentile: Top 27%
Smart Agriculture and AI
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.