Zero-Shot Object Detection
Zero-shot object detection finds objects described by free-form text labels.
Inputs
Input
Zero-Shot Object Detection Model
Output
Output
About Zero-Shot Object Detection
Zero-shot object detection finds objects described by free-form text labels. Browse zero-shot object detection models on HubClone to compare checkpoints, or open a Space to try one in the browser.
Use Cases
Open-vocabulary search
Find any object named in a query.
Rapid labeling
Bootstrap detection datasets.
Inference
The Transformers pipeline API runs zero-shot object detection models in a few lines. Replace <model-id> with any model listed on this page.
from transformers import pipeline
pipe = pipeline("zero-shot-object-detection", model="<model-id>")
pipe("fox.png")Useful Resources
Want to dig deeper into the topic? Great! Here is a hand-picked list of resources we found helpful.
Documentation
- Zero-Shot Object Detection task guide
- Pipelines reference
Notebooks
- Fine-tuning a zero-shot object detection model