> For the complete documentation index, see [llms.txt](https://docs-cn.hapigo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-cn.hapigo.com/extention/ocr.md).

# 文本及二维码识别 OCR

HapiGo 内置了截图识别文本和二维码识别，方便有需求的用户使用。使用默认快捷键 <mark style="background-color:blue;">Option+A</mark>（可在设置中修改）打开截图，截取需要识别的文本即可。

### 识别服务

HapiGo 内置了本地**快速识别**、**本地精准识别**及**在线多语言识别**。前两者由 macOS 本地的机器学习提供结果，因此免费提供给所有用户。第三项为在线服务，支持多种语言自动识别。精度更高，识别语音更多，更智能。但是，此服务需要订阅 PRO 服务后方可使用，目前不限额度。

<figure><img src="/files/kemSSEO3UVEDx0bAS1U1" alt=""><figcaption><p>选择识别服务</p></figcaption></figure>

二维码识别亦为本地识别，可以免费离线使用。

### 识别模式

HapiGo 的识别分为**常规识别**和**静默识别**。

常规识别会在截图后打开窗口显示图片和识别后的文本，这样方便查看或修改识别结果。但是目前识别结果都还比较精准，所以一直弹出窗口也很麻烦。这时候，我们可以在窗口右上角齿轮菜单中开启「静默识别」。

静默识别不会打开窗口，而是将识别结果拷贝至剪贴板，并通过顶部通知提示你已拷贝结果。为方便你预览识别结果，顶部通知会包含部分识别文本。如果结果有误，可以点击识别通知打开文本识别窗口进行修改；也可以通过快捷键 <mark style="background-color:blue;">Shift+CMD+C</mark> 打开剪贴板后按 <mark style="background-color:blue;">CMD+E</mark> 进行修改。

<figure><img src="/files/QjYu4t3h3M26uv73LjRO" alt=""><figcaption><p>点击顶部通知，可以打开 OCR 窗口</p></figcaption></figure>


---

# 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:

```
GET https://docs-cn.hapigo.com/extention/ocr.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.
