An Improved YOLOv8n-Based Method for Detecting Rice Shelling Rate and Brown Rice Breakage Rate
Accurate and real-time detection of rice shelling rate (SR) and brown rice breakage rate (BR) is crucial for intelligent hulling sorting but remains challenging because of small grain size, dense adhesion, and uneven illumination causing missed detections and blurred boundaries in traditional YOLOv8n. This paper proposes a high-precision, lightweight solution based on an enhanced YOLOv8n with improvements in network architecture, feature fusion, and attention mechanism. The backbone’s C2f module is replaced with C2f-Faster-CGLU, integrating partial convolution (PConv) local convolution and convolutional gated linear unit (CGLU) gating to reduce computational redundancy via sparse interaction and enhance small-target feature extraction. A bidirectional feature pyramid network (BiFPN) weights multiscale feature fusion to improve edge positioning accuracy of dense grains. Attention mechanism for fine-grained classification (AFGC) is embedded to focus on texture and damage details, enhancing adaptability to light fluctuations. The Detect_Rice lightweight head compresses parameters via group normalization and dynamic convolution sharing, optimizing small-target response. The improved model achieved 96.8% precision and 96.2% mAP. Combined with a quantity–mass model, SR/BR detection errors reduced to 1.11% and 1.24%, meeting national standard (GB/T 29898-2013) requirements, providing an effective real-time solution for intelligent hulling sorting.
Authors
- Zhaoyun Wu
- F. C. Shen
- Xuewu He
- Yingjun Zhang (ORCID: https://orcid.org/0000-0001-5776-4392)
- Zhongwei Zhang (ORCID: https://orcid.org/0000-0002-6447-5334)
- Yufei Zhou (ORCID: https://orcid.org/0000-0002-9688-1564)
- Hongyu Zhong
- Li Li (ORCID: https://orcid.org/0009-0004-0758-3672)
Institutions
- Henan University of Technology (CN)
- Intelligent Health (United Kingdom) (GB)
Publication Details
- Journal
- Agriculture
- Published
- 2025-07-24
- DOI
- https://doi.org/10.3390/agriculture15151595
- Citations
- 1
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 1.75
Funders
- Education Department of Henan Province