Convert LabelMe
to Supervisely

Converting LabelMe to Supervisely brings your labels into a format that keeps every shape, tag and class, ready to review, relabel and export to any other format.

Format differences

LabelMe vs Supervisely

LabelMe, the open-source desktop labeling tool, saves one JSON file per image with a list of shapes, each with a label, a shape type and its points.

LabelMeSupervisely
Annotation filesOne JSON file per image with a shapes list and the image size.One JSON file per image (ann/<image>.json) in each dataset folder, and one meta.json for the project.
CoordinatesAbsolute pixels; every shape is a list of points, a rectangle two of its corners.Absolute pixels; a rectangle is stored as its top-left and bottom-right points.
ShapesPolygons, rectangles, circles, points, lines, line strips and masks.Rectangles, polygons, polylines, points, bitmap masks, keypoint graphs, alpha masks and 2D cuboids.
ClassesEach shape carries a free-text label; there is no separate class list.Classes are defined in meta.json with a name, a shape and a colour; tags can sit on images and on objects.

What the conversion changes

Between the formats

  • Free-text LabelMe labels become project classes, so spelling variants of one label become separate classes.

Import LabelMe

  • Polygons, rectangles, circles, points, lines, line strips and masks are read.

Export to Supervisely

  • Every imported label keeps its shape, class and tags in Supervisely JSON.
Workflow

Convert LabelMe to Supervisely in three steps

  1. 01

    Import LabelMe

    Start an import in a Supervisely project and drop in the folder with the images and their LabelMe JSON files: the importer recognises the format (LabelMe import guide).

  2. 02

    Review in the labeling toolbox

    Open the project in the image labeling toolbox to check classes and fix labels.

  3. 03

    Export to Supervisely

    Open the menu of the project, choose Download via app and run Export to Supervisely format. The archive appears in Tasks and Team Files.

Run this conversion on your own data in a free account, or let us walk your team through it.

Python SDK

Or in a few lines of Python

After the import, the Python SDK downloads the project as Supervisely JSON, the format the Export to Supervisely format app writes.

Install it with pip install supervisely.

SDK export tutorial
convert.py
import supervisely as sly

# SERVER_ADDRESS and API_TOKEN come from the environment
api = sly.Api.from_env()
# ID of the project the LabelMe import created
sly.download_fast(api, project_id=12345, dest_dir="sly_project")

Frequently asked questions.

Can I convert LabelMe to Supervisely without code?

Yes. Import the data with the LabelMe import, check it in the image labeling toolbox, then export it with Export to Supervisely format. Both start from the Supervisely web interface.

What changes when LabelMe becomes Supervisely?

Free-text LabelMe labels become project classes, so spelling variants of one label become separate classes. Polygons, rectangles, circles, points, lines, line strips and masks are read. Every imported label keeps its shape, class and tags in Supervisely JSON.

Does Supervisely use the same coordinates as LabelMe?

Both use absolute pixel coordinates, written differently. LabelMe: Absolute pixels; every shape is a list of points, a rectangle two of its corners. Supervisely: Absolute pixels; a rectangle is stored as its top-left and bottom-right points.

How do LabelMe classes carry over to Supervisely?

In LabelMe: each shape carries a free-text label; there is no separate class list. In Supervisely: classes are defined in meta.json with a name, a shape and a colour; tags can sit on images and on objects. The class names stay the same on the way through Supervisely, so rename or merge classes in the project before you export.

Can I convert LabelMe to Supervisely in Python?

After the import, the Python SDK downloads the project as Supervisely JSON, the format the Export to Supervisely format app writes. See the SDK export tutorial.