One to All: Toward a Unified Model for Counting Cereal Crop Heads Based on Few-Shot Learning
Authors:
Open Access
- 7 November 2024
- journal article
- research article
- Published by Elsevier in Plant Phenomics
- Vol. 6, 0271
Abstract
Accurate counting of cereals crops, e.g., maize, rice, sorghum, and wheat, is crucial for estimating grain production and ensuring food security. However, existing methods for counting cereal crops focus predominantly on building models for specific crop head; thus, they lack generalizability to different crop varieties. This paper presents Counting Heads of Cereal Crops Net (CHCNet), which is a unified model designed for counting multiple cereal crop heads by few-shot learning, which effectively reduces labeling costs. Specifically, a refined vision encoder is developed to enhance feature embedding, where a foundation model, namely, the segment anything model (SAM), is employed to emphasize the marked crop heads while mitigating complex background effects. Furthermore, a multiscale feature interaction module is proposed for integrating a similarity metric to facilitate automatic learning of crop-specific features across varying scales, which enhances the ability to describe crop heads of various sizes and shapes. The CHCNet model adopts a 2-stage training procedure. The initial stage focuses on latent feature mining to capture common feature representations of cereal crops. In the subsequent stage, inference is performed without additional training, by extracting domain-specific features of the target crop from selected exemplars to accomplish the counting task. In extensive experiments on 6 diverse crop datasets captured from ground cameras and drones, CHCNet substantially outperformed state-of-the-art counting methods in terms of cross-crop generalization ability, achieving mean absolute errors (MAEs) of 9.96 and 9.38 for maize, 13.94 for sorghum, 7.94 for rice, and 15.62 for mixed crops. A user-friendly interactive demo is available at http://cerealcropnet.com/, where researchers are invited to personally evaluate the proposed CHCNet. The source code for implementing CHCNet is available at https://github.com/Small-flyguy/CHCNet.Keywords
This publication has 50 references indexed in Scilit:
- A Multiscale Point-Supervised Network for Counting Maize Tassels in the WildPlant Phenomics, 2023
- A Tea Buds Counting Method Based on YOLOv5 and Kalman Filter Tracking AlgorithmPlant Phenomics, 2023
- Rice Plant Counting, Locating, and Sizing Method Based on High-Throughput UAV RGB ImagesPlant Phenomics, 2022
- Sorghum Panicle Detection and Counting Using Unmanned Aerial System Images and Deep LearningFrontiers in Plant Science, 2020
- Global Wheat Head Detection (GWHD) Dataset: A Large and Diverse Dataset of High-Resolution RGB-Labelled Images to Develop and Benchmark Wheat Head Detection MethodsPlant Phenomics, 2020
- High-Throughput Rice Density Estimation from Transplantation to Tillering Stages Using Deep NetworksPlant Phenomics, 2020
- TasselNetv2: in-field counting of wheat spikes with context-augmented local regression networksPlant Methods, 2019
- A Weakly Supervised Deep Learning Framework for Sorghum Head Detection and CountingPlant Phenomics, 2019
- TasselNet: counting maize tassels in the wild via local counts regression networkPlant Methods, 2017
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal NetworksIEEE Transactions on Pattern Analysis and Machine Intelligence, 2016