Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Plant Sci.

Sec. Sustainable and Intelligent Phytoprotection

This article is part of the Research TopicNew Methods and Applications of Vegetation Remote Sensing MonitoringView all 3 articles

SoyCountNet: A Deep Learning Framework for Counting and Locating Soybean Seeds in Field Environment

Provisionally accepted
Fei  LiuFei Liu1,2Qiong  WuQiong Wu1Haoyu  WangHaoyu Wang1Zhongzhi  HanZhongzhi Han1Shudong  WangShudong Wang2Longgang  ZhaoLonggang Zhao1Zhaohua  WangZhaohua Wang3Hexiang  LuanHexiang Luan4*
  • 1Qingdao Agricultural University, Qingdao, China
  • 2China University of Petroleum East China, Qingdao, China
  • 3Shandong Academy of Agricultural Sciences, Jinan, China
  • 4College of Life Sciences, Qingdao Agricultural University, Qingdao, China

The final, formatted version of the article will be published soon.

Abstract Introduction: Accurate counting and spatial localization of soybean seeds—particularly Seeds Per Plant (SPP)— are critical for yield estimation and cultivar evaluation. In field environments, however, complex backgrounds, pod occlusion, and uneven grain filling make high-precision counting challenging, and traditional methods often struggle to balance accuracy and robustness. Methods: To address these challenges, this study proposes SoyCountNet, a deep learning framework for automatic soybean seed counting and localization at the single-plant level under field conditions. The model is built on a self-constructed field-based phenotyping platform and optimized using the lightweight Point-to-Point Network (P2PNet). For feature extraction, a VGG19_BN backbone and a Super Token Sampling Vision Transformer (SViT) module are employed to enhance local feature representation and global contextual understanding. During feature fusion, the Efficient Channel Attention (ECA) mechanism strengthens seed-related features while suppressing interference from leaves, stems, and soil. Furthermore, an improved loss function that combines point-distance constraints with overlap penalties enhances both counting precision and spatial consistency. Results: Experimental results demonstrate that SoyCountNet outperforms existing approaches on the field soybean dataset. It achieves a mean absolute error (MAE) of 4.61, a root mean square error (RMSE) of 6.03, and a coefficient of determination (R²) of 0.94. The model demonstrates consistent performance across the tested soybean cultivars, providing reliable SPP estimates within the evaluated dataset. Discussion: These findings indicate that SoyCountNet offers a reliable and scalable solution for precise soybean seed counting and localization in complex field environments. Its lightweight architecture allows deployment on intelligent agricultural platforms, supporting high-throughput phenotyping, yield prediction, and precision breeding, while providing a foundation for the future development of intelligent and sustainable agricultural technologies.

Keywords: attention mechanism, deep learning, Point-to-point network, Precision breeding, Seeds per plant

Received: 11 Nov 2025; Accepted: 09 Feb 2026.

Copyright: © 2026 Liu, Wu, Wang, Han, Wang, Zhao, Wang and Luan. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: Hexiang Luan

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.