アノテーションクラスの入出力フォーマットを説明します。

<aside> ⚠️ 利用禁止文字について

アノテーションクラスの値に半角英数字・(アンダーバー)以外の利用禁止文字が含まれているとき、(アンダーバー)に置換してインポートされます。

例) sports ball → sports_ball

</aside>

JSON

[
    {
        "type": "bbox",
        "title": "イヌ",
        "value": "dog",
        "color": "#031a8d",
        "order": 1,
        "useBBox": false,
        "useRotation": true, // enable annotation rotation
        "minWidth": 100, // minimum width of rectangle
        "minHeight": 200, // minimum height of rectangle
        "isAllowMinAtLeastOne": false, // allowed if at least one is less than or equal to the minimum
        "minLength": 0,
        "maxWidth": 100, // maximum width of rectangle
        "maxHeight": 200, // maximum height of rectangle
        "isAllowMaxAtLeastOne": true, // allowed if at least one is less than or equal to the maximum
        "maxLength": 0,
        "vertex": 0,
        "isOverlapFrameSelect": false,
        "attributes": [
            {
                "type": "text",
                "name": "イヌの種類",
                "key": "kind",
                "value": "",
                "options": [],
                "order": 1,
                "isAutocompleteEnabled": false
            }
        ],
        "keypoints": [] // pose estimation project's points
    }
]

CSV

type,title,value,color,order,useBBox,useRotation,minWidth,minHeight,isAllowMinAtLeastOne,minLength,maxWidth,maxHeight,isAllowMaxAtLeastOne,maxLength,vertex,isOverlapFrameSelect,attributes,keypoints
bbox,イヌ,dog,#031a8d,1,false,true,100,200,false,0,100,200,true,0,0,false,"[{""type"":""text"",""name"":""イヌの種類"",""key"":""kind"",""value"":"""",""options"":[],""order"":1,""isAutocompleteEnabled"":false}]",[]