leozou320-ai/dsh-macos-vision-ocr

leozou320-ai★ 0JavaScript最后同步: 2026-08-16

在 GitHub 打开

Offline macOS Vision OCR for DeepSeek Harness — accurate, local, API-key free. | DeepSeek Harness 本地离线 OCR 插件

README 摘要

dsh-macos-vision-ocr English 简体中文 Offline OCR for DeepSeek Harness, powered by Apple's macOS Vision framework. The plugin adds an ocr image tool that lets any text model extract text from screenshots, scans, and document images without an API key or network request. Features - Runs locally with VNRecognizeTextRequest at accurate recognition level. - Supports PNG, JPEG, WebP, GIF, TIFF, BMP, HEIC, and HEIF. - Accepts BCP-47 recognition languages per call. - Compiles its small embedded Swift helper on first use, then reuses a content-addressed cache. - Returns bounded output and reports whether text was truncated. - Uses fixed subprocess argument vectors; image paths are never interpolated into a shell command. Requirements - macOS 13 or later. - Xcode Command Line Tools with swiftc available on PATH . - DeepSeek Harness 0.1.0-rc.5 or a compatible developer-preview build. This plugin intentionally fails on Linux and Windows because Apple Vision is not available there. Install Install directly from GitHub into any profile that should expose OCR: Restart the profile after installation. To remove it: Usage Ask the agent to read an image, or call the tool explicitly: The result contains …

在 GitHub 查看完整 README →
内容/媒体apple-visiondeepseekdeepseek-harnessdsh-pluginjavascriptmacosocroffline-first

分类