The dataset used and/or analyzed during the current study is publicly available at: https://kaggle.com/datasets/ociule/wheat-grain-counting-100-images.
Open resource ↗kaggle · ociule/wheat-grain-counting-100-images · lines:1190-1253Unverified paper record
Advanced deep learning vision transformer models for intelligent grain counting in agricultural data analytics.
Scientific reports · 21 Apr 2026 · 10.1038/s41598-026-49819-y
Abstract
Grain number estimation plays a crucial role in agriculture, serving as a key indicator for crop yield and quality assessment. With advances in computer vision, automatic grain detection has become a significant research area, where deep learning methods have shown remarkable promise. This study proposes a vision transformer model called Swin Transformer, which leverages hierarchical attention mechanisms across shifted windows to effectively capture both local and global features of grains in complex imagery. The model achieves the highest accuracy of 98%, outperforming baseline traditional CNN (ResNet-50) and DINO models in grain counting tasks. To support and validate model performance, explainable AI (XAI) techniques such as Grad-CAM and LIME are employed, highlighting the interpretability and focus of the model on relevant grain regions. Furthermore, a comprehensive empirical analysis is conducted using multiple statistical tests to evaluate the model's robustness and generalizability across various grain morphological parameters, establishing the Swin Transformer as a powerful and interpretable solution for intelligent grain counting in agricultural data analytics.
Plant phenotyping relevance
画像から穀粒数を推定する深層学習手法の開発・比較検証が研究の中心であり、植物の収量関連形質を測定するため、植物フェノタイピング手法として収録する。
abstractThis study proposes a vision transformer model called Swin Transformer
abstractThe model achieves the highest accuracy of 98%, outperforming baseline traditional CNN (ResNet-50) and DINO models in grain counting tasks.
abstracta comprehensive empirical analysis is conducted using multiple statistical tests to evaluate the model's robustness and generalizability across various grain morphological parameters
Code and data availability
The paper's Data availability statement names a public Kaggle dataset of wheat grain counting images used for the study's grain counting experiments. No author analysis code or trained model checkpoints are disclosed.
This is an automatically classified, unverified record. Curator approval is required before any resource enters the Catalog.