free-vision-skill
文件与数据 活跃维护

free-vision-skill

niyongsheng/free-vision-skill

完全在macOS本地运行的视觉识别技能,图像理解全程在设备端完成,不联网、不上传,隐私零泄露。基于系统原生能力深度优化,响应敏捷,离线环境仍保持高识别精度。

3
Stars 标星
0
Forks 分支
3
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
85 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:niyongsheng/free-vision-skill
git clone https://github.com/niyongsheng/free-vision-skill.git
git clone git@github.com:niyongsheng/free-vision-skill.git
README.md main

free-vision-skill

License
Platform
Framework
Privacy

Fully-local image understanding (OCR / table extraction / description) via macOS Vision. Images never leave your Mac.

Install (DSH-Plugin)

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

Tools

  • view_image — describe image content (scene, people, QR, composition)
  • ocr_image — extract text; layout=true for table structure + coordinates

Input: http(s) URL / base64 / local path.

Paste-to-path (Web UI)

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.

Usage (Claude Code Skill)

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

Notes

  • Requires macOS 11+ & Xcode Command Line Tools
  • First run compiles ~5–10s, cached afterwards

License

MIT © 2026 Nico