> For the complete documentation index, see [llms.txt](https://docs.petoi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.petoi.com/chinese/kuo-zhan-mo-kuai/shen-du-kai-fa-ying-yong-ai-shi-jue-mo-kuai/mo-xing-bu-shu.md).

# 模型部署

Grove Vision AI V2可以通过在线网站进行部署，网站本身就有很丰富的模型资源供您选择，所以除了自己训练模型外也可以直接使用网站上的模型。

{% embed url="<https://sensecraft.seeed.cc/ai/#/model>" %}

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

在该页面顶部，您将看到三个栏目，标题分别为： AI 模型、设备工作区、关于 SenseCraft AI。点击设备工作区，选择 Grove - Vision AI V2。

<figure><img src="/files/JLK7aZyiRf2wKPXvBshn" alt=""><figcaption><p>选择 Grove - Vision AI V2</p></figcaption></figure>

<figure><img src="/files/amKjqiZzEaf6C44MoJn5" alt=""><figcaption><p>点击Connect按钮</p></figcaption></figure>

<figure><img src="/files/jwrTwvHJWX32jAGyaJYz" alt=""><figcaption><p>点击想要配对的串行口，图中是COM3</p></figcaption></figure>

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

在 "模型 "区域，您可以选择 SenseCraft AI 提供的模型，也可以上传您自己训练的模型。

<figure><img src="/files/XrBcQr8fHOb0miWuBRjg" alt=""><figcaption><p>点击 "Select Model"，选择您喜欢的模型。</p></figcaption></figure>

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

上传模型需要一点时间，因此您需要耐心等待。

<figure><img src="/files/0FNGuoBKHXgR6ktk5Lg5" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/9Pfe7nFilhn4yzsFtpUX" alt=""><figcaption></figcaption></figure>

在预览部分，您可以实时观察摄像机推理后的输出结果，例如，下载宠物检测功能后，Grove Vision AI V2 成功检测到猫。

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

在 "设备记录器 "部分，设备向计算机发送实时检测数据，在 "方框 "部分的数据为

```
{ 
x; // 盒子中心的水平坐标 
y; // 盒子中心的垂直坐标 
w; // 识别框的宽度 
h; // 识别框的高度 
score; // 识别为目标的可信度 
target; // 目标
 }
```

## 使用 Grove Vision AI V2 与 Petoi 机器狗通信

您可以使用 Arduino IDE 修改我们的开放源代码程序，以使用 Grove Vision AI V2。我们的程序将目标跟踪与 Grove Vision AI V2 集成在一起。您只需修改代码即可启用该功能。

具体使用详情，请参考：[Grove Vision AI V2摄像头模块](broken://spaces/ntUipGYjnJE9HQWSovJT)

此外，您还可以使用与 SSCMA 库相关的 API 开发更丰富的功能。&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.petoi.com/chinese/kuo-zhan-mo-kuai/shen-du-kai-fa-ying-yong-ai-shi-jue-mo-kuai/mo-xing-bu-shu.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
