(Old)Annotation Result Schema

Image Classification

[
  {
    "id": 1111111,
    "project_id": 123,
    "task_id": 2222222, -> ID of the task. The same annotation ID (image, video, audio etc ...) is linked to the same task ID.
    "skipped": false,
    "information": {
      "animal_type": "cat" -> Category name and label
    },
    "notes": null,
    "status": "notyet",
    "review_information": null,
    "project_name": "example-classification",
    "project_kind": "classify",
    "task": {
      "id": 2444555,
      "priority": 1000,
      "status": "review",
      "notes": null,
      "created_at": "2018-11-05T23:43:32.240+09:00",
      "updated_at": "2018-11-05T23:48:38.311+09:00",
      "information": null,
      "metadata": [
        {
          "id": 5073685,
          "information": { -> Metadata of files stored in Datalake of ABEJA Platform
            "x-abeja-sys-meta-organizationid": "9999999999999",
            "filename": "example-image.jpg"
          },
          "created_at": "2018-11-05T23:43:16.868+09:00",
          "source": "20181111T132035-abcdefgh-1111-2222-3333-444444444444", -> File_ID on Datalake of ABEJA Platform
          "channel_id": "9999999999999" -> Datalake channel ID of ABEJA Platform
        }
      ]
    }
  }
]

Object Detection

[
  {
    "id": 1111111,
    "project_id": 123,
    "task_id": 2222222, -> ID of the task. The same annotation ID is linked to the same task ID. (image, video, audio etc ...)
    "skipped": false,
    "information": [
      {
        "rect": [
          2471.15979159932,  → Left edge of X coordinate
          1239.3236959358783, → Upper end of Y coordinate
          2682.2932404728035, → Right edge of X coordinate
          1400.9746127970802 → Lower end of Y coordinate
        ],
        "color": "rgb(249, 123, 106)", -> The color of the frame displayed on the screen
        "classes": [
          {
            "id": 100, -> ID of the label
            "name": "ラベル1", -> The name of the label
            "category_id": 0   -> Label category
          }
        ]
      }
    ],
    "notes": null,
    "status": "notyet",
    "review_information": null,
    "project_name": "example-project",
    "project_kind": "detection",
    "task": {
      "id": 1111111,
      "priority": 1000,
      "status": "review",
      "notes": null,
      "created_at": "2018-11-11T23:49:46.513+09:00",
      "updated_at": "2018-11-12T17:56:45.532+09:00",
      "information": null,
      "metadata": [
        {
          "id": 5130234,
          "information": { -> Metadata of files stored in Datalake of ABEJA Platform
            "filename": "test-image.jpg",
            "x-abeja-sys-meta-organizationid": "9999999999999"
          },
          "created_at": "2018-11-11T23:49:45.970+09:00",
          "source": "20181111T132035-abcdefgh-1111-2222-3333-444444444444", -> File_ID on Datalake of ABEJA Platform
          "channel_id": "9999999999999" -> Datalake channel ID of ABEJA Platform
        }
      ]
    }
  }
]

Image Segmentation

  • JSON format
[
  {
    "id": 1111111,
    "project_id": 123,
    "task_id": 2222222, -> ID of the task. The same annotation ID is linked to the same task ID. (image, video, audio etc ...)
    "skipped": false,
    "information": [
      {
        "class": "Eye", -> The name of the label
        "color": "#0000FF",
        "file_id": "20181111T132035-abcdefgh-1111-2222-3333-444444444444", -> File_ID on Datalake of the result image for the label
        "id": 2 -> ID of the label
      },
      {
        "class": "Mouth", -> The name of the label
        "color": "#FF0000",
        "file_id": "20181111T132035-abcdefgh-1111-2222-3333-444444444444", -> File_ID on Datalake of the result image for the label
        "id": 3 -> ID of the label
      },
      {
        "file_id": "20181111T132035-abcdefgh-1111-2222-3333-444444444444", -> The ID of the file that combines the images for each label
        "is_combined": true
      }
    ],
    "notes": null,
    "status": "notyet",
    "review_information": null,
    "project_name": "example-segmentation-project",
    "project_kind": "segmentation_selectable",
    "task": {
      "id": 2446067,
      "priority": 1000,
      "status": "review",
      "notes": null,
      "created_at": "2018-11-06T00:24:47.608+09:00",
      "updated_at": "2018-11-06T00:41:56.640+09:00",
      "information": null,
      "metadata": [
        {
          "id": 4891505,
          "information": { -> Metadata of files stored in Datalake of ABEJA Platform
            "filename": "example-image.jpg"
          },
          "created_at": "2018-09-13T01:47:21.314+09:00",
          "source": "20181111T132035-abcdefgh-1111-2222-3333-444444444444", -> AFile_ID on BEJA Platform Datalake
          "channel_id": "9999999999999" -> Datalake channel ID of ABEJA Platform
        }
      ]
    },
    "result_data_lake_channel": {
      "channel_name": "example-channel-name",
      "channel_id": "9999999999999" -> Channel ID for result output.
    }
  }
]
  • Deliverable Images

<sample> RAW Data

<sample> Result Data

Video

{
  "not_labeled": false,
  "information": [
    {
      "start": 1.314737,
      "end": 2.0688,
      "category_id": 1,
      "category_name": "walking",
      "starting_frames_count": 39.44211,
      "ending_frames_count": 62.064
    },
    {
      "start": 3.820339,
      "end": 4.153068,
      "category_id": 2,
      "category_name": "running",
      "starting_frames_count": 114.61017000000001,
      "ending_frames_count": 124.59204000000001
    },
    {
      "start": 4.153082,
      "end": 6.199862,
      "category_id": 1,
      "category_name": "walking",
      "starting_frames_count": 124.59246000000002,
      "ending_frames_count": 185.99586000000002
    }
  ],
  "work_start_at": "2018-12-11T08:40:38.768Z",
  "work_finsh_at": "2018-12-11T08:41:29.587Z"
}

Image to Text

{
  "not_labeled": false,
  "information": [
    {
      "text": "this is a custom label"
    },
    {
      "text": "another label"
    },
    {
      "text": "user can add label themselves"
    }
  ],
  "work_start_at": "2018-12-11T08:43:55.586Z",
  "work_finsh_at": "2018-12-11T08:44:33.223Z"
}

Voice to text (audio)

{
  "not_labeled": false,
  "information": [
    {
      "text": "horror sound\nanother sound\n"
    }
  ],
  "work_start_at": "2018-12-12T01:18:51.664Z",
  "work_finsh_at": "2018-12-12T01:19:34.790Z"
}

Polygon Segmentation

{
   "color": "#fcb092",
   "label": "cat",
   "points": [
      [
         0.3754849498327759,
         0.16923076923076924
      ],
      [
         0.4340802675585284,
         0.20576923076923076
      ],
      [
         0.4945066889632107,
         0.20576923076923076
      ]
  ]
   "imageWidth": 230,
   "imageHeight": 219
}

Text Classification

{
  "not_labeled": false,
  "information": {
    "Semantic": "Horror",
    "Font": "Italic"
  },
  "work_start_at": "2018-12-12T01:33:04.137Z",
  "work_finsh_at": "2018-12-12T01:33:27.141Z"
}

Text Extraction

[
  {
    "id": 2397936,
    "project_id": 3435,
    "task_id": 4683796,
    "skipped": false,
    "information": [
      {
        "text": "Shoulder and face",
        "start": 120,
        "end": 122,
        "length": 2,
        "label_id": 2,
        "label": "culture"
      },
      {
        "text": "mouse",
        "start": 3,
        "end": 7,
        "length": 4,
        "label_id": 2,
        "label": "culture"
      },
      {
        "text": "mouse",
        "start": 339,
        "end": 343,
        "length": 4,
        "label_id": 2,
        "label": "culture"
      },
      {
        "text": "mouse",
        "start": 668,
        "end": 672,
        "length": 4,
        "label_id": 2,
        "label": "culture"
      },
      {
        "text": "mouse",
        "start": 2938,
        "end": 2942,
        "length": 4,
        "label_id": 2,
        "label": "culture"
      },
      {
        "text": "mouse",
        "start": 4821,
        "end": 4825,
        "length": 4,
        "label_id": 2,
        "label": "culture"
      },
      {
        "text": "mouse",
        "start": 4967,
        "end": 4971,
        "length": 4,
        "label_id": 2,
        "label": "culture"
      },
      {
        "text": "mouse",
        "start": 8889,
        "end": 8893,
        "length": 4,
        "label_id": 2,
        "label": "culture"
      },
      {
        "text": "mouse",
        "start": 12408,
        "end": 12412,
        "length": 4,
        "label_id": 2,
        "label": "culture"
      }
    ],
    "worker_id": 2433,
    "notes": null,
    "status": "notyet",
    "review_information": null,
    "created_at": "2019-05-15T10:15:22.766Z",
    "updated_at": "2019-05-15T10:15:22.766Z",
    "project_name": "Demo_Extraction",
    "project_kind": "text-extraction",
    "task": {
      "id": 4683796,
      "priority": 1000,
      "status": "review",
      "notes": null,
      "created_at": "2019-05-10T06:34:32.784Z",
      "updated_at": "2019-05-15T10:15:22.792Z",
      "information": null,
      "metadata": [
        {
          "id": 7178375,
          "information": {
            "filename": "%E3%83%86%E3%82%AD%E3%82%B9%E3%83%882%20-%20%E3%82%B3%E3%83%94%E3%83%BC%20(5).txt",
            "timestamp": "2019-05-10T10:27:56+09:00",
            "x-abeja-sys-meta-organizationid": "1698459253990"
          },
          "created_at": "2019-05-10T02:13:47.321Z",
          "updated_at": "2019-05-10T02:13:47.321Z",
          "source": "20190510T015552-6cd29693-5b9f-4b31-bbfc-173af405bd8e",
          "channel_id": "1760057646057"
        }
      ]
    }
  }
]