leozou320-ai/dsh-macos-vision-ocr0

dsh-macos-vision-ocr

Offline macOS Vision OCR tool for DeepSeek Harness

包名
dsh-macos-vision-ocr
版本
1.0.0
许可证
MIT
最近更新
2026年8月16日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:leozou320-ai/dsh-macos-vision-ocr

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
KeyDefaultDescription
cacheDir$DSH_HOME/cache/ocrSwift source and compiled helper cache.
languageszh-Hans, zh-Hant, en-USLanguages used when a tool call omits them.
maxOutputBytes1000000Maximum captured OCR stdout per call.