LoginSignup
2
0

More than 1 year has passed since last update.

FastLabel JSON形式出力

Last updated at Posted at 2023-02-03

ステータスの種類

ステータス ステータス(日本語)
pending 保留
registered 新規
completed 提出済み
skipped スキップ
reviewed レビュー済
sent_back 差し戻し
approved 承認
declined 却下
customer_declined 顧客却下

座標の値

矩形 (bbox)

矩形の左上の点と、右下の点の座標が記載される。

{
  "points": [177, 141, 330, 298]
}

説明:[(左上x座標), (左上y座標), (右上x座標), (右上y座標)]

68747470733a2f2f71696974612d696d6167652d73746f72652e73332e61702d6e6f727468656173742d312e616d617a6f6e6177732e636f6d2f302f313336393834342f35633839316338332d653738642d376334652d306236342d3764306436353165313935662e706e67.png

(x軸、y軸は上の通り)

キーポイント (keypoint)

キーポイントの座標が記載される

{
  "points": [177, 141]
}

説明:[(x座標), (y座標)]

スクリーンショット 2022-11-12 14.50.22.png

線 (line)

線の始端と終端の座標が記載される

{
  "points": [177, 141, 222, 345]
}

スクリーンショット 2022-11-12 14.55.46.png

説明:[(始端x座標), (始端y座標), (終端x座標), (終端y座標)]

円 (circle)

円の中心座標と半径が記載される

{
  "points": [177, 141, 20]
}

説明:[(円の中心x座標), (円の中心y座標), (半径)]

スクリーンショット 2022-11-12 14.58.39.png

折れ線 (polyline)

点と点を順番に結んでいけば折れ線になる

{
  "points": [113, 194, 94, 216, 75, 233, 54, 248]
}

説明:[(1点目のx座標), (1点目のy座標), (2点目のx座標), (2点目のy座標), (3点目のx座標), (3点目のy座標),・・・・・]

スクリーンショット 2022-11-12 15.02.52.png

多角形 (polygon)

点と点を順番に結んでいけば多角形になる(折れ線との違いは始点と終点を結ぶ)

{
  "points": [113, 194, 94, 216, 75, 233, 54, 248]
}

説明:[(1点目のx座標), (1点目のy座標), (2点目のx座標), (2点目のy座標), (3点目のx座標), (3点目のy座標),・・・・・]

セグメンテーション (segmentation)

点と点を順番に結んでいけば多角形になる(折れ線との違いは始点と終点を結ぶ)

{
    "points": [
        [
            [
                0,
                0,
                300,
                0,
                300,
                280,
                0,
                280,
                0,
                0
            ],
            [ ドーナツの空洞部分
                55,
                44,
                55,
                195,
                196,
                195,
                196,
                44,
                55,
                44
            ]
        ]
    ],
}

説明:[(1点目のx座標), (1点目のy座標), (2点目のx座標), (2点目のy座標), (3点目のx座標), (3点目のy座標),・・・・・]

スクリーンショット 2022-11-17 15.27.00.png

グリッド (grid)

矩形と同様

出力サンプル

[
    {
        "id": "379ddd29-c113-4683-80fb-deefdf0daae7",
        "name": "sample1.JPG",
        "status": "registered",
        "externalStatus": "registered",
        "width": 2592,
        "height": 1944,
        "secondsToAnnotate": 0,
        "annotations": [
            {
                "id": "4ccd4f64-8556-40b9-b767-ec6e29a79666",
                "type": "bbox",
                "title": "animal",
                "value": "animal",
                "color": "#d276de",
                "attributes": [],
                "points": [
                    730.740478515625,
                    552.8729858398438,
                    1503.443115234375,
                    1759.85546875
                ],
                "rotation": 0,
                "keypoints": [],
                "confidenceScore": 0.904
            }
        ],
        "relations": [],
        "tags": [
            "example",
            "auto_v1_1"
        ],
        "assignee": "fastlabal-assignee-name",
        "reviewer": "fastlabel-reviewer-name",
        "approver": "fastlabel-approver-name",
        "externalAssignee": "fastlabal-external-assignee-name",
        "externalReviewer": "fastlabel-external-reviewer-name",
        "externalApprover": "fastlabel-external-approver-name",
        "createdAt": "2022-10-19T00:03:16.398933",
        "updatedAt": "2022-10-19T00:03:16.398933"
    },
    {
        "id": "gajoga-c113-4683-80fb-deefdf0daae7",
        "name": "sample2.JPG",
        ・・・
    }
]

出力サンプル(説明付き)

[
    {
        "id": "379ddd29-c113-4683-80fb-deefdf0daae7", ← id(値自体には意味はない)
        "name": "sample1.JPG",← タスク名
        "status": "registered",← 顧客ステータス
        "externalStatus": "registered", 外部ステータス
        "width": 2592,← 画像の幅
        "height": 1944,← 画像の高さ
        "secondsToAnnotate": 0, ← アノテーションにかかった時間
        "annotations": [ ←アノテーション情報が書かれている
            {
                "id": "4ccd4f64-8556-40b9-b767-ec6e29a79666",
                "type": "bbox",← アノテーションのタイプ(bbox,keypoint,etc)
                "title": "animal",← アノテーションの名前
                "value": "animal",← アノテーションの値
                "color": "#d276de",← アノテーションの色
                "attributes": [],← 属性
                "points": [← アノテーションの座標
                    730.740478515625,← 左上のx座標
                    552.8729858398438,← 左上のy座標
                    1503.443115234375,← 右上のx座標
                    1759.85546875← 右上のy座標
                ],
                "rotation": 0,←回転角度
                "keypoints": [],← 骨格推定のときに使う
                "confidenceScore": 0.904
            }
        ],
        "relations": [],← アノテーションの関連付け
        "tags": [← タグ情報
            "example",
            "auto_v1_1"
        ],
        "assignee": "fastlabal-assignee-name",←内部担当者
        "reviewer": "fastlabel-reviewer-name",←内部レビューワー
        "approver": "fastlabel-approver-name",←内部承認者
        "externalAssignee": "fastlabal-external-assignee-name",←外部担当者
        "externalReviewer": "fastlabel-external-reviewer-name",←外部レビューワー
        "externalApprover": "fastlabel-external-approver-name",←外部承認社
        "createdAt": "2022-10-19T00:03:16.398933",←作成日
        "updatedAt": "2022-10-19T00:03:16.398933"←更新日
    },
    {
        "id": "gajoga-c113-4683-80fb-deefdf0daae7",
        "name": "sample2.JPG",
        ・・・
    }
]
2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0