leozou320-ai/dsh-macos-vision-ocr ↗★ 0
dsh-macos-vision-ocr
Offline macOS Vision OCR tool for DeepSeek Harness
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:leozou320-ai/dsh-macos-vision-ocr说明文档
阅读完整 README ↗Usage
Ask the agent to read an image, or call the tool explicitly:
{
"file_path": "./scan.png",
"languages": ["zh-Hans", "en-US"]
}
The result contains the canonical image path, recognized text, selected languages, and a truncated flag.
Configuration
Edit this package's row in a later Harness patch layer when you need different defaults:
- id: dsh-macos-vision-ocr
config:
cacheDir: /absolute/path/to/cache
languages: [en-US]
maxOutputBytes: 2000000
| Key | Default | Description |
|---|---|---|
cacheDir | $DSH_HOME/cache/ocr | Swift source and compiled helper cache. |
languages | zh-Hans, zh-Hant, en-US | Languages used when a tool call omits them. |
maxOutputBytes | 1000000 | Maximum captured OCR stdout per call. |