Convert Annotations (CLI)

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


Ensure your annotations have been successfully downloaded

Before you convert annotations, make sure your source annotations have been downloaded to your machine.

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. Some annotation types are not valid for some formats (e.g. skeleton type for Pascal VOC). When that happens, the annotation is simply dropped.