Zero-shot Object Counting with Good Exemplars

Huilin Zhu, Jingling Yuan, Zhengwei Yang, Yu Guo, Zheng Wang +2 more
2/14/2026

No official code found. Best implementation: HopooLinZ/VA-Count (27 stars, MIT, last commit 2024-09-27).

Abstract

Zero-shot object counting (ZOC) aims to enumerate objects in images using only the names of object classes during testing, without the need for manual annotations. However, a critical challenge in current ZOC methods lies in their inability to identify high-quality exemplars effectively. This deficiency hampers scalability across diverse classes and undermines the development of strong visual associations between the identified classes and image content. To this end, we propose the Visual Association-based Zero-shot Object Counting (VA-Count) framework. VA-Count consists of an Exemplar Enhancement Module (EEM) and a Noise Suppression Module (NSM) that synergistically refine the process of class exemplar identification while minimizing the consequences of incorrect object identification. The EEM utilizes advanced vision-language pretaining models to discover potential exemplars, ensuring the framework's adaptability to various classes. Meanwhile, the NSM employs contrastive learning to differentiate between optimal and suboptimal exemplar pairs, reducing the negative effects of erroneous exemplars. VA-Count demonstrates its effectiveness and scalability in zero-shot contexts with superior performance on two object counting datasets.

View on arXivView PDF

Code Implementations(1)

HopooLinZ/VA-CountCommunity63%
MIT

Zero-shot Object Counting with Good Exemplars[ECCV 2024]

272PythonJul 2, 20242 years agoMIT

Similar Papers

Cite this paper

@article{zhu2026zeroshot,
  title  = {Zero-shot Object Counting with Good Exemplars},
  author = {Huilin Zhu and Jingling Yuan and Zhengwei Yang and Yu Guo and Zheng Wang and Xian Zhong and Shengfeng He},
  year   = {2026},
  eprint = {2407.04948},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2407.04948},
  journal = {ECCV 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.04948.svg)](https://codeofpaper.com/paper/2407.04948)

Discussion