Abstract:Objective In order to improve the grading detection accuracy and speed of hybrid rice seed vigor. Method A rapid grading detection method for hybrid rice bud seeds named YOLOv5-I model, which was an improved model based on YOLOv5, was proposed. The feature extraction ability of the target channel of YOLOv5-I model was improved by introducing the SE (Squeeze-and-excitation) attention mechanism module, and a CIoU loss function strategy was adopted to improve the convergence speed of this model. Result The YOLOv5-I algorithm effectively achieved the rapid grading detection of hybrid rice bud seeds, with high detection accuracy and speed. In the test set, the average accuracy of the YOLOv5-I model was 97.52%, the average detection time of each image was 3.745 ms, and the memory space occupied by the YOLOv5-I model was small with 13.7 MB. The detection accuracy and speed of YOLOv5-I model was better than those of YOLOv5s, Faster-RCNN, YOLOv4 and SSD models. Conclusion The YOLOv5-I algorithm is better than existing algorithms, improves detection accuracy and speed, and can meet the practical requirement for grading detection of hybrid rice bud seeds.