自定義模板
更新時(shí)間:
如果iTAG提供的標(biāo)注模板無法滿足您的需求,創(chuàng)建標(biāo)注任務(wù)時(shí),您也可以選擇自定義模板。本文介紹自定義模板的數(shù)據(jù)結(jié)構(gòu)。
應(yīng)用場(chǎng)景
您特定的標(biāo)注場(chǎng)景。
數(shù)據(jù)結(jié)構(gòu)
輸入數(shù)據(jù)
manifest文件的每行數(shù)據(jù)是一道題目,且每行數(shù)據(jù)的字段名不限制,在創(chuàng)建任務(wù)時(shí),您可以自由選擇字段。
{"data":{"picture_url":"oss://tongxin-lly.oss-cn-hangzhou.aliyuncs.com/iTAG/pic/13.jpg","text":"阿里巴巴集團(tuán)慶祝創(chuàng)立十周年,同時(shí)成立阿里云計(jì)算"}} ...
輸出數(shù)據(jù)
manifest文件的每行數(shù)據(jù)由題目和標(biāo)注結(jié)果一起生成。每行數(shù)據(jù)的JSON結(jié)構(gòu)如下。
{ "data": { "picture_url": "oss://itag.oss-cn-hangzhou.aliyuncs.com/tongxin_pic/13.jpg", "text": "阿里巴巴集團(tuán)慶祝創(chuàng)立十周年,同時(shí)成立阿里云計(jì)算" }, "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": "標(biāo)簽2" } } ], "rotation": 0, "markTitle": "框選題-IMG-3", "width": 960, "type": "image", "height": 960 }, { "objects": [ { "result": { "NER": [ "標(biāo)簽7" ] }, "color": null, "id": null, "text": "集團(tuán)慶祝", "start": 4, "end": 7 } ], "empty": false }, { "questionId": "3", "data": "這里是填空題的答案", "markTitle": "文本內(nèi)容", "type": "survey/value" }, { "questionId": "4", "data": "標(biāo)簽222", "markTitle": "單選題", "type": "survey/value" } ] } }
文檔內(nèi)容是否對(duì)您有幫助?