Zero-Shot Object Counting

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. Such a counting system does not require human annotators in the loop and can operate automatically. Starting from a class name, we propose a method that can accurately identify the optimal patches which can then be used as counting exemplars. Specifically, we first construct a class prototype to select the patches that are likely to contain the objects of interest, namely class-relevant patches. Furthermore, we introduce a model that can quantitatively measure how suitable an arbitrary patch is as a counting exemplar. By applying this model to all the candidate patches, we can select the most suitable patches as exemplars for counting. Experimental results on a recent class-agnostic counting dataset, FSC-147, validate the effectiveness of our method.

Cite

Text

Xu et al. "Zero-Shot Object Counting." Conference on Computer Vision and Pattern Recognition, 2023. doi:10.1109/CVPR52729.2023.01492

Markdown

[Xu et al. "Zero-Shot Object Counting." Conference on Computer Vision and Pattern Recognition, 2023.](https://mlanthology.org/cvpr/2023/xu2023cvpr-zeroshot/) doi:10.1109/CVPR52729.2023.01492

BibTeX

@inproceedings{xu2023cvpr-zeroshot,
  title     = {{Zero-Shot Object Counting}},
  author    = {Xu, Jingyi and Le, Hieu and Nguyen, Vu and Ranjan, Viresh and Samaras, Dimitris},
  booktitle = {Conference on Computer Vision and Pattern Recognition},
  year      = {2023},
  pages     = {15548-15557},
  doi       = {10.1109/CVPR52729.2023.01492},
  url       = {https://mlanthology.org/cvpr/2023/xu2023cvpr-zeroshot/}
}