# 图像跟踪图片规范

## 概述

### 使用环境

* **AR 场景：** 图像 AR
* **合辑：** 图像 AR

### 什么是图像跟踪？

图像跟踪全称：**图像检测与跟踪**（即图像 AR 场景）。包含两个部分：**图像检测** 与 **图像跟踪**。

衡量体验好坏需同时考量：

* 图像检测是否足够快
* 检测到后 AR 场景呈现是否足够稳定

> <img src="/files/wEXqK9XNq5AEiJe6KpyJ" alt="" data-size="original"><img src="/files/fYoWNM1VXRcu0uWwhdjo" alt="" data-size="original">
>
> 使用**合辑功能**（多场景识别入口）会用到**云识别图片算法**，因此识别图需同时遵守**图像跟踪规范**与**云识别图片规范**。

***

## 规范

<table><thead><tr><th width="164.58984375">类别</th><th>描述与示意</th></tr></thead><tbody><tr><td><strong>正确的图像格式</strong></td><td>jpg、jpeg</td></tr><tr><td><strong>正确的颜色模式</strong></td><td><p>设置为 <strong>RGB</strong>，便于及时发现色差问题。<br><img src="/files/Z00l8yYaTT8FXjyyWW5k" alt=""><br><br>导出时勾选 <strong>“色彩空间 → 转换为 sRGB”</strong>，导出后检查是否有色差。<br></p><div><figure><img src="/files/xZoyW3yOi47wRZ1LKWVh" alt=""><figcaption></figcaption></figure></div></td></tr><tr><td><strong>适宜的图像分辨率</strong></td><td><p>图像尺寸建议在 <strong>480×480 ~ 1280×1280</strong> 之间；推荐 <strong>800</strong> 左右。</p><p><br></p></td></tr><tr><td><strong>适宜的图像宽高比</strong></td><td><p>横版：<strong>1:1 ~ 16:9</strong>（宽高比 1 ~ 1.78）<br>竖版：<strong>9:16 ~ 1:1</strong>（宽高比 0.56 ~ 1）</p><p><br></p><div><figure><img src="/files/Fvub6uhOuAZNTQDUCamO" alt=""><figcaption></figcaption></figure></div><div><figure><img src="/files/ERfVwCzzntxH7CccjyqC" alt=""><figcaption></figcaption></figure><figure><img src="/files/kczsia0QERiXZ8GQ58vP" alt=""><figcaption></figcaption></figure><figure><img src="/files/OnjzAtRKvXBGcvm6KsPF" alt=""><figcaption></figcaption></figure></div><div><figure><img src="/files/NbUHtwCHrx35RMFnGLGl" alt=""><figcaption></figcaption></figure><figure><img src="/files/v7Xt0JiSCveARcFHNVkI" alt=""><figcaption></figcaption></figure><figure><img src="/files/fvevWGvraKUavIfVns92" alt=""><figcaption></figcaption></figure></div></td></tr><tr><td><strong>丰富的细节</strong></td><td><div><figure><img src="/files/9Y6oHVvuuipVrZegYFQ2" alt=""><figcaption></figcaption></figure><figure><img src="/files/Ubrdi0xxg9M1lEHJB4yX" alt=""><figcaption></figcaption></figure><figure><img src="/files/CItDr6CRdqFmnNc28WYS" alt=""><figcaption></figcaption></figure><figure><img src="/files/2MRySBMHh9ZTVEO9evw4" alt="" width="375"><figcaption></figcaption></figure></div><p>不好的示例：<br></p></td></tr><tr><td><strong>避免大面积的空白</strong></td><td><div><figure><img src="/files/M5WpltHiYYpWYV7Ar3bP" alt=""><figcaption></figcaption></figure><figure><img src="/files/h4ZFTC8IfBQieT9EGysx" alt=""><figcaption></figcaption></figure><figure><img src="/files/viyKo7WaYGTUGwRomP7S" alt=""><figcaption></figcaption></figure></div><div><figure><img src="/files/ZBeHkqQVZJrZ6gSpSpwQ" alt="" width="240"><figcaption></figcaption></figure></div><p>空白过多会影响跟踪稳定性，应减少留白，突出主体。<br></p></td></tr><tr><td><strong>避免重复图案 / 慎用对称图案</strong></td><td><p><strong>对称图像</strong> 往往不稳定：<br><img src="/files/H41rvPygsM0se06UqpGg" alt=""><br><img src="/files/LDGcfuxCXHFrzA99qc4f" alt=""><br></p><p><strong>注意：</strong> 不是绝对对称时，以实际体验为准：</p><div><figure><img src="/files/4XmK7orLiTUiVvaq9D8m" alt="" width="375"><figcaption></figcaption></figure></div><div><figure><img src="/files/2siLmnB4wKo23Pf3sf6N" alt=""><figcaption></figcaption></figure></div><p><br><strong>重复图像</strong> 易导致检测困难：<br></p><div><figure><img src="/files/pelLY1UXws6VnrZjn7Rr" alt=""><figcaption></figcaption></figure><figure><img src="/files/rsHNfrGp9dgT6TH3ChAT" alt=""><figcaption></figcaption></figure><figure><img src="/files/tI9SItxsZmrV26HCS4U3" alt=""><figcaption></figcaption></figure></div></td></tr><tr><td><strong>均匀的特征分布</strong></td><td><p>尽量避免四周大面积纯色，适当增加细节使特征点分布更均匀。<br></p><div><figure><img src="/files/tfQeoTPDHmihHRqpdUDj" alt=""><figcaption></figcaption></figure><figure><img src="/files/4ZXuV0YefyvOrog5fmp5" alt=""><figcaption></figcaption></figure><figure><img src="/files/YINiMuKxHtP3Amke56hX" alt=""><figcaption></figcaption></figure><figure><img src="/files/YpNjNyAIVCZInWSgmgeP" alt=""><figcaption></figcaption></figure></div></td></tr><tr><td><strong>关于提高对比图</strong></td><td>TODO</td></tr><tr><td><strong>云识别 vs 图像跟踪的区别</strong></td><td><p><strong>特征点提取原理不同</strong>：<br>某些圆滑图形在云识别星级低，但图像跟踪未必很差。</p><div><figure><img src="/files/vvhmA5OURRM1fHQSCFcx" alt=""><figcaption></figcaption></figure></div><p></p><p>实际体验仍可能有抖动：<br><img src="/files/wDioiM7nJGNI7B77MtH3" alt=""><br><br><img src="/files/b4qmRq2AKMUBs7NelGaq" alt=""><br><br><strong>对模糊图兼容更宽松</strong>：<br><img src="/files/ifCsIwbQrbSt3o4GV8bP" alt=""><img src="/files/WS2Go1oi2IjH8BsD0pBi" alt=""><br>丰富的图像即便模糊，跟踪仍可较稳定（并非鼓励使用模糊设计，仅说明宽容度更高）。</p></td></tr><tr><td><strong>避免使用渐变设计</strong></td><td>尽量避免大面积渐变。<br><img src="/files/kL4FAbreqdvc6uw4j3yR" alt=""></td></tr></tbody></table>

***

## Tips

### 提高图像检测的一种方案

建议在上传识别图前，先给识别图加一圈白边；如打印图也尽量带白边：

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

***

### 提高图像跟踪稳定性的其它方案

#### **AR 场景对象要紧密放置在识别图上**

<div align="left"><figure><img src="/files/yXjQSiGYcw5KbFm1VSY7" alt="" width="563"><figcaption></figcaption></figure></div>

#### **识别图上的 AR 场景不宜太高**

例如：扫描墙面海报出现 AR 互动

<div align="left"><figure><img src="/files/gZzS3ygnjdSPS0X6iwTG" alt="" width="563"><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="/files/viFlL5MHls5bYY6TISGR" alt="" width="563"><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="/files/jzEuGiqXiUI7ujq0zkah" alt="" width="563"><figcaption></figcaption></figure></div>

* 用户体验中模型“抖动”的感知与高度有关：高度越高，顶部的视觉位移越明显。
* 合理设计 AR 交互，降低“高耸”布局带来的放大抖动效应。

#### **AR 交互加入动画**

* 丰富的场景动画能在视觉上“稀释”轻微抖动的不适感。
* 如某些案例中，尽管跟踪存在抖动，但用户难以察觉。

<div align="left"><figure><img src="/files/B2oMIAEJcq1HAgmoH6uC" alt="" width="152"><figcaption></figcaption></figure></div>


---

# 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://docs-en.kivicube.com/ar-asset-creation-guide/image-marker/tu-xiang-gen-zong-tu-pian-gui-fan.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.
