Object Detection
Object detection finds objects in an image and draws a labeled box around each one.
Inputs
Input
Object Detection Model
Output
Output
About Object Detection
Object detection finds objects in an image and draws a labeled box around each one. Browse object detection models on HubClone to compare checkpoints, or open a Space to try one in the browser.
Use Cases
Traffic monitoring
Count cars and pedestrians at a crossing.
Retail analytics
Check shelf stock from photos.
Inference
The Transformers pipeline API runs object detection models in a few lines. Replace <model-id> with any model listed on this page.
from transformers import pipeline
pipe = pipeline("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
- Object Detection task guide
- Pipelines reference
Notebooks
- Fine-tuning a object detection model