Zero-Shot Object Counting with Language-Vision Models

Jingyi Xu, Hieu Le, Dimitris Samaras
9/22/2023
cs.CV

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Class-agnostic object counting aims to count object instances of an arbitrary class at test time. It is challenging but also enables many potential applications. Current methods require human-annotated exemplars as inputs which are often unavailable for novel categories, especially for autonomous systems. Thus, we propose zero-shot object counting (ZSC), a new setting where only the class name is available during test time. This obviates the need for human annotators and enables automated operation. To perform ZSC, we propose finding a few object crops from the input image and use them as counting exemplars. The goal is to identify patches containing the objects of interest while also being visually representative for all instances in the image. To do this, we first construct class prototypes using large language-vision models, including CLIP and Stable Diffusion, to select the patches containing the target objects. Furthermore, we propose a ranking model that estimates the counting error of each patch to select the most suitable exemplars for counting. Experimental results on a recent class-agnostic counting dataset, FSC-147, validate the effectiveness of our method.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xu2023zeroshot,
  title  = {Zero-Shot Object Counting with Language-Vision Models},
  author = {Jingyi Xu and Hieu Le and Dimitris Samaras},
  year   = {2023},
  eprint = {2309.13097},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.13097v1}
}

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/2309.13097.svg)](https://codeofpaper.com/paper/2309.13097)

Discussion