画像フォーマット

画像で利用可能なアノテーションタイプについて、出力フォーマットを説明します。

各フォーマット内のattributes部分については共通フォーマットをご参照ください。

矩形

[
    {
        "id": "3e485132-d1f4-4947-b256-f88cf490a340",
        "name": "car01.png",
        "status": "registered",
        "externalStatus": "registered",
        "url": "Signed URL of your image",
        "width": 799,
        "height": 500,
        "secondsToAnnotate": 0,
        "annotations": [
            {
                "id": "ddc87604-9867-407b-a849-fa5319e17003",
                "type": "bbox",
                "title": "車体",
                "value": "body",
                "color": "#D10069",
                "attributes": [
                    {
                        "type": "text",
                        "name": "車体",
                        "key": "body",
                        "value": "セダン"  // input value
                    },
                    {
                        "type": "select",
                        "name": "サイズ",
                        "key": "size",
                        "value": "small" // selected value
                    }
                ],
                "points": [
                    214, // top-left x point
                    384, // top-left y point
                    309, // bottom-right x point
                    439  // bottom-right y point
                ],
                "rotation": 0,
                "keypoints": [],  // pose estimation project's points
                "confidenceScore": -1 // scored by auto annotation ("-1" means you manually annotated)
            },
            {
                "id":  "a6e2ff20-f54f-4e83-b6ac-19aabc5889ea",
                "type": "bbox",
                "title": "タイヤ",
                "value": "tire",
                "color": "#4f8ff1",
                "attributes": [],
                "points": [
                    254, // top-left x point
                    384, // top-left y point
                    309, // bottom-right x point
                    439  // bottom-right y point
                ],
                "rotation": 0,
                "keypoints": [],  // pose estimation project's points
                "confidenceScore": -1 // scored by auto annotation ("-1" means you manually annotated)
            }
        ],
        "relations": [
           {
               "start": "ddc87604-9867-407b-a849-fa5319e17003", 
               "end":  "a6e2ff20-f54f-4e83-b6ac-19aabc5889ea"
           }
        ],
        "tags": [],
        "assignee": null,
        "reviewer": null,
        "approver": null,
        "externalAssignee": null,
        "externalReviewer": null,
        "externalApprover": null,
        "createdAt": "2021-08-15T15:26:36.201Z", // ISO8601
        "updatedAt": "2021-08-15T15:26:36.201Z"  // ISO8601
    }

[
    {
        "id": "3e485132-d1f4-4947-b256-f88cf490a340",
        "name": "car01.png",
        "status": "registered",
        "externalStatus": "registered",
        "url": "Signed URL of your image",
        "width": 799,
        "height": 500,
        "secondsToAnnotate": 0,
        "annotations": [
            {
                "type": "circle",
                "title": "車体",
                "value": "body",
                "color": "#D10069",
                "attributes": [
                    {
                        "type": "text",
                        "name": "車体",
                        "key": "body",
                        "value": "セダン"  // input value
                    },
                    {
                        "type": "select",
                        "name": "サイズ",
                        "key": "size",
                        "value": "small" // selected value
                    }
                ],
                "points": [
                    214, // x point
                    384, // y point
                    50,   // radius
                ],
                "rotation": 0,
                "keypoints": [],  // pose estimation project's points
                "confidenceScore": -1 // scored by auto annotation ("-1" means you manually annotated)
            }
        ],
        "tags": [],
        "assignee": null,
        "reviewer": null,
        "approver": null,
        "externalAssignee": null,
        "externalReviewer": null,
        "externalApprover": null,
        "createdAt": "2021-08-15T15:26:36.201Z", // ISO8601
        "updatedAt": "2021-08-15T15:26:36.201Z"  // ISO8601
    }

多角形

[
    {
        "id": "f639e3a2-fb01-451f-a12a-b71867920bef",
        "name": "car01.jpg",
        "status": "registered",
        "externalStatus": "registered",
        "url": "Signed URL of your image",
        "width": 4896,
        "height": 3264,
        "secondsToAnnotate": 0,
        "annotations": [
            {
                "type": "polygon",
                "title": "Body",
                "value": "body",
                "color": "#69D100",
                "attributes": [],
                "points": [
                    858.02,
                    1999.16,
                    960.18,
                    1699.05,
                    1170.9,
                    1437.24,
                    1221.99,
                    1041.33,
                ],
                "rotation": 0,
                "keypoints": [],  // pose estimation project's points
                "confidenceScore": -1 // scored by auto annotation ("-1" means you manually annotated)
            }
        ],
        "tags": [],
        "assignee": null,
        "reviewer": null,
        "approver": null,
        "externalAssignee": null,
        "externalReviewer": null,
        "externalApprover": null,
        "createdAt": "2021-09-13T17:47:31.326Z", // ISO8601
        "updatedAt": "2021-09-13T17:47:31.326Z"  // ISO8601
    }
]

キーポイント

[
    {
        "id": "9ccd01ba-0044-4566-b381-d53c94e1ed86",
        "name": "Pedestrian01.jpg",
        "status": "registered",
        "externalStatus": "registered",
        "url": "Signed URL of your image",
        "width": 4896,
        "height": 3264,
        "secondsToAnnotate": 0,
        "annotations": [
            {
                "type": "keypoint",
                "title": "Pedestrian",
                "value": "pedestrian",
                "color": "#cf75cb",
                "attributes": [],
                "points": [
                    2920.53,
                    1086.04
                ],
                "rotation": 0,
                "keypoints": [],  // pose estimation project's points
                "confidenceScore": -1 // scored by auto annotation ("-1" means you manually annotated)
            },
            {
                "type": "keypoint",
                "title": "Pedestrian",
                "value": "pedestrian",
                "color": "#cf75cb",
                "attributes": [],
                "points": [
                    1962.7, // x point
                    1411.7  // y point
                ],
                "rotation": 0,
                "keypoints": [],  // pose estimation project's points
                "confidenceScore": -1 // scored by auto annotation ("-1" means you manually annotated)
            }
        ],
        "tags": [],
        "assignee": null,
        "reviewer": null,
        "approver": null,
        "externalAssignee": null,
        "externalReviewer": null,
        "externalApprover": null,
        "createdAt": "2021-09-13T17:53:29.220Z", // ISO8601
        "updatedAt": "2021-09-13T17:53:29.220Z"  // ISO8601
    }
]

[
    {
        "id": "fda43054-e128-4e00-b928-d08160c18b3a",
        "name": "city01.jpg",
        "status": "registered",
        "externalStatus": "registered",
        "url": "Signed URL of your image",
        "width": 4896,
        "height": 3264,
        "secondsToAnnotate": 0,
        "annotations": [
            {
                "type": "line",
                "title": "Street",
                "value": "street",
                "color": "#74d106",
                "attributes": [],
                "points": [
                    59.08,
                    2162.23,
                    2628.17,
                    3295.43
                ],
                "rotation": 0,
                "keypoints": [],  // pose estimation project's points
                "confidenceScore": -1 // scored by auto annotation ("-1" means you manually annotated)
            },
            {
                "type": "line",
                "title": "Street",
                "value": "street",
                "color": "#74d106",
                "attributes": [],
                "points": [
                    1836.49,
                    1851.77,
                    3575.08,
                    2410.6
                ],
                "rotation": 0,
                "keypoints": [],  // pose estimation project's points
                "confidenceScore": -1 // scored by auto annotation ("-1" means you manually annotated)
            }
        ],
        "tags": [],
        "assignee": null,
        "reviewer": null,
        "approver": null,
        "externalAssignee": null,
        "externalReviewer": null,
        "externalApprover": null,
        "createdAt": "2021-09-13T18:10:28.433Z", // ISO8601
        "updatedAt": "2021-09-13T18:10:28.433Z"  // ISO8601
    }
]

セグメンテーション

[
    {
        "id": "4acc7dc2-9772-4954-a8bd-23d02557bd20",
        "name": "car.jpg",
        "status": "registered",
        "url": "Signed URL of your image",
        "width": 800,
        "height": 600,
        "secondsToAnnotate": 0,
        "annotations": [
            {
                "type": "segmentation",
                "title": "タイヤ",
                "value": "tire",
                "color": "#4f8ff1",
                "attributes": [],
                "points": [
                    [
                        [...], // outer points (1)
                        [...], // hollowed out points (1)
                    ],
                    [
                        [...], // outer points (2)
                        [...], // hollowed out points (2)
                    ]
                ],
                "rotation": 0,
                "keypoints": [],  // pose estimation project's points
                "confidenceScore": -1 // scored by auto annotation ("-1" means you manually annotated)
            }
        ],
        "tags": [],
        "assignee": "assignee-01",
        "reviewer": null,
        "customerReviewer": null,
        "createdAt": "2021-04-19T02:40:08.961Z", // ISO8601
        "updatedAt": "2021-05-21T06:18:41.000Z"  // ISO8601
    }
]

骨格推定

[
      {
        "id": "fead2dec-3d53-4108-bc0f-064fd937493f",
        "name": "jenny-hill-Io2Zgb3_kdk-unsplash.jpg",
        "status": "registered",
        "externalStatus": "registered",
        "url": "Signed URL of your image",
        "width": 4000,
        "height": 2662,
        "secondsToAnnotate": 0,
        "annotations": [
            {
                "type": "pose_estimation",
                "title": "Person",
                "value": "person",
                "color": "#44AD8E",
                "attributes": [],
                "keypoints": [
                    {
                        "name": "鼻",
                        "key": "nose",
                        "value": [
                            2757.37,
                            439.86,
                            1
                        ],
                        "edges": [
                            "left_eye",
                            "right_eye"
                        ]
                    },
                    {
                        "name": "左目",
                        "key": "left_eye",
                        "value": [
                            2703.86,
                            390.46,
                            1
                        ],
                        "edges": [
                            "nose",
                            "right_eye",
                            "left_ear"
                        ]
                    },
                    {
                        "name": "右目",
                        "key": "right_eye",
                        "value": [
                            2777.95,
                            394.58,
                            1
                        ],
                        "edges": [
                            "nose",
                            "left_eye",
                            "right_ear"
                        ]
                    },
                    {
                        "name": "左耳",
                        "key": "left_ear",
                        "value": [
                            2568.03,
                            456.32,
                            1
                        ],
                        "edges": [
                            "left_eye",
                            "left_shoulder"
                        ]
                    },
                    {
                        "name": "右耳",
                        "key": "right_ear",
                        "value": [
                            2782.07,
                            435.74,
                            1
                        ],
                        "edges": [
                            "right_eye",
                            "right_shoulder"
                        ]
                    },
                    {
                        "name": "左肩",
                        "key": "left_shoulder",
                        "value": [
                            2411.61,
                            690.94,
                            1
                        ],
                        "edges": [
                            "left_ear",
                            "right_shoulder",
                            "left_elbow",
                            "left_hip"
                        ]
                    },
                    {
                        "name": "右肩",
                        "key": "right_shoulder",
                        "value": [
                            2835.58,
                            707.41,
                            1
                        ],
                        "edges": [
                            "right_ear",
                            "left_shoulder",
                            "right_elbow",
                            "right_hip"
                        ]
                    },
                    {
                        "name": "左ひじ",
                        "key": "left_elbow",
                        "value": [
                            2341.64,
                            1110.79,
                            1
                        ],
                        "edges": [
                            "left_shoulder",
                            "left_wrist"
                        ]
                    },
                    {
                        "name": "右ひじ",
                        "key": "right_elbow",
                        "value": [
                            2716.21,
                            995.53,
                            1
                        ],
                        "edges": [
                            "right_shoulder",
                            "right_wrist"
                        ]
                    },
                    {
                        "name": "左手首",
                        "key": "left_wrist",
                        "value": [
                            2724.44,
                            1094.32,
                            1
                        ],
                        "edges": [
                            "left_elbow"
                        ]
                    },
                    {
                        "name": "右手首",
                        "key": "right_wrist",
                        "value": [
                            2609.19,
                            1065.51,
                            1
                        ],
                        "edges": [
                            "right_elbow"
                        ]
                    },
                    {
                        "name": "左腰",
                        "key": "left_hip",
                        "value": [
                            2374.57,
                            1448.31,
                            1
                        ],
                        "edges": [
                            "left_shoulder",
                            "right_hip",
                            "left_knee"
                        ]
                    },
                    {
                        "name": "右腰",
                        "key": "right_hip",
                        "value": [
                            2802.65,
                            1423.61,
                            1
                        ],
                        "edges": [
                            "right_shoulder",
                            "left_hip",
                            "right_knee"
                        ]
                    },
                    {
                        "name": "左ひざ",
                        "key": "left_knee",
                        "value": [
                            2382.8,
                            1929.9,
                            1
                        ],
                        "edges": [
                            "left_hip",
                            "left_ankle"
                        ]
                    },
                    {
                        "name": "右ひざ",
                        "key": "right_knee",
                        "value": [
                            2954.94,
                            1839.34,
                            1
                        ],
                        "edges": [
                            "right_hip",
                            "right_ankle"
                        ]
                    },
                    {
                        "name": "左足首",
                        "key": "left_ankle",
                        "value": [
                            2214.04,
                            2308.58,
                            1
                        ],
                        "edges": [
                            "left_knee"
                        ]
                    },
                    {
                        "name": "右足首",
                        "key": "right_ankle",
                        "value": [
                            2765.6,
                            2386.79,
                            1
                        ],
                        "edges": [
                            "right_knee"
                        ]
                    }
                ]
            }
        ],
        "tags": [],
        "assignee": null,
        "reviewer": null,
        "approver": null,
        "externalAssignee": null,
        "externalReviewer": null,
        "externalApprover": null,
        "createdAt": "2021-09-03T00:11:23.255Z", // ISO8601
        "updatedAt": "2021-09-03T00:11:23.255Z"  // ISO8601
    }
]

分類

[
    {
        "id": "7193f6df-5265-4517-88e1-3119cd7c75d5",
        "name": "sample.mp3",
        "status": "registered",
        "externalStatus": "registered",
        "url": "Signed URL of your voice",
        "width": 0,
        "height": 0,
        "secondsToAnnotate": 0,
        "attributes": [
            {
                "type": "checkbox",
                "name": "シーン",
                "key": "scene",
                "value": [
                    "公園"
                ]
            },
            {
                "type": "checkbox",
                "name": "スタイル",
                "key": "style",
                "value": [
                    "カジュアル"
                ]
            }
        ],
        "tags": [],
        "assignee": "Assignee-01",
        "reviewer": null,
        "approver": null,
        "externalAssignee": null,
        "externalReviewer": null,
        "externalApprover": null,
        "createdAt": "2021-06-04T01:14:15.441Z", // ISO8601
        "updatedAt": "2021-08-10T15:02:07.000Z"  // ISO8601
    }
]

全て

[
    {
        "id": "249a34af-6e2e-4418-900e-ccd2c2437d83",
        "name": "car01.jpg",
        "status": "registered",
        "externalStatus": "registered",
        "url": "Signed URL of your image",
        "width": 4896,
        "height": 3264,
        "secondsToAnnotate": 0,
        "annotations": [
            {
                "type": "bbox",
                "title": "Rectangle",
                "value": "rectangle",
                "color": "#69D100",
                "attributes": [],
                "points": [
                    966.57,
                    485.81,
                    4389.19,
                    2541.93
                ],
                "rotation": 0,
                "keypoints": [],  // pose estimation project's points
                "confidenceScore": -1 // scored by auto annotation ("-1" means you manually annotated)
            },
            {
                "type": "line",
                "title": "Line",
                "value": "line",
                "color": "#FF0000",
                "attributes": [],
                "points": [
                    85.37,
                    2088.56,
                    2692.21,
                    3328.81
                ],
                "rotation": 0,
                "keypoints": [],  // pose estimation project's points
                "confidenceScore": -1 // scored by auto annotation ("-1" means you manually annotated)
            },
            {
                "type": "keypoint",
                "title": "Keypoint",
                "value": "keypoint",
                "color": "#c56464",
                "attributes": [],
                "points": [
                    4326.7,
                    2774.08
                ],
                "rotation": 0,
                "keypoints": [],  // pose estimation project's points
                "confidenceScore": -1 // scored by auto annotation ("-1" means you manually annotated)
            },
            {
                "type": "polygon",
                "title": "polygon",
                "value": "polygon",
                "color": "#5843AD",
                "attributes": [],
                "points": [
                    47.06,
                    2024.71,
                    66.22,
                    1137.13,
                    213.08,
                    1156.28,
                    321.64
                ],
                "rotation": 0,
                "keypoints": [],  // pose estimation project's points
                "confidenceScore": -1 // scored by auto annotation ("-1" means you manually annotated)
            },
            {
                "type": "pose_estimation",
                "title": "Poseestimation",
                "value": "poseestimation",
                "color": "#44AD8E",
                "attributes": [],
                "points": [],
                "keypoints": [
                    {
                        "name": "鼻",
                        "key": "nose",
                        "value": [
                            2757.37,
                            439.86,
                            1
                        ],
                        "edges": [
                            "left_eye",
                            "right_eye"
                        ]
                    },
                    {
                        "name": "左目",
                        "key": "left_eye",
                        "value": [
                            2703.86,
                            390.46,
                            1
                        ],
                        "edges": [
                            "nose",
                            "right_eye",
                            "left_ear"
                        ]
                    },
                    {
                        "name": "右目",
                        "key": "right_eye",
                        "value": [
                            2777.95,
                            394.58,
                            1
                        ],
                        "edges": [
                            "nose",
                            "left_eye",
                            "right_ear"
                        ]
                    },
                    {
                        "name": "左耳",
                        "key": "left_ear",
                        "value": [
                            2568.03,
                            456.32,
                            1
                        ],
                        "edges": [
                            "left_eye",
                            "left_shoulder"
                        ]
                    },
                    {
                        "name": "右耳",
                        "key": "right_ear",
                        "value": [
                            2782.07,
                            435.74,
                            1
                        ],
                        "edges": [
                            "right_eye",
                            "right_shoulder"
                        ]
                    },
                    {
                        "name": "左肩",
                        "key": "left_shoulder",
                        "value": [
                            2411.61,
                            690.94,
                            1
                        ],
                        "edges": [
                            "left_ear",
                            "right_shoulder",
                            "left_elbow",
                            "left_hip"
                        ]
                    },
                    {
                        "name": "右肩",
                        "key": "right_shoulder",
                        "value": [
                            2835.58,
                            707.41,
                            1
                        ],
                        "edges": [
                            "right_ear",
                            "left_shoulder",
                            "right_elbow",
                            "right_hip"
                        ]
                    },
                    {
                        "name": "左ひじ",
                        "key": "left_elbow",
                        "value": [
                            2341.64,
                            1110.79,
                            1
                        ],
                        "edges": [
                            "left_shoulder",
                            "left_wrist"
                        ]
                    },
                    {
                        "name": "右ひじ",
                        "key": "right_elbow",
                        "value": [
                            2716.21,
                            995.53,
                            1
                        ],
                        "edges": [
                            "right_shoulder",
                            "right_wrist"
                        ]
                    },
                    {
                        "name": "左手首",
                        "key": "left_wrist",
                        "value": [
                            2724.44,
                            1094.32,
                            1
                        ],
                        "edges": [
                            "left_elbow"
                        ]
                    },
                    {
                        "name": "右手首",
                        "key": "right_wrist",
                        "value": [
                            2609.19,
                            1065.51,
                            1
                        ],
                        "edges": [
                            "right_elbow"
                        ]
                    },
                    {
                        "name": "左腰",
                        "key": "left_hip",
                        "value": [
                            2374.57,
                            1448.31,
                            1
                        ],
                        "edges": [
                            "left_shoulder",
                            "right_hip",
                            "left_knee"
                        ]
                    },
                    {
                        "name": "右腰",
                        "key": "right_hip",
                        "value": [
                            2802.65,
                            1423.61,
                            1
                        ],
                        "edges": [
                            "right_shoulder",
                            "left_hip",
                            "right_knee"
                        ]
                    },
                    {
                        "name": "左ひざ",
                        "key": "left_knee",
                        "value": [
                            2382.8,
                            1929.9,
                            1
                        ],
                        "edges": [
                            "left_hip",
                            "left_ankle"
                        ]
                    },
                    {
                        "name": "右ひざ",
                        "key": "right_knee",
                        "value": [
                            2954.94,
                            1839.34,
                            1
                        ],
                        "edges": [
                            "right_hip",
                            "right_ankle"
                        ]
                    },
                    {
                        "name": "左足首",
                        "key": "left_ankle",
                        "value": [
                            2214.04,
                            2308.58,
                            1
                        ],
                        "edges": [
                            "left_knee"
                        ]
                    },
                    {
                        "name": "右足首",
                        "key": "right_ankle",
                        "value": [
                            2765.6,
                            2386.79,
                            1
                        ],
                        "edges": [
                            "right_knee"
                        ]
                    }
                ]
            }
        ],
        "tags": [],
        "assignee": null,
        "reviewer": null,
        "approver": null,
        "externalAssignee": null,
        "externalReviewer": null,
        "externalApprover": null,
        "createdAt": "2021-09-13T18:39:38.289Z", // ISO8601
        "updatedAt": "2021-09-13T18:39:38.289Z"  // ISO8601
    }
]