Creative Technology · Computer Vision

AI-Powered
Image Segmentation

Three pretrained models answer the same question: which pixels belong to what? Pick one image and see all three answers side by side.

Task Image segmentation Data COCO validation examples Methods SegFormer · MaskFormer · SlimSAM
1

Choose an image

Start with a tested example, or try a photo of your own.

Start here · COCO examples

Four images are drawn at random from 24 bundled COCO validation examples.

or try your own

Useful for seeing where a model trained on one dataset stops making sense.

Click the field to select it for copying.

2

Run all three

One press sends the same image through every model. Their answers land side by side below.

0.50

Lower values keep more objects, including ones the model is guessing at.

Choose a COCO example or upload your own image.

SlimSAM computes its image embedding during the run. After that, click inside its panel to segment the object under your cursor.

Results

The same image, three ways

Semantic

SegFormer

Every pixel gets a class

Waiting

Choose an image to see it here.

Not run yet.

Class Coverage Pixels
Run to see what SegFormer finds.

Instance

MaskFormer

Each object gets its own mask

Waiting

Choose an image to see it here.

Not run yet.

Object Class Confidence Coverage
Run to see what MaskFormer finds.

Promptable

SlimSAM

Tell it where, it cuts it out

Waiting

Choose an image to see it here.

Not run yet.

Candidate Predicted IoU Coverage
Run, then click the image to segment an object.

What you are doing

Segmentation asks a harder question than detection. Not "is there a cat?" but "exactly which pixels are the cat?"

A detector draws a box around an object. A segmenter has to decide, pixel by pixel, where that object ends — which is why the three methods here disagree so much. SegFormer labels every pixel with a scene class but cannot tell two people apart. MaskFormer predicts one mask per object. SlimSAM takes a click as its question and returns whatever object sits under that point, without any fixed class list.

1 classes per pixel → 2 one mask per object → 3 mask on request

Try this: run the same image, then switch the view to Mask only. Compare how SegFormer paints broad scene regions, MaskFormer draws clean object shapes, and SlimSAM returns exactly the thing you clicked. Then pick a new photo and run it again — the models stay the same, only the picture changes.

Model note: SegFormer stands in for DeepLabV3, and MaskFormer stands in for Mask R-CNN — neither original model has a working browser build. The task each one performs is the same.