Mindket

Grounding DINO Demo

Newversion 1 · updated

Overview

Finds objects in a picture from a text description, with no fixed list of labels. A Gradio demo of the Grounding DINO open-set detector, for developers and vision researchers.

Grounding DINO Demo is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • A web browser, for the online page
  • Python with pip, for a local copy
  • Python packages from requirements.txt
  • CUDA_HOME set, if you have a CUDA environment. Without CUDA the code builds in CPU-only mode.
Runs in
  • A web browser, on the Space's page on Hugging Face
  • A local copy on Windows, macOS or Linux, started with app.py
  • A command line script in the repository, which also has a CPU-only mode
Start with
pip install -U huggingface_hub
hf download merve/Grounding_DINO_demo --repo-type space --local-dir Grounding_DINO_demo
cd Grounding_DINO_demo

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

This Space is a demo of Grounding DINO, an open-set object detector. Instead of choosing from a fixed list of classes, you describe what to find in words and the model looks for it in an image. The README presents it as the official PyTorch implementation and says it can run without a GPU.

Who it suits

It suits developers and researchers who want to try language-guided object detection, and people who need to locate things in pictures without training a detector first.

IndustryWho uses itHow they use itExample
Computer vision researchResearchersTry open-set detection with a plain text phraseA researcher types a phrase and checks what the model finds
SoftwareDevelopersTest language-guided detection before building it into a productA developer runs the demo on a few sample images
Data labelingAnnotation teamsLocate objects by description to speed up labelingA team tests whether a phrase finds the objects they need
EducationStudentsSee how a detector can follow words instead of fixed classesA student tries different phrases on one picture

You can skip it if you need to train a detector, since the README lists the training code as not yet released.

Where to use it

You use it in these places.

  • A web browser, on the Space's page on Hugging Face
  • A local copy on Windows, macOS or Linux, started with app.py
  • A command line script in the repository, which also has a CPU-only mode
Use caseWhoWhat they get back
Find objects by phraseAnyoneDetections for the objects your phrase describes
Run without a GPUDevelopersThe same demo in CPU-only mode
Script a detectionDevelopersResults written to the output location you pass to the script

How to set it up

Online use needs only a browser. A local copy needs Python and the packages the repository lists.

  • A web browser, for the online page
  • Python with pip, for a local copy
  • Python packages from requirements.txt
  • CUDA_HOME set, if you have a CUDA environment. Without CUDA the code builds in CPU-only mode.
  1. Open the Space's page on Hugging Face to use it online, with nothing to install.
  2. For a local copy, install the Hugging Face Hub package.
  3. Download the Space's files into a folder and move into it.
  4. Install Gradio 3.23.0 and the packages in requirements.txt.
  5. Start the app.
pip install -U huggingface_hub
hf download merve/Grounding_DINO_demo --repo-type space --local-dir Grounding_DINO_demo
cd Grounding_DINO_demo
pip install gradio==3.23.0
pip install -r requirements.txt
python app.py

The README also gives this install line for the project itself.

pip install -e .

How to use it

Open the Space's page, give it an image and a text phrase naming what to find, and read the detections. The README's own demo uses the phrase cat ear with a trailing period. The command line script takes a config, a checkpoint, an image, an output location and the phrase.

CUDA_VISIBLE_DEVICES=6 python demo/inference_on_a_image.py \
  -c /path/to/config \
  -p /path/to/checkpoint \
  -i .asset/cats.png \
  -o "outputs/0" \
  -t "cat ear." \
  [--cpu-only] # open it for cpu mode
ToolWhat it does
-cThe path to the config file
-pThe path to the checkpoint file
-iThe input image
-oWhere the output goes
-tThe text phrase to look for
--cpu-onlyRuns on the CPU, for machines without a GPU

Example

You pass a cat photo with the phrase cat ear. and the output location outputs/0 to the script. The model looks for the ears in the picture, and the results go to the output location.

For newcomers and experts

Most object detectors only know the classes they were trained on. This one reads a short phrase, so you can ask for something specific. Try the online page first with a simple phrase and one picture.

Under the hood, the README ties the model to DINO and GLIP and lists a Swin-T backbone for the released checkpoint. The record also names the BERT and RoBERTa text models. The README plans demos that pair it with Stable Diffusion and GLIGEN, but those are not yet released.

  1. You give an image and a text phrase
  2. The model matches the phrase to objects
  3. Matching objects are returned
  4. CPU-only mode runs without a GPU

Good to know

The README reports these detection scores, and its numbers differ between the highlight and the checkpoint listing.

Detection scores reported on COCO
Highlight, zero-shot52.5 AP
Highlight, fine-tuned63.0 AP
GroundingDINO-T, zero-shot48.4 AP
GroundingDINO-T, fine-tuned57.2 AP
  • The highlight says the zero-shot score came from training without COCO data.
  • License: apache-2.
  • Cost to run: none named. The Space uses cpu-basic hardware at Hugging Face.
  • Data it reaches: the images you give it and the model files the record names, which come from Hugging Face.
  • Not for: training a detector, since the README lists the training code as not yet released.

README and files

README

Grounding DINO Demo

Finds objects in a picture from a text description, with no fixed list of labels. A Gradio demo of the Grounding DINO open-set detector, for developers and vision researchers.

Made by merve on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.

About

What it is: This Space is a demo of Grounding DINO, an open-set object detector. Instead of choosing from a fixed list of classes, you describe what to find in words and the model looks for it in an image. The README presents it as the official PyTorch implementation and says it can run without a GPU.

Who it suits: It suits developers and researchers who want to try language-guided object detection, and people who need to locate things in pictures without training a detector first.

Industry | Who uses it | How they use it | Example
Computer vision research | Researchers | Try open-set detection with a plain text phrase | A researcher types a phrase and checks what the model finds
Software | Developers | Test language-guided detection before building it into a product | A developer runs the demo on a few sample images
Data labeling | Annotation teams | Locate objects by description to speed up labeling | A team tests whether a phrase finds the objects they need
Education | Students | See how a detector can follow words instead of fixed classes | A student tries different phrases on one picture

You can skip it if you need to train a detector, since the README lists the training code as not yet released.

Where to use it: You use it in these places.

  • A web browser, on the Space's page on Hugging Face
  • A local copy on Windows, macOS or Linux, started with app.py
  • A command line script in the repository, which also has a CPU-only mode
Use case | Who | What they get back
Find objects by phrase | Anyone | Detections for the objects your phrase describes
Run without a GPU | Developers | The same demo in CPU-only mode
Script a detection | Developers | Results written to the output location you pass to the script

How to set it up: Online use needs only a browser. A local copy needs Python and the packages the repository lists.

  • A web browser, for the online page
  • Python with pip, for a local copy
  • Python packages from requirements.txt
  • CUDA_HOME set, if you have a CUDA environment. Without CUDA the code builds in CPU-only mode.
  1. Open the Space's page on Hugging Face to use it online, with nothing to install.
  2. For a local copy, install the Hugging Face Hub package.
  3. Download the Space's files into a folder and move into it.
  4. Install Gradio 3.23.0 and the packages in requirements.txt.
  5. Start the app.
pip install -U huggingface_hub
hf download merve/Grounding_DINO_demo --repo-type space --local-dir Grounding_DINO_demo
cd Grounding_DINO_demo
pip install gradio==3.23.0
pip install -r requirements.txt
python app.py

The README also gives this install line for the project itself.

pip install -e .

How to use it: Open the Space's page, give it an image and a text phrase naming what to find, and read the detections. The README's own demo uses the phrase cat ear with a trailing period. The command line script takes a config, a checkpoint, an image, an output location and the phrase.

CUDA_VISIBLE_DEVICES=6 python demo/inference_on_a_image.py \
  -c /path/to/config \
  -p /path/to/checkpoint \
  -i .asset/cats.png \
  -o "outputs/0" \
  -t "cat ear." \
  [--cpu-only] # open it for cpu mode
Tool | What it does
-c | The path to the config file
-p | The path to the checkpoint file
-i | The input image
-o | Where the output goes
-t | The text phrase to look for
--cpu-only | Runs on the CPU, for machines without a GPU

Example: You pass a cat photo with the phrase cat ear. and the output location outputs/0 to the script. The model looks for the ears in the picture, and the results go to the output location.

For newcomers and experts: Most object detectors only know the classes they were trained on. This one reads a short phrase, so you can ask for something specific. Try the online page first with a simple phrase and one picture.

Under the hood, the README ties the model to DINO and GLIP and lists a Swin-T backbone for the released checkpoint. The record also names the BERT and RoBERTa text models. The README plans demos that pair it with Stable Diffusion and GLIGEN, but those are not yet released.

You give an image and a text phrase
The model matches the phrase to objects
Matching objects are returned
CPU-only mode runs without a GPU

Good to know: The README reports these detection scores, and its numbers differ between the highlight and the checkpoint listing.

Title: Detection scores reported on COCO
Highlight, zero-shot: 52.5 AP
Highlight, fine-tuned: 63.0 AP
GroundingDINO-T, zero-shot: 48.4 AP
GroundingDINO-T, fine-tuned: 57.2 AP
  • The highlight says the zero-shot score came from training without COCO data.
  • License: apache-2.
  • Cost to run: none named. The Space uses cpu-basic hardware at Hugging Face.
  • Data it reaches: the images you give it and the model files the record names, which come from Hugging Face.
  • Not for: training a detector, since the README lists the training code as not yet released.

On Hugging Face, 13 November 2026

  • Likes: 126
  • Built with: gradio
  • License: apache-2.0

Links

Try it

Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.

Files
README.md  6 KB

1 file, 6 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face Spaces in the same category that share the most tags with this one.

ProductLikesBuilt withLicenseLast change
Grounding DINO Demo This page126gradioapache-2.0
FLUX.1 [dev]Shares gradio9,583gradiomit
InstantIDShares gradio3,659gradioapache-2.0
Chat With Janus-Pro-7BShares gradio2,036gradiomit
PhotoMakerShares gradio1,960gradioapache-2.0
Z Image TurboShares gradio1,940gradioapache-2.0
Numbers as Mindket last read them, on 2026-11-12.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

Gives AI agents 818 cybersecurity skills across 34 security domains, each mapped to frameworks such as MITRE ATT&CK and NIST CSF 2.0. For analysts, defenders a…

New36.2k

awesome-agent-skills

voltagent · Skill

Curated list of agent skills from official engineering teams and community authors, covering products such as Stripe, Supabase and Vercel, for Claude Code, Cod…

New37.2k

agents by wshobson

wshobson · Skill

Offers a catalog of plugins that bundle agents, skills and commands for AI coding tools including Claude Code, Codex CLI, Cursor and GitHub Copilot, kept as on…

New42.5k

Similar in Developer

See all in Developer

Agentic Awesome Skills

sickn33 · Skill

A library of 2,926 or more installable skill playbooks for AI coding agents, plus a companion tool that lets the agent search the catalog, pick skills and prev…

New49.7k

Speeds up Gemma 4 26B A4B text generation as a multi-token prediction drafter in speculative decoding. For developers who want lower latency with the same outp…

New

Kandinsky S2V 1.0

kandinskylab · Kit

Makes an avatar video from one reference frame and a speech track, generated in 5 second chunks. A Gradio demo of the Kandinsky S2V 1.0 pipeline for video and…

New