An improved YOLOv8 model for detecting damage types of maize kernels using proximal hyperspectral imaging

Rapid and accurate detection of maize kernel damage is crucial for breeding and food processing, but existing methods suffer from problems such as long detection times and weak discrimination capabilities. This study proposes a maize kernel damage type detection method that integrates hyperspectral imaging and deep learning algorithms. Addressing the challenge of effectively utilizing the large number of bands and information volume in hyperspectral imaging data, this study improves the YOLOv8 input layer to allow multi-channel hyperspectral input, introduces a Spatial-Channel Squeeze Attention mechanism (SCSA) to enhance the representation of key spectral-spatial features, and employs a Real-Time Detection Transformer (RT-DETR) as the detector to improve the localization and classification capabilities of complex damage, thereby achieving rapid and non-destructive identification of normal kernels and four types of damaged kernels. In this study, using 23 full bands as input, the improved YOLOv8 model achieved Precision, Recall, and mAP50 of 97.7%, 0.964, and 0.982, respectively, with an average detection time of 20.5 ms/image. Furthermore, to balance detection efficiency and accuracy, this study employed a sensitive band screening strategy, retaining only 5 sensitive bands to reduce the detection time to 10.3 ms/image while maintaining high detection accuracy (Precision 96.85%, Recall 0.953, mAP50 0.973). The improved YOLOv8 can detect maize kernel quickly, accurately and non-destructively, which is of great significance in crop detection. • A non-destructive maize kernel detection method using hyperspectral image is proposed. • Improved YOLOv8 target detection algorithm to adapt to hyperspectral image. • The improved YOLOv8 algorithm is used to detect five types of maize kernels. • The SCSA attention mechanism is used to distinguish different types of maize kernels.

Authors

Institutions

Publication Details

Journal
Journal of Agriculture and Food Research
Published
2026-03-07
DOI
https://doi.org/10.1016/j.jafr.2026.102813
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An improved YOLOv8 model for detecting damage types of maize kernels using proximal hyperspectral imaging

Baoyuan Zhang, Shuaifei Liu, Tianzhen Song, Xijie Zhang et al.
Journal of Agriculture and Food Research
Smart Agriculture and AI
article

An improved YOLOv8 model for detecting damage types of maize kernels using proximal hyperspectral imaging

Baoyuan Zhang, Shuaifei Liu, Tianzhen Song, Xijie Zhang, Mengjie Li, Wenxu Lv, Boyi Tang, Fajian Zong, Yancang Wang, Xiaohe Gu, Peng Xu, Ling Tan, Xiaolong Yu, Xiaofang Li
article en

Abstract

Rapid and accurate detection of maize kernel damage is crucial for breeding and food processing, but existing methods suffer from problems such as long detection times and weak discrimination capabilities. This study proposes a maize kernel damage type detection method that integrates hyperspectral imaging and deep learning algorithms. Addressing the challenge of effectively utilizing the large number of bands and information volume in hyperspectral imaging data, this study improves the YOLOv8 input layer to allow multi-channel hyperspectral input, introduces a Spatial-Channel Squeeze Attention mechanism (SCSA) to enhance the representation of key spectral-spatial features, and employs a Real-Time Detection Transformer (RT-DETR) as the detector to improve the localization and classification capabilities of complex damage, thereby achieving rapid and non-destructive identification of normal kernels and four types of damaged kernels. In this study, using 23 full bands as input, the improved YOLOv8 model achieved Precision, Recall, and mAP50 of 97.7%, 0.964, and 0.982, respectively, with an average detection time of 20.5 ms/image. Furthermore, to balance detection efficiency and accuracy, this study employed a sensitive band screening strategy, retaining only 5 sensitive bands to reduce the detection time to 10.3 ms/image while maintaining high detection accuracy (Precision 96.85%, Recall 0.953, mAP50 0.973). The improved YOLOv8 can detect maize kernel quickly, accurately and non-destructively, which is of great significance in crop detection. • A non-destructive maize kernel detection method using hyperspectral image is proposed. • Improved YOLOv8 target detection algorithm to adapt to hyperspectral image. • The improved YOLOv8 algorithm is used to detect five types of maize kernels. • The SCSA attention mechanism is used to distinguish different types of maize kernels.

Journal of Agriculture and Food ResearchVol. 27
North China Institute of Aerospace Engineering (CN), Weifang University of Science and Technology (CN), Xi'an Railway Survey and Design Institute (CN), China Meat Research Centre (CN), National Engineering Research Center for Information Technology in Agriculture (CN), Langfang Normal University (CN)
Peace, Justice and strong institutions
Openalex Percentile: Top 31%
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.