ysr666/dsh-vision-router
ysr666/dsh-vision-router为纯文本 Agent 提供视觉能力:内置免 Key 视觉链 + 像素级视觉工具(看图问答、定位、裁剪、像素对比、取色、OCR、矢量化、抠图、截图);粘贴图片即可用。
Fully-local image understanding (OCR / table extraction / description) via macOS Vision. Images never leave your Mac.
dsh plugin add @niyongsheng/free-vision-skill
Then add to cordis.patch.yml:
- insert:
- id: free-vision-skill
name: '@niyongsheng/free-vision-skill'
config:
timeout: 120000
view_image — describe image content (scene, people, QR, composition)ocr_image — extract text; layout=true for table structure + coordinatesInput: http(s) URL / base64 / local path.
Paste (⌘V) an image in the DSH web input box → its local absolute path is inserted. Loopback-only upload, magic-byte checked: PNG / JPEG / GIF / WebP / HEIC / HEIF.
swift scripts/ocr.swift image.png # OCR
swift scripts/ocr.swift --layout image.png # table + coordinates
swift scripts/ocr.swift --describe image.png # describe image
MIT © 2026 Nico