MLGuerrillaStart M1 →
Vision·15 min read·Updated 24 September 2026

Grounding DINO and open-vocabulary detection

Grounding DINO is a detector you prompt with words. It takes an image and a phrase like “a stroller”, and it returns a box around anything in the image that matches, with no training on your side.

A closed-set detector like YOLO knows a fixed list of classes and nothing else. Grounding DINO takes the class list out of the model and puts it in the prompt, so the same weights find strollers today and cracked tiles tomorrow. It came from IDEA Research in 2023, and its line continues in models that run only as a paid API.

The name is confusing twice over. This DINO is IDEA's object detector (Zhang et al., 2022), which has nothing to do with Meta's DINO, the self-supervised backbone. "Grounding" refers to grounded pre-training, which means training on data that ties phrases in a caption to regions in an image.

What it is

You write the classes in the prompt, and it returns a box for each match

The prompt is a list of phrases separated by periods, like a stroller. a bicycle. a traffic light.. For each detection the model returns a box with a score between 0 and 1, plus the phrase from your prompt that it matched.

In a test run for this page, the smallest model, grounding-dino-tiny, was given the same street photo twice with two different prompts, and it found what each prompt named both times.

A figure titled "Grounding DINO finds whatever the prompt names", with two copies of a street photo of people crossing a road in Amsterdam. Above the left copy is the prompt "a stroller. a bicycle. a traffic light. a person wearing a pink jacket." and the image has terracotta boxes with white labels reading a stroller 0.91 around a baby stroller, a bicycle 0.78 around a parked bicycle, a person 0.53 around the woman in the pink jacket, and a traffic light 0.38. Above the right copy is the prompt "a striped knitted hat. a red shopping bag. a crosswalk. a shop awning." and its boxes read a striped knitted hat 0.82, a red shopping bag 0.88, a shop awning 0.35 and a crosswalk 0.37. A note says the same model was run twice with different words, and that nothing was trained for strollers, hats or awnings. The caption says the YOLO article's detector called this stroller a bicycle, because stroller isn't one of its 80 classes.
The same photo appears in the YOLO article, where a COCO-trained detector labeled the stroller “bicycle” at 0.34. Here the word in the prompt is enough.

Nobody trained this model for these two prompts, and the class list came from the words alone. The model had still seen strollers and hats before. Its pretraining data includes Objects365, a detection dataset whose 365 classes include Stroller, Hat and Awning, so part of what looks like finding new things is recognizing things it was trained on under a name you chose. A class far from anything in that data, like a particular crack pattern on your product, is the real test, and only your own images can run it.

Keep reading

The rest of this article is free with an account

Create a free account to read the remaining 6 sections. It takes about twenty seconds and there's nothing to pay. The same account opens the slide decks and CV reviews.

  1. 02It fits jobs where the list of things to find keeps changing
  2. 03Inside, a text encoder and an image encoder meet before any box is predicted
  3. 04The open weights are from 2023, and the newer models are an API
  4. 05Pick it when the class list changes, and a trained detector when it doesn't
  5. 06How to try it
  6. and 1 more