Open-World Object Counting in Videos
About
We introduce a new task of open-world object counting in videos: given a text description, or an image example, that specifies the target object, the objective is to enumerate all the unique instances of the target objects in the video. This task is especially challenging in crowded scenes with occlusions and objects of similar appearance, where avoiding double counting and identifying reappearances is crucial. To this end, we make the following contributions: we introduce a model, CountVid, for this task. It leverages an image-based counting model, and a promptable video segmentation and tracking model, to enable automated open-world object counting across video frames. To evaluate its performance, we introduce VideoCount, a new dataset for this novel task built from the TAO and MOT20 tracking datasets, as well as from videos of penguins and metal alloy crystallization captured by x-rays. Using this dataset, we demonstrate that CountVid provides accurate object counts, and significantly outperforms strong baselines. The VideoCount dataset, the CountVid model, and all the code are available at https://www.robots.ox.ac.uk/~vgg/research/countvid/.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Crowd Counting | ShanghaiTech Part B | MAE32.2 | 160 | |
| Crowd Counting | ShanghaiTech Part A | MAE132.2 | 138 | |
| Object Detection | FSCD-147 (test) | AP30.44 | 29 | |
| Counting | FSCD-147 (test) | MAE15.01 | 21 | |
| Object Counting | Blood Cell Detection (test) | MAE11.34 | 6 | |
| Object Counting | OmniCount Fruits (test) | MAE2.83 | 6 | |
| Object Detection | Blood Cell Detection (test) | AP25 | 5 | |
| Object Detection | OmniCount Fruits (test) | AP47 | 5 | |
| Video Counting | Science-Count Crystals (test) | MAE12 | 3 |