文字识别
从屏幕图像中识别文字。AScript iOS 支持多种 OCR 引擎:
| 引擎 | 费用 | 特点 |
|---|---|---|
| 官方OCR | 免费内置 | PaddleOCR V5 / Apple Vision / Google MLKit,开箱即用 |
| Apple Vision | 免费内置 | iOS 原生,iOS 16+ 支持中文 |
| Google MLKit | 免费内置 | Google MLKit OCR |
| TomatoOCR | 付费插件 | 高精度,支持中英日韩,多种调用方式 |
所有内置引擎均通过 Ocr 类调用,并支持 find/exists/click/wait 等便捷方法。