vitas/dsh-ocr-free ↗★ 0

dsh-ocr-free

提供基于Apple Vision或Tesseract的本地OCR 适合需要离线、无API密钥提取图片文本的用户,macOS上体验最佳。

套件
dsh-ocr-free
相容性
待驗證
Harness 依賴範圍
^0.2.0-rc.2
版本
0.1.2
最近更新
2026年10月1日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:vitas/dsh-ocr-free

Configuration

The plugin row is ocr-free; the settings card edits these fields live (no restart):

fielddefaultmeaning
engineautoauto prefers Vision, falls back to tesseract; a pinned engine reports its own failure instead of silently switching
langs[][] asks for nothing in particular — see the language note below
fastfalsethe fast recogniser; Latin-only
detectLanguagefalselet Vision guess the language too; costs 0.2–0.9 s per image
maxChars40000truncate the rendered text (0 = no cap); truncation is always announced
lowConfidence0.7below this, lines are listed separately (0 = no section)
timeoutMs120000per-image engine budget
dir""engine build directory; "" means ~/.dsh-ocr-free
includeEngineLinetruethe header with engine, timing and warnings