# 2. AI中藥材鑒別器上手即玩

## 程式選擇教學

未來板Lite已經預載AI鑒別器的程式，學生只須選擇相應程式即可。

{% embed url="<https://youtu.be/t0IWq0CMLTk>" %}

程式選擇步驟:

1. 打開電源。

<figure><img src="/files/RmUXz04eqagdfvFIvCbr" alt="" width="375"><figcaption></figcaption></figure>

2. 在介面中可以按A鍵和B鍵選擇功能，選擇右邊的運行程序，然後按M鍵確認。
3. 進入頁面後會看到所有的預載程式，使用A和B鍵選擇想啟動的程式，然後按M鍵，未來板就會啟動所選程式。

<div><figure><img src="/files/5tC6AMb7JmJtvR7b0JON" alt=""><figcaption></figcaption></figure> <figure><img src="/files/SI91oE8ikiT8OvzgGRN8" alt=""><figcaption></figcaption></figure> <figure><img src="/files/31RahvJUcZ84lCJZsbmR" alt=""><figcaption></figcaption></figure></div>

### 下載範例圖片

[**下載範例圖片**](https://www.canva.com/design/DAGxguPrfNI/7r2qc4hzFF8wXIRoCehHXQ/view?utm_content=DAGxguPrfNI\&utm_campaign=designshare\&utm_medium=link2\&utm_source=uniquelinks\&utlId=h3cd0e17c79)

{% embed url="<https://www.canva.com/design/DAGxguPrfNI/7r2qc4hzFF8wXIRoCehHXQ/view?utlId=h3cd0e17c79&utm_campaign=designshare&utm_content=DAGxguPrfNI&utm_medium=link2&utm_source=uniquelinks>" %}

## 1. AI鑒別器

### 程式使用教學

{% hint style="info" %}
AI鑒別器程式需要使用WiFi，請預先準備WiFi熱點。\
預設WiFi登入資料:\
SSID: hello\
Password: 12345678
{% endhint %}

打開「herb\_run.py」。

未來板會自動連接到WiFi網絡。

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

KOI 2會自動載入先前訓練的AI模型。\
按未來板的A鍵即可進行辨認。

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

未來板會顯示辨認到中藥材的名稱。

按未來板的B鍵，生成式AI就會生成一段文字介紹該中藥材並以粵語朗讀出來。

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

按下中間的M鍵，未來板就會顯示Listening。向未來板說出你的問題，未來板會將進行語音辨識。

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

生成式AI就會生成出答案並以粵語朗讀出來。

<figure><img src="/files/32UzHmqWlrsk2J43i6lA" alt=""><figcaption></figcaption></figure>

### 更改WiFI登入資料

如需更改WiFi的登入資料，請打開wifi.txt然後輸入新的SSID和密碼，兩者用逗號( , )分隔。

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

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


---

# 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/ai_agentdevice/herb.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.
