Adaptive and dynamic convolution network for accurate and lightweight detection of unsound wheat kernels
Wheat, a global staple, is prone to unsound kernels during storage and processing, reducing quality, safety, and value. Rapid and accurate detection of these defects is critical for grain grading, pricing, and ensuring food safety. This study proposes YOLO-CAD, a lightweight composite-attention detection model derived from YOLOv11, specifically optimized for small-object recognition in complex backgrounds. The model integrates three key modules, ODConv, ADown, and CGLU, to (i) capture multi-scale textures, (ii) retain fine details while downsampling, and (iii) emphasize informative channels. A high-quality dataset of 2762 RGB images was constructed, covering one sound and four types of unsound kernels. Experimental results show that YOLO-CAD achieves an [email protected] of 92.6 % and [email protected]:0.95 of 50.0 %, improving by 3.2 % and 1.6 % over YOLOv11, respectively, while maintaining a low computational complexity of 7.2 GFLOPs. The model demonstrates enhanced robustness in recognizing kernels with blurred edges and subtle morphological differences, and achieves real-time inference at 20 FPS on Jetson Nano. Comparative analyses confirm YOLO-CAD's superior accuracy–efficiency balance and strong generalization under variable lighting conditions. This work provides an effective technical pathway for intelligent grain defect detection, contributing to the advancement of smart grain storage and food safety management. • Proposed YOLO-CAD, a lightweight composite-attention detection model optimized for unsound wheat kernel detection. • Integrated ODConv, ADown, and CGLU modules to enhance small-object detection under complex backgrounds. • Achieved 92.6 % [email protected] with only 7.2 GFLOPs, supporting real-time intelligent grain quality inspection.
Authors
- Dianxuan Wang
- Duangsamorn Suthisut
- Lei Yan (ORCID: https://orcid.org/0000-0002-6091-8732)
- Jianhua Lü (ORCID: https://orcid.org/0000-0002-0314-9172)
- Zhihong Guo (ORCID: https://orcid.org/0000-0003-0374-8412)
- Chao Zhao (ORCID: https://orcid.org/0000-0002-5350-9586)
- Chunqi Bai (ORCID: https://orcid.org/0000-0001-7532-1819)
Publication Details
- Journal
- Journal of Agriculture and Food Research
- Published
- 2025-12-03
- DOI
- https://doi.org/10.1016/j.jafr.2025.102556
- Citations
- 2
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 3.50