TFCounter: Polishing Gems for Training-Free Object Counting
Lin JianfengTing PanWenhao YuWenlong ZhangXiaoying ChenJinlu ZhangHuang Binqiang
Lin Jianfeng
Ting Pan
Wenhao Yu
Wenlong Zhang
Xiaoying Chen
Jinlu Zhang
Huang Binqiang
+7
We present TFCounter, a training-free, class-agnostic object counter built by cascading essential components of large-scale foundation models. It uses an iterative counting framework with a dual prompt system to recognize diverse objects, and a context-aware similarity module that incorporates background context to improve accuracy in cluttered scenes. To test cross-domain generalizability, we introduce BIKE-1000, a dataset of 1000 shared-bicycle images from Meituan. Experiments on FSC-147, CARPK, and BIKE-1000 show TFCounter outperforms leading training-free methods and matches trained counterparts.

OpenReview ·
· September 14, 2024