Import annotations with CLI commands

Once you've added data to a dataset in V7, you can use CLI commands to import existing annotations to the images and videos it contains.


The supported formats for importing annotations are Darwin, Pascal VOC, COCO, CSV Tags, CSV Video Tag, and Dataloop.

Enter the command below in the Command Prompt/Terminal. Replace team name with your team name in V7, dataset name with the name of your dataset, the format string for the annotations (in this example, we're using the darwin format) and /path/to/files/ with the path to the folder containing the annotation files on your device.

darwin dataset import team-name/dataset-name darwin /path/to/files/

If you haven't added any classes to the dataset in V7, you'll receive the prompt below asking if they should be created:

2 classes are missing remotely
About to add the following classes
    Class 1, Type: Class type
    Class 2, Type: Class type
Do you want to continue [Y/N]

Enter Y to create any missing classes, and you're all set! When the import is complete, you should see all of your previous annotations added to your dataset.