iTAG が提供するアノテーションテンプレートが要件を満たさない場合、アノテーションタスクを作成する際にカスタムテンプレートを使用できます。本トピックでは、カスタムテンプレートのデータ構造について説明します。
-
シナリオ
お客様の具体的なアノテーションシナリオ
-
データ構造
-
入力データ
マニフェスト ファイルの各行は 1 つのデータ項目です。各行のフィールド名に制限はありません。タスク作成時に任意のフィールドを選択できます。
{"data":{"picture_url":"oss://tongxin-lly.oss-cn-hangzhou.aliyuncs.com/iTAG/pic/13.jpg","text":"Alibaba Group's 10th anniversary and the founding of Alibaba Cloud"}} ... -
出力データ
マニフェスト ファイルの各行には、データ項目とそのアノテーション結果が含まれます。各行の JSON 構造を以下に示します。
{ "data": { "picture_url": "oss://itag.oss-cn-hangzhou.aliyuncs.com/tongxin_pic/13.jpg", "text": "Alibaba Group's 10th anniversary and the founding of Alibaba Cloud" }, "label-1435504604476547072": { "results": [ { "questionId": "1", "data": [ { "id": "e0755602-b90f-4d15-a11d-8951e001****", "type": "image/polygon", "value": [ [ 281.0181818181821, 451.49090909090916 ], [ 281.0181818181821, 1116.7636363636366 ], [ 829.927272727273, 1116.7636363636366 ], [ 829.927272727273, 451.49090909090916 ] ], "labels": { "boundingbox": "Label 2" } } ], "rotation": 0, "markTitle": "Bounding box selection-IMG-3", "width": 960, "type": "image", "height": 960 }, { "objects": [ { "result": { "NER": [ "Label 7" ] }, "color": null, "id": null, "text": "Group celebration", "start": 4, "end": 7 } ], "empty": false }, { "questionId": "3", "data": "This is the answer to the fill-in-the-blank question.", "markTitle": "Text content", "type": "survey/value" }, { "questionId": "4", "data": "Label 222", "markTitle": "Single-choice question", "type": "survey/value" } ] } }
-