ferstar/dsh-tool-ocr ↗★ 4

dsh-tool-ocr

基于nbocr引擎的本地图像文本识别工具 适合使用无视觉输入能力的模型且需要本地OCR识别的用户。

套件
dsh-tool-ocr
相容性
待驗證
Harness 依賴範圍
>=0.1.0-rc.5
Cordis 依賴範圍
^4.0.1
版本
0.1.3
授權
MIT
最近更新
2026年8月18日

同名套件的其他儲存庫

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗

Configuration

FieldDefaultMeaning
command— (required)The nbocr executable: absolute path or PATH-resolved name.
args[]Extra arguments before the nbocr subcommand (no shell).
env{}Extra environment entries.
languagechineseRecognition model/language alias.
detModelv6-tinyDetection model tier.
modelsDir''Model directory for non-embedded models; empty uses embedded models.
maxImageBytes26214400Largest accepted image in bytes.
maxOutputBytes2000000Largest collected engine stdout in bytes.
maxTextChars12000Largest recognized text returned in text.
timeoutMs600000Tool-call timeout budget in ms.

Tool usage

ocr { path | attachment_id, action?, include_boxes?, table?, max_text_chars? }

status probes readiness without engine work; check runs a real end-to-end 1x1 probe.