Scripts for converting annotation files between svg (e.g. generated with Gimp) and json (e.g. generated with labelme).
To save paths as svg files in Gimp:
git clone https://github.com/Affonso-Gui/svglabel.git
sudo pip install -e svglabel/
cd svglabel/examples
# Convert svg to json
svg2json with-gimp.svg image.jpg
# Test with:
labelme with-gimp.json
# Convert json to svg
json2svg with-labelme.json
# Test with:
gimp image.jpg # Paths Dialog > Import Path > with-labelme.svg
Image manipulation software provides several tools to make a selection. This can be especially useful when annotating complex objects.
In the example below, an annotation file can be easily created by using the color selection tool.