panlabel 0.7.0

The universal annotation converter
Documentation
{
  "name": "sample-vott-json",
  "version": "2.2.0",
  "tags": [
    {"name": "person", "color": "#e6194b"},
    {"name": "car", "color": "#3cb44b"}
  ],
  "assets": {
    "asset-img1": {
      "asset": {
        "format": "bmp",
        "id": "asset-img1",
        "name": "img1.bmp",
        "path": "file:img1.bmp",
        "size": {"width": 100, "height": 80},
        "state": 2,
        "type": 1
      },
      "regions": [
        {
          "id": "region-1",
          "type": "RECTANGLE",
          "tags": ["person"],
          "boundingBox": {"left": 10, "top": 20, "width": 40, "height": 50},
          "points": []
        }
      ],
      "version": "2.2.0"
    },
    "asset-img2": {
      "asset": {
        "format": "bmp",
        "id": "asset-img2",
        "name": "img2.bmp",
        "path": "file:img2.bmp",
        "size": {"width": 60, "height": 40},
        "state": 2,
        "type": 1
      },
      "regions": [
        {
          "id": "region-2",
          "type": "POLYGON",
          "tags": ["car"],
          "points": [{"x": 5, "y": 4}, {"x": 30, "y": 6}, {"x": 20, "y": 20}]
        }
      ],
      "version": "2.2.0"
    }
  }
}