Count Anything
Not on the map. Why?
Abstract (arXiv)
Object counting remains fragmented across domain-specific datasets and task formulations, despite rapid progress in generalist vision models. Existing counting models are often tailored to scenarios such as crowds, vehicles, cells, crops, or remote-sensing objects, and thus struggle to generalize across categories, visual domains, object scales, and density distributions. In this paper, we study text-guided object counting across domains, where a model takes an image and a natural-language query as input and returns an instance-grounded set of target points whose cardinality gives the count. This formulation unifies category-conditioned counting with interpretable spatial localization. To support this setting, we construct CLOC, a Cross-domain Large-scale Object Counting dataset that reorganizes diverse public data sources into a unified benchmark. CLOC covers six visual domains: General Scene, Remote Sensing, Histopathology, Cellular Microscopy, Agriculture, and Microbiology, with about 220K images, 619 categories, and 15M object instances. Based on CLOC, we propose Count Anything, a generalist model for text-guided object counting. Unlike density-map-based methods, which dominate counting models, Count Anything adopts discrete instance points and performs dual-granularity instance enumeration. A Region-level Sparse Counter provides object-level anchors for large and sparse targets, while a Pixel-level Dense Counter handles small, crowded, and weakly bounded targets via dense point prediction. A point-centric supervision strategy enables learning from heterogeneous annotations, and Complementary Count Fusion combines both counters in a parameter-free manner. Extensive experiments show that Count Anything achieves strong accuracy and multi-domain generalization, outperforming existing open-world counting methods. Code is available at: https://github.com/Mengqi-Lei/count-anything.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 66 of its 92 references that are in the map. First posted on arXiv 29 May 2026.
Builds on
66 of 92 references.
References · 66
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2023Segment Anythingcited by 8,158
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
- 2023Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detectioncited by 3,274
- 2015Flickr30k Entities: Collecting Region-to-Phrase Correspondences for Richer Image-to-Sentence Modelscited by 1,352
- 2019LVIS: A Dataset for Large Vocabulary Instance Segmentationcited by 1,215
- 2021Grounded Language-Image Pre-trainingcited by 1,147
- 2025SAM 3: Segment Anything with Conceptscited by 835
- 2021Florence: A New Foundation Model for Computer Visioncited by 802
- 2021MedMNIST v2 -- A large-scale lightweight benchmark for 2D and 3D biomedical image classificationcited by 682
38 more
- 2017DOTA: A Large-scale Dataset for Object Detection in Aerial Imagescited by 622
- 2021The Medical Segmentation Decathloncited by 620
- 2024YOLO-World: Real-Time Open-Vocabulary Object Detectioncited by 498
- 2019Object Detection in Optical Remote Sensing Images: A Survey and A New Benchmarkcited by 339
- 2018CSRNet: Dilated Convolutional Neural Networks for Understanding the Highly Congested Scenescited by 267
- 2020Detection and Tracking Meet Drones Challengecited by 261
- 2021Object Detection in Aerial Images: A Large-Scale Benchmark and Challengescited by 202
- 2019Bayesian Loss for Crowd Count Estimation with Point Supervisioncited by 162
- 2017Drone-based Object Counting by Spatially Regularized Regional Proposal Networkcited by 155
- 2021Rethinking Counting and Localization in Crowds:A Purely Point-Based Frameworkcited by 152
- 2020NWPU-Crowd: A Large-Scale Benchmark for Crowd Counting and Localizationcited by 151
- 2021Learning To Count Everythingcited by 149
- 2018xView: Objects in Context in Overhead Imagerycited by 145
- 2020Distribution Matching for Crowd Countingcited by 143
- 2021MSeg: A Composite Dataset for Multi-domain Semantic Segmentationcited by 122
- 2020JHU-CROWD++: Large-Scale Crowd Counting Dataset and A Benchmark Methodcited by 109
- 2021Lizard: A Large-Scale Dataset for Colonic Nuclear Instance Segmentation and Classificationcited by 89
- 2023CLIP-Count: Towards Text-Guided Zero-Shot Object Countingcited by 82
- 2022CounTR: Transformer-based Generalised Visual Countingcited by 79
- 2016A Survey on Object Detection in Optical Remote Sensing Imagescited by 78
- 2019Locate, Size and Count: Accurately Resolving People in Dense Crowds via Detectioncited by 73
- 2022A Low-Shot Object Counting Network With Iterative Prototype Adaptationcited by 65
- 2024CountGD: Multi-Modal Open-World Countingcited by 59
- 2023Zero-shot Object Countingcited by 57
- 2022Few-shot Object Counting and Detectioncited by 55
- 2024Vision Foundation Models in Remote Sensing: A Surveycited by 52
- 2024DAVE -- A Detect-and-Verify Paradigm for Low-Shot Countingcited by 49
- 2023VLCounter: Text-aware Visual Representation for Zero-Shot Object Countingcited by 45
- 2020Global Wheat Head Detection (GWHD) dataset: a large and diverse dataset of high resolution RGB labelled images to develop and benchmark wheat head detection methodscited by 42
- 2022Learning to Count Anything: Reference-less Class-agnostic Counting with Weak Supervisioncited by 41
- 2023Open-world Text-specified Object Countingcited by 41
- 2023Point, Segment and Count: A Generalized Framework for Object Countingcited by 39
- 2021NuCLS: A scalable crowdsourcing, deep learning approach and dataset for nucleus classification, localization and segmentationcited by 33
- 2022BigDetection: A Large-scale Benchmark for Improved Object Detector Pre-trainingcited by 33
- 2023CoNIC Challenge: Pushing the Frontiers of Nuclear Detection, Segmentation, Classification and Countingcited by 33
- 2021Detection, Tracking, and Counting Meets Drones in Crowds: A Benchmarkcited by 30
- 2021CCTrans: Simplifying and Improving Crowd Counting with Transformercited by 30
- 2023NuInsSeg: A Fully Annotated Dataset for Nuclei Instance Segmentation in H&E-Stained Histological Imagescited by 29
50 most cited of 66 All 66 (JSON)
Built on by
Not cited yet.