Abstract:The planting density of rice in the early seedling stage is closely related to yield estimation and field management. With the development of computer vision technology, the use of drone image recognition technology to automatically count rice is gradually replacing traditional manual sampling and counting methods. However, images taken by drones have problems such as irregular rice seedling shapes, overlapping rice seedlings, scale changes, and background occlusion, which lead to deviations in feature learning, which in turn affects the accurate estimation of rice density and the efficiency of computational prediction. Significant relative size differences among rice seedlings will also become another important factor affecting counting accuracy. In response to these problems, a rice seedling counting algorithm (rice counting network, RCN) was proposed based on an improved multi-column convolutional neural network. Based on the size and shape of the target, an improved Gaussian density kernel was proposed, which combined the similarity information of the rice image and the RGB image of the center point to make the density kernel more suitable for the texture of the rice seedlings. The number of rice ears of different sizes and shapes was quantified, and the scales were divided finely to calculate the receptive field sizes of different features that needed to be fused. The fusion expansion convolution module was used to increase the receptive field size and enhance the model’s multi-scale capabilities. On this basis, appropriate attention mechanisms were added to the pathways at different scales to enhance attention to reasonable information about rice seedlings at different scales. It showed obvious effectiveness in scenes with complex backgrounds, multi-scales and dense occlusions. On the RSD2023 data set captured at a height of 5 m, RCN’s mean absolute error MAE=3.10holes/m2 and mean square error MSE=4.03holes2/m4, which were better than that of the mainstream algorithms such as MCNN, CSRNet, SCAR and TasselNetV2