> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/models/supported-tasks/object-detection.md).

# Object Detection

Find and count objects in images with a labeled box around each one, then train and deploy your own object detection model on Roboflow.

## What is object detection?

Object detection finds each object of interest in an image and draws a box around it. For each object, the model returns a class label (ex: "person", "bottle", "car"), a confidence score, and the box position in pixels. It tells you what is in the image, where, and how many, but not the exact shape. For outlines, use [Instance Segmentation](https://docs.roboflow.com/models/supported-tasks/instance-segmentation.md).

<figure><img src="https://3448603185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcmo9mhfIjYrvFFy1U7dk%2Fuploads%2Fgit-blob-7c4346da355897d93dbaec69ee40ae5d19bf9d81%2Fimg-task-object-detection-wide.webp?alt=media" alt="Oranges on a conveyor, each inside a labeled orange bounding box"><figcaption></figcaption></figure>

## Supported object detection models

Roboflow supports these object detection models. See the [Object Detection models](https://docs.roboflow.com/models/supported-models.md#object-detection) table for export and deployment support per model.

<table data-search="false"><thead><tr><th>Model</th><th>License</th><th data-type="checkbox">Trainable on Roboflow</th><th>Latest release</th></tr></thead><tbody><tr><td><a href="https://docs.roboflow.com/models/supported-models/rf-detr.md">RF-DETR</a></td><td><a href="https://docs.roboflow.com/models/model-licenses.md">Apache 2.0</a> (free for commercial use); XL and 2XL: PML 1.0</td><td>true</td><td>2026</td></tr><tr><td><a href="https://docs.roboflow.com/models/supported-models/roboflow-3.md">Roboflow 3.0</a></td><td><a href="https://roboflow.com/licensing">Roboflow Licensing</a></td><td>true</td><td>2023</td></tr><tr><td><a href="https://docs.roboflow.com/models/supported-models/yololite.md">YOLOlite</a></td><td><a href="https://roboflow.com/licensing">Roboflow Licensing</a></td><td>true</td><td>2026</td></tr><tr><td><a href="https://docs.roboflow.com/models/supported-models/yolo26.md">YOLO26</a></td><td><a href="https://docs.roboflow.com/models/model-licenses.md">AGPL-3.0</a> (commercial use needs a license, included on Roboflow cloud)</td><td>true</td><td>2026</td></tr><tr><td><a href="https://docs.roboflow.com/models/train/roboflow-instant.md">Roboflow Instant</a></td><td><a href="https://roboflow.com/licensing">Roboflow Licensing</a></td><td>true</td><td>2025</td></tr><tr><td><a href="https://docs.roboflow.com/models/supported-models/yolov12.md">YOLOv12</a></td><td><a href="https://docs.roboflow.com/models/model-licenses.md">AGPL-3.0</a> (commercial use needs a license, included on Roboflow cloud)</td><td>true</td><td>2025</td></tr><tr><td><a href="https://docs.roboflow.com/models/supported-models/paligemma2.md">PaliGemma 2</a></td><td><a href="https://docs.roboflow.com/models/model-licenses.md#other-models">Upstream license</a></td><td>true</td><td>2024</td></tr><tr><td><a href="https://docs.roboflow.com/models/supported-models/yolo11.md">YOLO11</a></td><td><a href="https://docs.roboflow.com/models/model-licenses.md">AGPL-3.0</a> (commercial use needs a license, included on Roboflow cloud)</td><td>true</td><td>2024</td></tr><tr><td><a href="https://docs.roboflow.com/models/supported-models/yolov9.md">YOLOv9</a></td><td><a href="https://docs.roboflow.com/models/model-licenses.md">GPL-3.0</a></td><td>false</td><td>2024</td></tr><tr><td><a href="https://docs.roboflow.com/models/supported-models/yolov5.md">YOLOv5</a></td><td><a href="https://docs.roboflow.com/models/model-licenses.md">AGPL-3.0</a> (commercial use needs a license, included on Roboflow cloud)</td><td>false</td><td>2022</td></tr><tr><td><a href="https://docs.roboflow.com/models/supported-models/owlv2.md">OWLv2</a></td><td><a href="https://docs.roboflow.com/models/model-licenses.md#other-models">Upstream license</a></td><td>false</td><td>2023</td></tr><tr><td><a href="https://docs.roboflow.com/models/supported-models/grounding-dino.md">Grounding DINO</a></td><td><a href="https://docs.roboflow.com/models/model-licenses.md#other-models">Upstream license</a></td><td>false</td><td>2023</td></tr></tbody></table>

## Fine-tuning an object detection model

{% stepper %}
{% step %}

### Create an object detection project

Create a [Project](https://docs.roboflow.com/datasets/create-and-upload/create-a-project) and pick "Object Detection" as the project type.

<figure><img src="https://3448603185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcmo9mhfIjYrvFFy1U7dk%2Fuploads%2Fgit-blob-48b4f6342502c65ee0d299f12df90c7c2ee553d6%2Fcreate-project-object-detection.webp?alt=media" alt="Create project form with Object Detection selected as the project type and a preview of an object detection example"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Upload and annotate images

[Upload images](https://docs.roboflow.com/datasets/create-and-upload/adding-data), then label them. The fastest way is [Auto Label](https://docs.roboflow.com/datasets/annotate/annotate/ai-labeling/auto-label): a foundation model (ex: Gemini, GPT, SAM 3) or one of your trained models draws a box around every object in a batch of images, and you review the results. You can also label in the [annotation editor](https://docs.roboflow.com/datasets/annotate/annotate/annotation-tools), either with AI help ([Label Assist](https://docs.roboflow.com/datasets/annotate/annotate/ai-labeling/model-assisted-labeling) suggests boxes from a model, [Smart Select](https://docs.roboflow.com/datasets/annotate/annotate/ai-labeling/smart-select) outlines an object in one click, [Box Prompting](https://docs.roboflow.com/datasets/annotate/annotate/ai-labeling/box-prompting-ai-labeling) finds every object that matches one you drew) or by hand with the Bounding Box tool.

<figure><img src="https://3448603185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcmo9mhfIjYrvFFy1U7dk%2Fuploads%2Fgit-blob-c94b32366afb358ef80e4748a8d9086b564ece43%2Fannotate-object-detection.webp?alt=media" alt="Annotation editor on a street image with boxes around vehicles and people, the class list and Find Objects with AI button on the left, and the labeling toolbar on the right"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Generate a dataset version

[Generate a dataset version](https://docs.roboflow.com/datasets/versions/dataset-versions/create-a-dataset-version): a frozen snapshot of your images with a train, valid, and test split, plus any preprocessing and augmentation.
{% endstep %}

{% step %}

### Train an object detection model

Click "Train", choose "Custom Training", and pick an architecture and size. See [Train a Model](https://docs.roboflow.com/models/train/train-a-model.md) for every option.

<figure><img src="https://3448603185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcmo9mhfIjYrvFFy1U7dk%2Fuploads%2Fgit-blob-4c6c3fbe987c4a2b9131ec4d60f4011bdf36cbe8%2Ftrain-architectures-object-detection.webp?alt=media" alt="Select Architecture step on the Train page listing RF-DETR (Recommended), YOLO26, Roboflow 3.0, YOLOv11, YOLOv12, YOLO-NAS, YOLOLite CPU, and YOLOLite GPU"><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## Deploy an object detection model

After training, deploy your object detection model with the [Serverless Cloud API](https://docs.roboflow.com/deployment/roboflow-cloud/serverless-api), a [Dedicated Deployment](https://docs.roboflow.com/deployment/roboflow-cloud/dedicated-deployments), or on your own hardware with [Roboflow Inference](https://docs.roboflow.com/deployment/self-hosted/self-hosted). See [Choosing a Deployment](https://docs.roboflow.com/deployment/choosing-a-deployment) to compare the options.
