Xiang Shuai, Wang Siyu, Xu Mei, Wang Wenyan, Liu Weiguo
College of Agronomy, Sichuan Agricultural University, 211-Huimin Road, Wenjiang District, Chengdu, 611130, People's Republic of China.
Key Laboratory of Crop Ecophysiology and Farming System in Southwest China (Ministry of Agriculture), Sichuan Engineering Research Center for Crop Strip Intercropping System, Sichuan Agricultural University, Chengdu, 611130, People's Republic of China.
Plant Methods. 2023 Jan 28;19(1):8. doi: 10.1186/s13007-023-00985-4.
The number of soybean pods is one of the most important indicators of soybean yield, pod counting is crucial for yield estimation, cultivation management, and variety breeding. Counting pods manually is slow and laborious. For crop counting, using object detection network is a common practice, but the scattered and overlapped pods make the detection and counting of the pods difficult.
We propose an approach that we named YOLO POD, based on the YOLO X framework. On top of YOLO X, we added a block for predicting the number of pods, modified the loss function, thus constructing a multi-task model, and introduced the Convolutional Block Attention Module (CBAM). We achieve accurate identification and counting of pods without reducing the speed of inference. The results showed that the R between the number predicted by YOLO POD and the ground truth reached 0.967, which is improved by 0.049 compared to YOLO X, while the inference time only increased by 0.08 s. Moreover, MAE, MAPE, RMSE are only 4.18, 10.0%, 6.48 respectively, the deviation is very small.
We have achieved the first accurate counting of soybean pods and proposed a new solution for the detection and counting of dense objects.
大豆荚果数量是大豆产量的重要指标之一,荚果计数对于产量估算、栽培管理和品种选育至关重要。人工计数荚果既缓慢又费力。对于作物计数,使用目标检测网络是一种常见做法,但分散且重叠的荚果使得荚果的检测和计数变得困难。
我们基于YOLO X框架提出了一种名为YOLO POD的方法。在YOLO X的基础上,我们添加了一个用于预测荚果数量的模块,修改了损失函数,从而构建了一个多任务模型,并引入了卷积块注意力模块(CBAM)。我们在不降低推理速度的情况下实现了对荚果的准确识别和计数。结果表明,YOLO POD预测的数量与真实数量之间的R值达到0.967,比YOLO X提高了0.049,而推理时间仅增加了0.08秒。此外,平均绝对误差(MAE)、平均绝对百分比误差(MAPE)、均方根误差(RMSE)分别仅为4.18、10.0%、6.48,偏差非常小。
我们首次实现了对大豆荚果的准确计数,并为密集物体的检测和计数提出了一种新的解决方案。