TFCounter:Polishing Gems for Training-Free Object Counting

Pan Ting, Jianfeng Lin, Wenhao Yu, Wenlong Zhang, Xiaoying Chen +2 more
3/12/2024
cs.CV

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Object counting is a challenging task with broad application prospects in security surveillance, traffic management, and disease diagnosis. Existing object counting methods face a tri-fold challenge: achieving superior performance, maintaining high generalizability, and minimizing annotation costs. We develop a novel training-free class-agnostic object counter, TFCounter, which is prompt-context-aware via the cascade of the essential elements in large-scale foundation models. This approach employs an iterative counting framework with a dual prompt system to recognize a broader spectrum of objects varying in shape, appearance, and size. Besides, it introduces an innovative context-aware similarity module incorporating background context to enhance accuracy within messy scenes. To demonstrate cross-domain generalizability, we collect a novel counting dataset named BIKE-1000, including exclusive 1000 images of shared bicycles from Meituan. Extensive experiments on FSC-147, CARPK, and BIKE-1000 datasets demonstrate that TFCounter outperforms existing leading training-free methods and exhibits competitive results compared to trained counterparts.

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. 2 weaker matches are 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{ting2024tfcounterpolishing,
  title  = {TFCounter:Polishing Gems for Training-Free Object Counting},
  author = {Pan Ting and Jianfeng Lin and Wenhao Yu and Wenlong Zhang and Xiaoying Chen and Jinlu Zhang and Binqiang Huang},
  year   = {2024},
  eprint = {2405.02301},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.02301v1}
}

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

Discussion