# OCR停車場

![](https://kittenbothk.readthedocs.io/en/latest/_images/gate1.png)

透過OCR(光學文字辨識)辨識車牌卡牌，模擬停車場自動計費系統。

### 組裝說明書下載

[組裝說明書下載](https://drive.google.com/drive/folders/1wg_edUZFrqyUONA0FJ6vFBkGArRsfnf4?usp=sharing)

![](https://kittenbothk.readthedocs.io/en/latest/_images/gate_wire1.png)

### 參考程式

{% file src="/files/Q2hk61gIcOVkFuVZrBk2" %}

<figure><img src="/files/fOdibNUvArj21PyG9QIb" alt=""><figcaption></figcaption></figure>

### 應用玩法

{% hint style="info" %}
這應用需要使用Token。
{% endhint %}

1. 連接好Micro:bit和打開Robotbit電源
2. 點擊綠色旗啟動程式
3. 將車牌卡放在鏡頭面前
4. 當超聲波感應器感應到5cm距離內有物件，程式就會進行車牌辨識
5. 程式就會記下辨識到的車牌然後打開閘門
6. 當同一個車牌再次被辨識到的時候，代表車子離開停車場，程式就會計算應付停車費


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sharinghub.kittenbot.hk/kits/inventorkit/kittenblockai/ocrpparking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
