dsh-local-ocr
Run the following command in DeepSeek Harness:
dsh plugin install littlewrite/dsh-local-ocr
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install littlewrite/dsh-local-ocr in your terminal to install this plugin from the GitHub repository (https://github.com/littlewrite/dsh-local-ocr) into your current DeepSeek Harness profile, then restart dsh web to activate it.
About this plugin
When you ask a DeepSeek Harness agent to read text out of a local screenshot or a scanned document image, the most natural expectation is that it should simply recognize the characters. dsh-local-ocr exists for exactly that: it wraps the operating system built-in OCR into a single model-facing tool, so the agent can pass an absolute image path and receive the recognized text along with a confidence score, with no cloud round-trip involved.
Under the hood the plugin bridges macOS Vision OCR and Windows Media OCR through @napi-rs/system-ocr, exposing one unified Node.js API. The single tool it registers, local_ocr_image, uses a lazy-load strategy: the native add-on is loaded only the instant the model actually invokes the tool, keeping idle overhead at zero. Return fields are deliberately minimal and stable, namely text and confidence. An image with no detectable text yields an empty string and a confidence of 0 rather than throwing an error that could derail a conversation.
This is a good fit for developers running DeepSeek Harness on macOS or Windows who want image text recognition to stay entirely on-device. The plugin ships as a self-contained bundle that attaches to a Harness profile without modifying the Harness source, without introducing a cache layer, and without deciding whether OCR should run, leaving timing entirely to the agent. Linux is not yet supported in this MVP; if you just need a lightweight, locally-runnable OCR entry point that slots seamlessly into your existing Harness workflow, it is precisely enough.
Use Cases
- Agent extracts text from local screenshots to capture key information
- Offline document text extraction from image files without network access
- Harness agent automatically reads text from local PDF or document screenshots
Best For
- macOS or Windows developers working with DeepSeek Harness
- Application teams needing on-device OCR without cloud round-trips
- Plugin developers adding image text recognition to agent workflows
Related Plugins
A unified suite combining hot runtime injection, task-aware thinking-mode routing, and a graded session protocol with red-team gates to sustain model diligence across long-horizon inference.
ModLens is a vision plugin for DeepSeek Harness that gives text-only models sight by reading images pasted directly into chat, with zero-config setup and multiple vision engines.
On-demand vision for text-only DeepSeek Harness agents: built-in free keyless vision chain and 14 vision tools, routing image turns as tool calls to vision models with pixel fidelity, no Python needed, one-command install.
Give text-only models in DeepSeek Harness eyes, enabling image Q&A, long-screenshot OCR, UI restoration, and GUI visual tasks.