|Dataiku (Claire BEHUE)
|Apache Software License
With this plugin, you will be able to:
- Convert image annotations into a dataset compatible with object detection in DSS
How to set up
Just install the plugin, no specific code environment is required.
How to use
To create your first recipe, navigate to the Flow, click on the + RECIPE button and access the recipe from there. If your folder is selected, you can directly find the plugin on the right panel.
Convert object detection annotations recipe
- A dataset with two columns : images_annotations & images_path, compatible with object detection in DSS.
For both formats you need to enter the path to the subfolder containing your images. The image folder path must be relative to the managed folder root and can be left empty if the images files are directly at the root of your managed folder.
Example: ‘B/’ if your managed folder contains a subfolder B which contains the images.
Annotations file path (COCO)
Coco annotations are all stored into a single JSON file, you must specify the relative path to this file from your managed folder root. This path must include the file name and be relative to the managed folder root.
Example: ‘annotations/_annotations.coco.json’ if your managed folder contains a subfolder ‘annotations’ which contains your annotations file.
Annotations folder (Pascal VOC)
For Pascal VOC, annotations are split into different files: one XML file for each image. You must specify the path of the subfolder containing these XML files. This annotation folder path must be relative to the managed folder root and can be left empty if your annotations files are directly at the root of your managed folder.
Example: ‘Annotations/’ if your managed folder contains a subfolder Annotations which contains the XML annotations files.
Note: from Pascal VOC documentation “The top-left pixel in the image has coordinates (1,1)”. Running this recipe will remove this offset to be compliant with DSS.