hjLabs AI Playground

Starting the on-device runtime…

Segment an image into labelled regions, locally

SegFormer-B0 fine-tuned on ADE20K assigns a class to every pixel across 150 scene categories — sky, road, building, person, furniture — and renders the result as a colour-coded overlay with a legend you can toggle per class. Panoptic and instance variants are available where you need separate objects rather than regions. Useful for scene understanding, masking and dataset inspection, all without leaving the browser.

image segmentation onlinesegformer demosemantic segmentation browserade20k modelpixel classification toolpanoptic segmentation onlinefree segmentation ai

Frequently asked questions

What is the difference between this and background removal?

Background removal produces one soft alpha matte for a single subject. Segmentation labels every pixel with one of many classes. If you only want a cut-out, use background removal — it is faster and the edges are better.

Can I export the masks?

Yes — each class mask can be downloaded as a PNG, and the full label map is available as raw data.

Models available for this task