发布时间:2026-09-02
点击次数:
| 影响因子: | 10.3 |
| DOI码: | 10.1016/j.compag.2025.110635 |
| 所属单位: | 长江大学计算机科学学院 |
| 发表刊物: | Computers and Electronics in Agriculture |
| 刊物所在地: | Amsterdam, Netherlands |
| 关键字: | Pest counting; Pest detection; Visual prompt; Self-attention; Field pest monitoring |
| 摘要: | Accurate field pest counting is crucial for timely reporting, rational pesticide use, and effective pest control. However, existing methods struggle with precisely detecting andcounting the tiny pests in field conditions due to two challenges: (I) environmental complexity and the minimal distinctive features of pests, which lead to high False Negative (FN) and False Positive (FP) rates; and (II) the inability to correct detection errors through secondary optimization. We propose the Prompt-Guided Pest Counter (PGPC), a method using visual prompts to improve detection and counting. Firstly, PGPC employs a fully convolutional encoder-decoder architecture with Patch Self Attention (PSA) to enhance feature extraction capability. It is trained using Object Counting Loss (OC Loss) to enable precise detection and counting by predicting the location of each pest. Secondly, we introduce a visual prompt-based FN-FP prototype matching branch to address detection errors. This branch uses a small number of prompt boxes to extract features and generates response maps, which are then fused with original features via an Adaptive Feature Gate (AFG) to perform secondary optimization on erroneous results. We collected a large-scale rice planthopper dataset from 2023 to 2024, containing over 250,000 annotations, and categorized into low-, medium-, and high-densities based on pest counts. Detection accuracy and counting errors were employed as evaluation metrics. The results demonstrate that visual prompts can optimize detection in complex environments, improving the model’s F1-score by 2.11% and reducing RMSE by 22.4% and 22.6% for medium- and high-densities, respectively. Ultimately, PGPC achieves an F1-score of 88.52%, with RMSE of 2.08, 5.97, and 10.81 for low-, medium-, and high-densities. Compared to state-of-the-art methods, PGPC maintains lower computational overhead while delivering competitive detection and counting performance. |
| 合写作者: | Hongshen Guo, Yu Zhang, Zhou Ke, Yuheng Guo, Kanglin Sun, Sisi Tong, Zhangzhang He, Liang Zhang, Lianyou Gui |
| 第一作者: | Zhiliang Zhang |
| 论文类型: | 期刊论文 |
| 通讯作者: | Wei Zhan |
| 论文编号: | 20260830-002 |
| 文献类型: | 期刊 |
| 卷号: | 237 |
| 期号: | Part B |
| 页面范围: | 110635 |
| ISSN号: | 0168-1699 |
| 发表时间: | 2025-06-08 |