A CNN-Based Image Detection System for Full-Surface Defects in Brown Rice
In order to enable accurate and efficient rice quality evaluation through full-surface defect detection of brown rice, a detection system based on convolutional neural network (CNN) was developed. A dataset of images of five categories—unhulled, normal, broken, cracked, and insect-bitten brown rice—was collected. Three CNN models, YOLOv5s, YOLOv7, and Faster R-CNN, were evaluated and compared with traditional algorithms including support vector machine (SVM) and back propagation (BP) neural networks. Experimental results showed that CNN-based methods in the present database significantly outperformed traditional approaches, with the YOLOv5s model achieving the best comprehensive performance: 95.80% detection accuracy, 10.90 ms inference time per image, and 92 frames/s processing speed. An improved Rice-YOLOv5s algorithm was further proposed and validated through batch detection experiments, achieving an average recognition accuracy of 96.44% and a processing time of 9.2 ms per image, which is equivalent to approximately 108.7 FPS. This study demonstrates the feasibility of CNN-based brown rice defect detection, with future work directed toward lightweight deployment and multimodal fusion for production-line application.
Authors
- Minji Liu
- Zhaoyan You
- Huanxiong Xie (ORCID: https://orcid.org/0000-0002-9538-7337)
- Jianchun Yan (ORCID: https://orcid.org/0000-0002-1498-267X)
- Jiannan Wang (ORCID: https://orcid.org/0009-0005-3367-0830)
- Hai Wei
Institutions
- Nanjing Agricultural University (CN)
- Ministry of Agriculture and Rural Affairs (CN)
- Nanjing Institute of Agricultural Mechanization (CN)
Publication Details
- Journal
- Foods
- Published
- 2026-08-20
- DOI
- https://doi.org/10.3390/foods15162910
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00