Abstract
Accurate estimation of wheat grain yield is fundamentally tied to the population density of wheat spikes. While computer vision offers a low-cost path to automation, traditional models struggle with the extreme density and visual complexity of field conditions. This paper introduces TasselNetv2, a convolutional neural network (CNN) designed to count wheat spikes in real-time. By utilizing visual context to resolve ambiguities in local patches and transitioning to a fully convolutional architecture, TasselNetv2 achieves state-of-the-art accuracy (91.01%) and a 13-fold speed increase over previous methods.
The Challenge of In-Field Counting
Estimating the "spike number per square meter" is a labor-intensive task for human experts and a significant hurdle for automated systems. The authors identify three primary obstacles in field-based counting:
- Extreme Density: High-resolution images can contain upwards of 10,000 spikes, making individual detection nearly impossible.
- Visual Complexity: Spikes are non-rigid, vary significantly across growth stages, and are frequently obscured by leaves or other spikes (occlusion).
- The "Partial Object" Problem: Patch-based regression models often struggle when a spike is bisected by the edge of a processing window. Without surrounding context, the model cannot distinguish between a small spike and a fragment of a larger one.
TasselNetv2 Methodology
TasselNetv2 introduces two key technical innovations to address these challenges without increasing model complexity.
Context Augmentation via Receptive Field Tuning
Standard CNNs often use zero-padding to maintain feature map dimensions, effectively "wasting" the edges of the receptive field. TasselNetv2 removes this padding, allowing the network to perceive the pixels surrounding a local patch—the "context." In practice, the model processes a $94 \times 94$ pixel area but only regresses the count for the central $64 \times 64$ region. This additional visual information allows the network to resolve ambiguities regarding partial objects at the patch boundaries without adding any trainable parameters.
Fully Convolutional Implementation
While the original TasselNet processed patches individually—leading to massive redundant calculations in overlapping areas—TasselNetv2 is implemented as a Fully Convolutional Network (FCN). This allows the model to take an entire high-resolution image as input and produce a comprehensive "count map" in a single forward pass, dramatically improving inference speed.
Experimental Results and Benchmarking
The authors validated TasselNetv2 using the new Wheat Spikes Counting (WSC) dataset, a massive benchmark containing 1,764 high-resolution images and over 675,000 manually annotated instances across multiple years and varieties.
- Accuracy: The model achieved a relative counting accuracy of 91.01% on the WSC dataset.
- Efficiency: TasselNetv2 processed $912 \times 1216$ images at 13.82 fps, compared to 1.05 fps for the original TasselNet. This 13x speedup enables real-time deployment in high-throughput phenotyping systems.
- Generalization: Beyond wheat, the model set new state-of-the-art records on the Maize Tassels Counting (MTC) dataset and performed competitively on the ShanghaiTech crowd counting benchmark, proving its utility for general dense object counting.
Conclusion
TasselNetv2 demonstrates that counting performance can be significantly improved by better utilizing existing receptive field space rather than simply increasing model size. By balancing accuracy and computational efficiency, it provides a robust solution for automated crop monitoring in the wild. Future work will focus on addressing the "underestimation gap" in ultra-dense clusters where extreme overlap remains a challenge even for state-of-the-art regression models.
Summary updated