CountGD: Multi-Modal Open-World Counting

Niki Amini-Naieni, Tengda Han, Andrew Zisserman
2/3/2026

No official code found. Best implementation: niki-amini-naieni/CountGD (315 stars, MIT, last commit 2025-06-25).

Abstract

The goal of this paper is to improve the generality and accuracy of open-vocabulary object counting in images. To improve the generality, we repurpose an open-vocabulary detection foundation model (GroundingDINO) for the counting task, and also extend its capabilities by introducing modules to enable specifying the target object to count by visual exemplars. In turn, these new capabilities - being able to specify the target object by multi-modalites (text and exemplars) - lead to an improvement in counting accuracy. We make three contributions: First, we introduce the first open-world counting model, CountGD, where the prompt can be specified by a text description or visual exemplars or both; Second, we show that the performance of the model significantly improves the state of the art on multiple counting benchmarks - when using text only, CountGD is comparable to or outperforms all previous text-only works, and when using both text and visual exemplars, we outperform all previous models; Third, we carry out a preliminary study into different interactions between the text and visual exemplar prompts, including the cases where they reinforce each other and where one restricts the other. The code and an app to test the model are available at https://www.robots.ox.ac.uk/~vgg/research/countgd/.

View on arXivView PDF

Code Implementations(1)

MIT

Includes the code for training and testing the CountGD model from the paper CountGD: Multi-Modal Open-World Counting.

31537C++, CudaJun 17, 20241 years agoMIT

Similar Papers

Cite this paper

@article{amininaieni2026countgd,
  title  = {CountGD: Multi-Modal Open-World Counting},
  author = {Niki Amini-Naieni and Tengda Han and Andrew Zisserman},
  year   = {2026},
  eprint = {2407.04619},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2407.04619},
  url    = {https://arxiv.org/abs/2407.04619},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.04619.svg)](https://codeofpaper.com/paper/2407.04619)

Discussion