LabelMe
Overview
This converter allows to import images with .json
annotations in LabelMe format. Supported LabelMe format geometry types: polygon
, rectangle
, circle
, point
, linestring
, mask
, line
.
Format description
Supported image formats: .jpg
, .jpeg
, .mpo
, .bmp
, .png
, .webp
, .tiff
, .tif
, .jfif
, .avif
, .heic
, and .heif
With annotations: yes
Supported annotation file extension: .json
.
Grouped by: Any structure (will be uploaded as a single dataset)
Input files structure
Example data: download ⬇️
Example directory structure:
Individual Image Annotations (JSON)
An annotation file should contain the following fields:
shapes
- a list of dictionaries, each containing information about the objectlabel
- the name of the classpoints
- a list of points of the objectmask
- a base64 encoded mask of the object (formask
shape type)shape_type
- the type of the object (one of the following:polygon
,rectangle
,circle
,point
,linestring
,mask
,line
)
imageHeight
- the height of the imageimageWidth
- the width of the image
Example of the annotation file:
Useful links
Last updated