Convert Annotations (CLI)

Annotations download from Darwin are by default encoded in the Darwin JSON format.

The darwin dataset convert command can be used to convert the annotations to any other supported annotation format.

$ darwin dataset convert example-team/my-new-dataset:0.1 coco -o output_directory


Supported formats

Conversion is currently supported for COCO, CVAT, and Pascal VOC formats. It also supports conversion to PNG files containing instance or semantic segmentation masks.


Potentially unsupported annotation types

Some annotation types are not valid for some formats (e.g. skeleton type for Pascal VOC). When that happens the annotation is simply dropped.