For the complete documentation index, see llms.txt. This page is also available as Markdown.

Instance Segmentation

Trace the exact outline of each object in an image, then train and deploy your own instance segmentation model on Roboflow.

What is instance segmentation?

Instance segmentation finds each object in an image and traces its exact outline. For each object, the model returns a class label, a confidence score, a box, and a mask (a polygon or pixel area) that covers only that object. Two touching objects of the same class get separate masks. Use it when you need the shape, size, or area of each object, not just its location.

Oranges on a conveyor, each traced with its own mask outline

Supported instance segmentation models

Roboflow supports these instance segmentation models. See the Instance Segmentation models table for export and deployment support per model.

Model
License
Trainable on Roboflow
Latest release

Apache 2.0 (free for commercial use)

2026

AGPL-3.0 (commercial use needs a license, included on Roboflow cloud)

2026

AGPL-3.0 (commercial use needs a license, included on Roboflow cloud)

2024

Fine-tuning an instance segmentation model

1

Create an instance segmentation project

Create a Project and pick "Instance Segmentation" as the project type.

Create project form with Instance Segmentation selected as the project type and a preview of an instance segmentation example
2

Upload and annotate images

Upload images, then label them. The fastest way is Auto Label: a foundation model (ex: SAM 3, or Gemini or GPT paired with SAM 3) or one of your trained models outlines every object as a polygon or mask, and you review the results. You can also label in the annotation editor, either with AI help (Smart Select outlines an object in one click, Label Assist suggests shapes from a model) or by hand with the Polygon tool.

Annotation editor on an instance segmentation image with polygons outlining fire and smoke, the class list on the left, and the labeling toolbar on the right
3

Generate a dataset version

Generate a dataset version: a frozen snapshot of your images with a train, valid, and test split, plus any preprocessing and augmentation.

4

Train an instance segmentation model

Click "Train", choose "Custom Training", and pick an architecture and size. See Train a Model for every option.

Select Architecture step on the Train page listing RF-DETR (Recommended), YOLO26, SAM 3, Roboflow 3.0, and YOLOv11

Deploy an instance segmentation model

After training, deploy your instance segmentation model with the Serverless Cloud API, a Dedicated Deployment, or on your own hardware with Roboflow Inference. See Choosing a Deployment to compare the options.

Last updated

Was this helpful?