# 未來板KOI編程教學5：形狀追蹤

KOI可以追蹤圓形和矩形。

### 形狀追蹤積木塊[¶](https://sharinghub.kittenbot.hk/airelated/koi/futureboard_demo/broken-reference)

```
偵測的靈敏性可以透過閥值調較，閥值越高越精準不過難度會越大。
```

<figure><img src="https://kittenbothk.readthedocs.io/en/latest/_images/koi_shape.png" alt=""><figcaption></figcaption></figure>

### 範例程式：形狀追蹤[¶](https://sharinghub.kittenbot.hk/airelated/koi/futureboard_demo/broken-reference)

```
偵測的靈敏性可以透過閥值調較，閥值越高越精準不過難度會越大。
```

<figure><img src="https://kittenbothk.readthedocs.io/en/latest/_images/koi_shape_code.png" alt=""><figcaption></figcaption></figure>

{% file src="<https://879637118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6uJvpXC43onNIIwhMlWo%2Fuploads%2FMMEEdBY2Ve02pSznm4Ti%2FSHAPE.sb3?alt=media&token=3e6b0939-10e3-440e-8883-30b46a6203d9>" %}
