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.