Content area
Accurate millet appearance quality assessment is critical for fair procurement pricing. Traditional manual inspection is time-consuming and subjective, necessitating an automated solution. This study proposes a machine-vision-based approach using deep learning for dense-scene millet detection and quality evaluation. High-resolution images of standardized millet samples were collected via smartphone and annotated into seven categories covering impurities, high-quality grains, and various defects. To address the challenges with small object detection and feature loss, the YOLO11s model with an overlap-partitioning strategy were introduced, dividing the high-resolution images into smaller patches for improved object representation. The experimental results show that the optimized model achieved a mean average precision (mAP) of 94.8%, significantly outperforming traditional whole-image detection with a mAP of 15.9%. The optimized model was deployed in a custom-developed mobile application, enabling low-cost, real-time millet inspection directly on smartphones. It can process full-resolution images (4608 × 3456 pixels) containing over 5000 kernels within 6.8 s. This work provides a practical solution for on-site quality evaluation in procurement and contributes to real-time agricultural inspection systems.
Details
Deep learning;
Image resolution;
Smartphones;
Inspection;
Applications programs;
Procurement;
Impurities;
Image detection;
Mobile computing;
Grain;
Automation;
Millet;
Partitioning;
Quality assessment;
Machine vision;
Quality control;
High resolution;
Support vector machines;
Rice;
Image quality;
Object recognition;
Real time
; Fu Longsheng 3
1 College of Mechanical and Electronic Engineering, Northwest A&F University, Yangling 712100, [email protected] (X.W.);
2 College of Mechanical and Electronic Engineering, Northwest A&F University, Yangling 712100, [email protected] (X.W.);, Department of Biological Systems Engineering, Washington State University, 213 L.J. Smith Hall, Pullman, WA 99164-6120, USA
3 College of Mechanical and Electronic Engineering, Northwest A&F University, Yangling 712100, [email protected] (X.W.);, Key Laboratory of Agricultural Internet of Things, Ministry of Agriculture and Rural Affairs, Yangling 712100, China, Shaanxi Key Laboratory of Agricultural Information Perception and Intelligent Service, Yangling 712100, China, Northwest A&F University Shenzhen Research Institute, Shenzhen 518000, China