> For the complete documentation index, see [llms.txt](https://docs.mindkosh.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mindkosh.com/ko/python-sdk/mindkosh-1/object-detection-format.md).

# 객체 탐지 형식

이미지에서 객체 탐지를 위한 Mindkosh 주석 형식 설명.

Mindkosh 형식의 이미지 주석에는 주석이 속한 이미지와 주석 유형별로 그룹화된 주석이 포함되며, 주석 유형은 바운딩 박스, 폴리곤, 폴리라인 및 점(키포인트)일 수 있습니다. {

```json
"annotations": {
    "version": "1.1",
    "meta": {
      "task": {
        "labels": [
          {
            "id": 11695,
            "name": "골대",
            "attributes": [
              {
                "id": 1757,
                "name": "가림",
                "mutable": true,
                "input_type": "체크박스",
                "default_value": "",
                "values": "true\nfalse"
              }
            ]
          }
        ]
      }
    },
    "images": [
      {
        "id": 0,
        "name": "psg_marseille_first_half_1228.png",
        "width": 1280,
        "height": 720,
        "boxes": [
          {
            "id": 3015293,
            "label": 11695,
            "source": "수동",
            "point_order": -1,
            "related_ids": [],
            "created_mode": "주석",
            "created_by": "sdevgupta",
            "updated_by": "없음",
            "xtl": "599.73",
            "ytl": "163.63",
            "xbr": "658.33",
            "ybr": "188.35",
            "rotation": "21.3",
            "z_order": 0,
            "attributes": [
              { "id": 1757, "name": "가림", "value": "true" }
            ],
          }
        ]
      }
    ]
  }
}

```

**속성 설명**

<table data-search="false"><thead><tr><th width="215"></th><th></th></tr></thead><tbody><tr><td><code>ID</code></td><td>주석 ID. Mindkosh 전체에서 고유합니다.</td></tr><tr><td><code>레이블</code></td><td>레이블 ID. 레이블 섹션에서 참조할 수 있습니다</td></tr><tr><td><code>출처</code></td><td>수동, 가져온 또는 자동일 수 있습니다</td></tr><tr><td><code>관련 ID</code></td><td>이 주석과 연결된 다른 객체들의 주석 ID 배열</td></tr><tr><td><code>생성 모드</code></td><td>이 주석이 어떤 주석 모드에서 생성되었는지입니다. 주석, 검증, qc 또는 완료일 수 있습니다</td></tr><tr><td><code>생성자</code></td><td>주석을 생성한 사용자</td></tr><tr><td><code>업데이트한 사용자</code></td><td>주석을 업데이트한 사용자</td></tr><tr><td><code>속성</code></td><td>사용 가능한 경우 속성의 키-값 쌍</td></tr><tr><td><code>회전</code></td><td>회전된 바운딩 박스의 방향입니다. 축에 평행한 바운딩 박스에는 적용되지 않습니다.</td></tr><tr><td><code>z 순서</code></td><td>주석의 레이어 번호입니다. 폴리곤에만 적용됩니다</td></tr></tbody></table>

#### 주석 설명

<table><thead><tr><th width="150"></th><th></th></tr></thead><tbody><tr><td>박스</td><td>상자의 왼쪽 위와 오른쪽 아래 점으로 설명됩니다. <code>xtl, ytl, xbr, ybr</code></td></tr><tr><td>폴리곤</td><td>점들의 평면 배열 - x<sub>1,</sub> y<sub>1,</sub> x<sub>2</sub>, y<sub>2</sub>, x<sub>3</sub>, y<sub>3.</sub> 마지막 점은 첫 번째 점과 연결됩니다.</td></tr><tr><td>폴리라인</td><td>폴리곤과 동일합니다. 마지막 점은 첫 번째 점과 연결되지 않습니다.</td></tr><tr><td>점들</td><td>점들의 평면 배열</td></tr><tr><td>큐보이드</td><td>앞면과 뒷면의 왼쪽 위 및 오른쪽 아래 모서리로 설명됩니다.<br><code>xtl1, ytl1, xbr1, ybr1, xtl2, ytl2, xbr2, ybr2</code></td></tr></tbody></table>

#### 순서가 지정된 바운딩 박스

순서가 지정된 바운딩 박스의 경우, `점 순서` 속성은 1에서 8 사이의 값으로 설정됩니다. 다음과 같이 해석할 수 있습니다:&#x20;

<table data-search="false"><thead><tr><th width="104">값</th><th>설명</th></tr></thead><tbody><tr><td>-1</td><td>바운딩 박스가 점 순서 없이 생성되었습니다.</td></tr><tr><td>1</td><td>회전되지 않은 바운딩 박스의 왼쪽 위 모서리가 첫 번째 점입니다. 나머지 점들은 시계 방향입니다.</td></tr><tr><td>2</td><td>회전되지 않은 바운딩 박스의 오른쪽 위 모서리가 첫 번째 점입니다. 나머지 점들은 시계 방향입니다.</td></tr><tr><td>3</td><td>회전되지 않은 바운딩 박스의 오른쪽 아래 모서리가 첫 번째 점입니다. 나머지 점들은 시계 방향입니다.</td></tr><tr><td>4</td><td>회전되지 않은 바운딩 박스의 왼쪽 아래 모서리가 첫 번째 점입니다. 나머지 점들은 시계 방향입니다.</td></tr><tr><td>5</td><td>회전되지 않은 바운딩 박스의 왼쪽 위 모서리가 첫 번째 점입니다. 나머지 점들은 반시계 방향입니다.</td></tr><tr><td>6</td><td>회전되지 않은 바운딩 박스의 오른쪽 위 모서리가 첫 번째 점입니다. 나머지 점들은 반시계 방향입니다.</td></tr><tr><td>7</td><td>회전되지 않은 바운딩 박스의 오른쪽 아래 모서리가 첫 번째 점입니다. 나머지 점들은 반시계 방향입니다.</td></tr><tr><td>8</td><td>회전되지 않은 바운딩 박스의 왼쪽 아래 모서리가 첫 번째 점입니다. 나머지 점들은 반시계 방향입니다.</td></tr></tbody></table>

#### 트랙

트랙은 동일한 ID를 가진 프레임 전반의 추적된 객체입니다. 서로 다른 프레임의 동일한 객체는 서로 다른 주석 ID를 가지지만 동일한 `트랙 ID`.

속성 `가려짐` 속성이 객체가 동일한 트랙의 일부이지만 현재 프레임에서 보이지 않는지를 지정합니다.

추가로 `관련 트랙 ID` 특정 추적된 객체와 연결된 다른 트랙의 배열을 설명합니다.
