本地OCR: winsdk(Windows.Media.Ocr) 后端, OCR_BACKEND=local/auto/remote

Browse Source
This commit is contained in:
yws
2026-10-02 00:47:44 +00:00
parent 8d24276511
commit 7eef32fc06
4 changed files with 198 additions and 13 deletions
+2 -1
View File
@@ -54,7 +54,8 @@ OCR 服务默认 http://35.212.193.150:8599/(gcp1 上的 RapidOCR,客户端
|------|------|------| |------|------|------|
| `LCP_PLATFORM` | 自动 | win/linux/mac | | `LCP_PLATFORM` | 自动 | win/linux/mac |
| `INPUT_BACKEND` | 平台默认 | mock/sendinput/interception/xdotool/uinput/cg | | `INPUT_BACKEND` | 平台默认 | mock/sendinput/interception/xdotool/uinput/cg |
| `OCR_URL` | gcp1:8599 | 远端 OCR 服务 | | `OCR_BACKEND` | auto | local(Windows自带OCR,winsdk) / remote(gcp1) / auto(本地可用优先) |
| `OCR_URL` | gcp1:8599 | remote 后端的 OCR 服务(OCR_BACKEND=local 时用不到) |
| `OCR_MIN_SCORE` | 0.5 | 过滤低置信度 OCR 结果 | | `OCR_MIN_SCORE` | 0.5 | 过滤低置信度 OCR 结果 |
## 工具 ## 工具