← Papers

Paper record

SPCN: An Innovative Soybean Pod Counting Network Based on HDC Strategy and Attention Mechanism

Ximing Li · Yitao Zhuang · Jingye Li · Yue Zhang · Zhe Wang · Jiangsan Zhao · Dazhi Li · Yuefang Gao

Agriculture · 12 Aug 2024 · 10.3390/agriculture14081347

Abstract

Soybean pod count is a crucial aspect of soybean plant phenotyping, offering valuable reference information for breeding and planting management. Traditional manual counting methods are not only costly but also prone to errors. Existing detection-based soybean pod counting methods face challenges due to the crowded and uneven distribution of soybean pods on the plants. To tackle this issue, we propose a Soybean Pod Counting Network (SPCN) for accurate soybean pod counting. SPCN is a density map-based architecture based on Hybrid Dilated Convolution (HDC) strategy and attention mechanism for feature extraction, using the Unbalanced Optimal Transport (UOT) loss function for supervising density map generation. Additionally, we introduce a new diverse dataset, BeanCount-1500, comprising of 24,684 images of 316 soybean varieties with various backgrounds and lighting conditions. Extensive experiments on BeanCount-1500 demonstrate the advantages of SPCN in soybean pod counting with an Mean Absolute Error(MAE) and an Mean Squared Error(MSE) of 4.37 and 6.45, respectively, significantly outperforming the current competing method by a substantial margin. Its excellent performance on the Renshou2021 dataset further confirms its outstanding generalization potential. Overall, the proposed method can provide technical support for intelligent breeding and planting management of soybean, promoting the digital and precise management of agriculture in general.

Code and data availability

The paper's SPCN analysis code is stated to be publicly available on GitHub. The BeanCount-1500 dataset itself has no public deposit or availability statement (authors must be contacted), so it does not qualify as a public asset.

Codepublic

The source code is available at https://github.com/johnhamtom/ soybean_counting_SPCN (accessed on 10 August 2024).

Open resource ↗pdf-page:2 lines:1-58