Grounding DINO detects objects by name

Grounding DINO is an open-set object detector: give it the names of the objects you want and it draws boxes around them, with no training on your classes. In Supervisely it serves as a text-prompt assistant for pre-labeling images, and its boxes can become masks or a training set for a detector.

Grounding DINO boxing the lion that the prompt "The left lion" names
Publisher
IDEA Research
Labels
  • Bounding boxes from text prompts
Apps
Serve
Source
GitHub, Paper

Apps in the Supervisely Ecosystem

Every model in Supervisely comes as a Supervisely App: a module from the Ecosystem that plugs into the platform and runs on your own GPU, with no code to install. A Serve App puts the model behind the labeling tools, and where the model can be trained, a Train App fits it to your labeled project. All Apps work on the same projects, so you add a model, update it or swap it for another without changing anything else.

How Grounding DINO detects what you name

A closed-set detector only knows the classes it was trained on. Grounding DINO (paper, code) adds a text encoder to DINO, a transformer detector, so the class list becomes an input. An image backbone and a text backbone extract features, a feature enhancer fuses them, language-guided query selection picks the queries, and a cross-modality decoder refines the boxes and ties each one to a phrase of the prompt. The authors report 52.5 AP on COCO zero-shot, that is, without COCO training data.

Pre-label images from a text prompt

  1. Open Serve Grounding DINO from the Ecosystem, select a pretrained architecture and press Serve. The app runs on a GPU.
  2. Wait for the model to deploy.
  3. In the image labeling toolbox, type the class names and every match in the image gets a box. Review the boxes, delete false hits and draw what the model missed.

Boxes are only the start when you need masks: box an object and the Smart Tool returns the mask inside it, using SAM 2.1 or SAM 3. More ways to combine assistants are on the AI-assisted labeling page.

Writing prompts that work

  • Use the words a caption would use. "Forklift" works better than an internal code such as "FL-2".
  • Name the object, not its condition. "Bottle" finds bottles; telling a full bottle from an empty one is a job for a trained classifier or for the reviewer.
  • Check a sample before a whole dataset. Rare or domain-specific objects, such as surface defects on a part, are where zero-shot detection is weakest.

What Grounding DINO does not do here

There is no Grounding DINO training app in Supervisely: the model is served as it was released. Its output is boxes, not masks or keypoints, and accuracy depends on how well your words match what it saw in training. For classes it keeps missing, the usual path is to pre-label what it does find, correct the labels and train a detector on them: YOLO, RT-DETRv2 or DEIMv2. Their evaluation report then shows how far the trained model has come past the zero-shot start.

If your prompt is closer to a sentence than a list of names, try Florence-2, which grounds the phrases of a caption. Data you bring for the trained detector can arrive as COCO, YOLO or Pascal VOC files.

Frequently asked questions.

Can I fine-tune Grounding DINO in Supervisely?

No, there is only a serving app. Use Grounding DINO to pre-label, correct its boxes, and train a detector such as YOLO or DEIMv2 on the corrected data.

Is Grounding DINO free to use on Supervisely Cloud?

The text-prompt assistants are available in the labeling tools of the cloud. Free accounts have limits on API calls and on running the serving app on their own GPU.

What is Grounding DINO?

Grounding DINO is an open-set object detector from IDEA Research: it adds a text encoder to DINO, a transformer detector, so it finds objects named in a text prompt instead of a fixed list of classes. In Supervisely it pre-labels images with bounding boxes without training.

Does Grounding DINO use CLIP?

No. Grounding DINO encodes the prompt with a BERT text encoder and the image with a Swin Transformer, and fuses the two inside the detector. CLIP-based detectors such as OWL-ViT start from CLIP encoders instead.

Train and serve models on your own data.

Label a project in a free account, train a model on it from the browser and deploy it on your own GPU. Or book a demo to run Supervisely on your servers.