Abstract:In the process of using rice seeds, it was essential to classify them, but this problem was highly challenging because rice seeds have similar visual appearance. To address the challenges associated with recognizing multiple rice seed varieties, specifically the abundance of morphological features and the high classification complexity, a classification network based on depth feature local resampling fusion (DFLRF) was proposed to classify and identify 36 types of rice seeds. ConvNeXt was adopted as the backbone network to extract feature representations of the seeds. Subsequently, a global feature extraction branch was constructed by using the feature intensification attention module (FIAM), while the local feature extraction branch was built by using both the multi-channel convolutional local resampling module (MCLRM) and FIAM. The global and local features were then fused, and under the supervision of the CosFace loss, rice seed varieties with highly similar visual characteristics were accurately identified. A self-collected dataset was utilized. Experimental results demonstrated that the proposed ConvNeXt-DFLRF model achieved an overall accuracy of 86.90%, marking a 5.88 percentage points improvement over the baseline model. When compared with mainstream architectures such as InceptionResNetV2 and EfficientNetV2, the proposed model exhibited improvements ranging from 2.92 to 8.8 percentage points, achieving the highest recognition performance among the tested methods. These findings confirmed that the proposed model was effective in classifying 36 rice seed varieties and provided a novel and efficient solution for multi-type rice seed classification and recognition tasks.