# IDEA-Research/T-Rex

[ECCV2024] API code for T-Rex2: Towards Generic Object Detection via Text-Visual Prompt Synergy

Repository: https://github.com/IDEA-Research/T-Rex
Canonical: https://ross.abutalabs.com/products/t-rex
Homepage: https://deepdataspace.com/blog/T-Rex
Language: Python
License: NOASSERTION
License Family: other
Topics: interactive, object-counting, object-detection, open-set, visual-prompt, text-prompt
Last push: 2025-10-15T02:24:49+00:00

## Health v2 (maintenance only)
Score: 48/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 47, release rhythm 35, longevity 73
- inputs: {"age_days": 1026, "days_push": 323, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2699, forks 170 (observed 2026-08-28T04:07:11.350885+00:00)

## What it is
T-Rex is the official Python API client for T-Rex2, a generic open-set object detection model that combines text and visual prompts to detect and count objects in images. It provides example code and API access via the DeepDataSpace cloud service rather than hosting model weights locally.

## Use cases
- detect objects in images using text prompts
- count objects in images automatically
- detect objects via visual prompt examples
- label datasets with automated object detection
- open-set detection of custom categories without training
- integrate T-Rex2 detection API into a Python pipeline

## When to choose
- you want state-of-the-art open-set object detection with text or visual prompts
- you need automated object counting for industrial or agricultural imagery
- you want to accelerate dataset annotation with model-assisted labeling
- you are okay calling a hosted cloud API instead of running models locally

## When to avoid
- you need fully offline or self-hosted inference
- you require an open-source permissive license for the model itself
- you cannot depend on an external cloud API or API key
- you need real-time detection on edge devices

## Facets
- artifact type: library
- maturity: active
- function: computer-vision, image-processing, machine-learning, sdk
- domain: computer-vision, image-processing, artificial-intelligence
- platform: python, cloud
- tags: object-detection, open-set-detection, visual-prompting, text-prompting, object-counting, api-client, eccv2024

## Member repositories
- IDEA-Research/T-Rex (main) score 48

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:11.350885+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:16:07.009133+00:00, confidence not recorded.
  - readme: https://github.com/IDEA-Research/T-Rex (fetched 2026-08-28T04:07:11.350885+00:00, sha 06e96d6762c6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
