T-Rex: Counting by Visual Prompting
Not on the map. Why?
Abstract (arXiv)
We introduce T-Rex, an interactive object counting model designed to first detect and then count any objects. We formulate object counting as an open-set object detection task with the integration of visual prompts. Users can specify the objects of interest by marking points or boxes on a reference image, and T-Rex then detects all objects with a similar pattern. Guided by the visual feedback from T-Rex, users can also interactively refine the counting results by prompting on missing or falsely-detected objects. T-Rex has achieved state-of-the-art performance on several class-agnostic counting benchmarks. To further exploit its potential, we established a new counting benchmark encompassing diverse scenarios and challenges. Both quantitative and qualitative results show that T-Rex possesses exceptional zero-shot counting capabilities. We also present various practical application scenarios for T-Rex, illustrating its potential in the realm of visual prompting.
Key facts. Cited by 20 papers in the map (data through 7 Oct 2026). Builds on 44 of its 52 references that are in the map. First posted on arXiv 22 Nov 2023.
Builds on
44 of 52 references.
References · 44
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2023Segment Anythingcited by 8,158
- 2023Visual Instruction Tuningcited by 7,792
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
- 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,069
- 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,466
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
- 2023Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detectioncited by 3,274
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
32 more
- 2022Survey of Hallucination in Natural Language Generationcited by 2,056
- 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,306
- 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,265
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
- 2023ImageBind: One Embedding Space To Bind Them Allcited by 1,162
- 2021Grounded Language-Image Pre-trainingcited by 1,147
- 2023Kosmos-2: Grounding Multimodal Large Language Models to the Worldcited by 1,075
- 2023The Dawn of LMMs: Preliminary Explorations with GPT-4V(ision)cited by 677
- 2022Detecting Twenty-thousand Classes using Image-level Supervisioncited by 613
- 2022GIT: A Generative Image-to-text Transformer for Vision and Languagecited by 536
- 2023VisionLLM: Large Language Model is also an Open-Ended Decoder for Vision-Centric Taskscited by 499
- 2022InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutionscited by 479
- 2022Mask DINO: Towards A Unified Transformer-based Framework for Object Detection and Segmentationcited by 341
- 2022DETRs with Collaborative Hybrid Assignments Trainingcited by 273
- 2023Semantic-SAM: Segment and Recognize Anything at Any Granularitycited by 185
- 2017Drone-based Object Counting by Spatially Regularized Regional Proposal Networkcited by 155
- 2021Learning To Count Everythingcited by 149
- 2023Meta-Transformer: A Unified Framework for Multimodal Learningcited by 136
- 2023PaLI-3 Vision Language Models: Smaller, Faster, Strongercited by 125
- 2023KOSMOS-2.5: A Multimodal Literate Modelcited by 95
- 2016A Large Contextual Dataset for Classification, Detection and Counting of Cars with Deep Learningcited by 86
- 2023CLIP-Count: Towards Text-Guided Zero-Shot Object Countingcited by 82
- 2022Represent, Compare, and Learn: A Similarity-Aware Framework for Class-Agnostic Countingcited by 80
- 2022CounTR: Transformer-based Generalised Visual Countingcited by 79
- 2023OtterHD: A High-Resolution Multi-modality Modelcited by 72
- 2020Localization in the Crowd with Topological Constraintscited by 68
- 2022A Low-Shot Object Counting Network With Iterative Prototype Adaptationcited by 65
- 2022Few-shot Object Counting with Similarity-Aware Feature Enhancementcited by 62
- 2022Few-shot Object Counting and Detectioncited by 55
- 2023Multi-modal Queried Object Detection in the Wildcited by 47
- 2021Object Counting: You Only Need to Look at Onecited by 13
- 2023Interactive Class-Agnostic Object Countingcited by 8
Built on by
Citing papers per year: 2024: 6; 2025: 9; 2026: 5.
20 papers.
Sort:
By area:
- 2024VisionLLM v2: An End-to-End Generalist Multimodal Large Language Model for Hundreds of Vision-Language Taskscited by 136
- 2024T-Rex2: Towards Generic Object Detection via Text-Visual Prompt Synergycited by 94
- 2024DINO-X: A Unified Vision Model for Open-World Object Detection and Understandingcited by 85
- 2025Detect Anything via Next Point Predictioncited by 66
- 2025YOLOE: Real-Time Seeing Anythingcited by 36
- 2024Griffon v2: Advancing Multimodal Perception with High-Resolution Scaling and Visual-Language Co-Referringcited by 29
- 2025Rex-Thinker: Grounded Object Referring via Chain-of-Thought Reasoningcited by 23
- 2025CrowdVLM-R1: Expanding R1 Ability to Vision Language Model for Crowd Counting using Fuzzy Group Relative Policy Rewardcited by 15
- 2025OpenRSD: Towards Open-prompts for Object Detection in Remote Sensing Imagescited by 9
- 2025DINO-R1: Incentivizing Reasoning Capability in Vision Foundation Modelscited by 5
- 2024LOCR: Location-Guided Transformer for Optical Character Recognitioncited by 3
- 2026PET-DINO: Unifying Visual Cues into Grounding DINO with Prompt-Enriched Trainingcited by 3
8 more
- 2026DETR-ViP: Detection Transformer with Robust Discriminative Visual Promptscited by 2
- 2025Expanding Zero-Shot Object Counting with Rich Promptscited by 1
- 2024ChatGPT and general-purpose AI count fruits in pictures surprisingly wellcited by 0
- 2025RWKV-UI: UI Understanding with Enhanced Perception and Reasoningcited by 0
- 2025ZERO: Industry-ready Vision Foundation Model with Multi-modal Promptscited by 0
- 2026ABACUS: Adapting Unified Foundation Model for Bridging Image Count Understanding and Generationcited by 0
- 2026Object Counting Across Modalities: Taxonomies, Benchmarks, Applications, and Open Challengescited by 0
- 2026OPUS: A Simple yet Effective Unified Framework for Open-Vocabulary Detectioncited by 0
- 2026OPUS: A Simple yet Effective Unified Framework for Open-Vocabulary Detection31 Aug 2026
- 2026Object Counting Across Modalities: Taxonomies, Benchmarks, Applications, and Open Challenges24 Aug 2026
- 2026ABACUS: Adapting Unified Foundation Model for Bridging Image Count Understanding and Generation22 Jun 2026
- 2026DETR-ViP: Detection Transformer with Robust Discriminative Visual Prompts16 Apr 2026
- 2026PET-DINO: Unifying Visual Cues into Grounding DINO with Prompt-Enriched Training1 Apr 2026
- 2025Detect Anything via Next Point Prediction14 Oct 2025
- 2025ZERO: Industry-ready Vision Foundation Model with Multi-modal Prompts6 Jul 2025
- 2025Rex-Thinker: Grounded Object Referring via Chain-of-Thought Reasoning4 Jun 2025
- 2025DINO-R1: Incentivizing Reasoning Capability in Vision Foundation Models29 May 2025
- 2025Expanding Zero-Shot Object Counting with Rich Prompts21 May 2025
- 2025CrowdVLM-R1: Expanding R1 Ability to Vision Language Model for Crowd Counting using Fuzzy Group Relative Policy Reward31 Mar 2025
- 2025YOLOE: Real-Time Seeing Anything10 Mar 2025
8 more
- 2025OpenRSD: Towards Open-prompts for Object Detection in Remote Sensing Images8 Mar 2025
- 2025RWKV-UI: UI Understanding with Enhanced Perception and Reasoning6 Feb 2025
- 2024DINO-X: A Unified Vision Model for Open-World Object Detection and Understanding21 Nov 2024
- 2024VisionLLM v2: An End-to-End Generalist Multimodal Large Language Model for Hundreds of Vision-Language Tasks12 Jun 2024
- 2024ChatGPT and general-purpose AI count fruits in pictures surprisingly well12 Apr 2024
- 2024T-Rex2: Towards Generic Object Detection via Text-Visual Prompt Synergy21 Mar 2024
- 2024Griffon v2: Advancing Multimodal Perception with High-Resolution Scaling and Visual-Language Co-Referring14 Mar 2024
- 2024LOCR: Location-Guided Transformer for Optical Character Recognition4 Mar 2024
- 2025Rex-Thinker: Grounded Object Referring via Chain-of-Thought Reasoningcited by 23
- 2025CrowdVLM-R1: Expanding R1 Ability to Vision Language Model for Crowd Counting using Fuzzy Group Relative Policy Rewardcited by 15
- 2025DINO-R1: Incentivizing Reasoning Capability in Vision Foundation Modelscited by 5
- 2025RWKV-UI: UI Understanding with Enhanced Perception and Reasoningcited by 0
- 2025Rex-Thinker: Grounded Object Referring via Chain-of-Thought Reasoning4 Jun 2025
- 2025DINO-R1: Incentivizing Reasoning Capability in Vision Foundation Models29 May 2025
- 2025CrowdVLM-R1: Expanding R1 Ability to Vision Language Model for Crowd Counting using Fuzzy Group Relative Policy Reward31 Mar 2025
- 2025RWKV-UI: UI Understanding with Enhanced Perception and Reasoning6 Feb 2025
- 2024VisionLLM v2: An End-to-End Generalist Multimodal Large Language Model for Hundreds of Vision-Language Taskscited by 136
- 2024Griffon v2: Advancing Multimodal Perception with High-Resolution Scaling and Visual-Language Co-Referringcited by 29
- 2026ABACUS: Adapting Unified Foundation Model for Bridging Image Count Understanding and Generationcited by 0
- 2026ABACUS: Adapting Unified Foundation Model for Bridging Image Count Understanding and Generation22 Jun 2026
- 2024VisionLLM v2: An End-to-End Generalist Multimodal Large Language Model for Hundreds of Vision-Language Tasks12 Jun 2024
- 2024Griffon v2: Advancing Multimodal Perception with High-Resolution Scaling and Visual-Language Co-Referring14 Mar 2024
- 2024T-Rex2: Towards Generic Object Detection via Text-Visual Prompt Synergycited by 94
- 2024DINO-X: A Unified Vision Model for Open-World Object Detection and Understandingcited by 85
- 2025Detect Anything via Next Point Predictioncited by 66
- 2025YOLOE: Real-Time Seeing Anythingcited by 36
- 2025OpenRSD: Towards Open-prompts for Object Detection in Remote Sensing Imagescited by 9
- 2024LOCR: Location-Guided Transformer for Optical Character Recognitioncited by 3
- 2026PET-DINO: Unifying Visual Cues into Grounding DINO with Prompt-Enriched Trainingcited by 3
- 2026DETR-ViP: Detection Transformer with Robust Discriminative Visual Promptscited by 2
- 2025Expanding Zero-Shot Object Counting with Rich Promptscited by 1
- 2024ChatGPT and general-purpose AI count fruits in pictures surprisingly wellcited by 0
- 2025ZERO: Industry-ready Vision Foundation Model with Multi-modal Promptscited by 0
- 2026Object Counting Across Modalities: Taxonomies, Benchmarks, Applications, and Open Challengescited by 0
12 most cited of 13 All 13 (JSON)
- 2026OPUS: A Simple yet Effective Unified Framework for Open-Vocabulary Detection31 Aug 2026
- 2026Object Counting Across Modalities: Taxonomies, Benchmarks, Applications, and Open Challenges24 Aug 2026
- 2026DETR-ViP: Detection Transformer with Robust Discriminative Visual Prompts16 Apr 2026
- 2026PET-DINO: Unifying Visual Cues into Grounding DINO with Prompt-Enriched Training1 Apr 2026
- 2025Detect Anything via Next Point Prediction14 Oct 2025
- 2025ZERO: Industry-ready Vision Foundation Model with Multi-modal Prompts6 Jul 2025
- 2025Expanding Zero-Shot Object Counting with Rich Prompts21 May 2025
- 2025YOLOE: Real-Time Seeing Anything10 Mar 2025
- 2025OpenRSD: Towards Open-prompts for Object Detection in Remote Sensing Images8 Mar 2025
- 2024DINO-X: A Unified Vision Model for Open-World Object Detection and Understanding21 Nov 2024
- 2024ChatGPT and general-purpose AI count fruits in pictures surprisingly well12 Apr 2024
- 2024T-Rex2: Towards Generic Object Detection via Text-Visual Prompt Synergy21 Mar 2024
12 newest of 13 All 13 (JSON)