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.

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