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.

Supported instance segmentation models
Roboflow supports these instance segmentation models. See the Instance Segmentation models table for export and deployment support per model.
Fine-tuning an instance segmentation model
Create an instance segmentation project
Create a Project and pick "Instance Segmentation" as the project type.

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.

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.
Train an instance segmentation model
Click "Train", choose "Custom Training", and pick an architecture and size. See Train a Model for every option.

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?