niyongsheng/free-vision-skill
Local‑only vision skill for macOS 本地化识图技能
已收录
3
Vision
Bundle 已验证
功能介绍
基于 macOS Vision Framework 的全本地识图插件:`ocr_image`(文字提取,表格结构+坐标)与 `view_image`(场景/人脸/二维码);web 输入框可直接粘贴多张图片,图片永不离开你的 Mac。
适合
- 需要全本地、注重隐私的 OCR 与图像理解的 macOS 用户
- 需要从截图或扫描文档中提取表格结构与坐标的工作流
- 需要处理粘贴图片、本地文件、URL 或 base64 输入且不上传图像数据的用户
不适合
- Windows 或 Linux 环境,因为插件依赖 macOS Vision Framework
- 低于 macOS 11 或未安装 Xcode Command Line Tools 的 Mac
- 无法接受首次运行约 5-10 秒编译时间的低延迟工作流
README
free-vision-skill
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=truefor 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
常见问题常见问题
在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:niyongsheng/free-vision-skill。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。
兼容性以页面上展示的 bundle 与 profile 状态为准。如果某个 profile 尚未检测到,请先保持禁用,并在生产启用前阅读仓库文档。
GitHub 链接和 activity 元数据是 release 与维护状态的来源。新版本发布后重新查看本页,确认目录已经观察到最新版本。