handwritten-ocr
Run the following command in DeepSeek Harness:
dsh plugin install KL3jd/handwritten-ocr
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install KL3jd/handwritten-ocr in the DeepSeek Harness terminal to install this plugin, available at https://github.com/KL3jd/handwritten-ocr
About this plugin
Photos of handwritten Chinese notes and math formulas are often poorly handled by general-purpose OCR services, and sending them to a third-party cloud is uncomfortable when privacy matters. The handwritten-ocr plugin brings the entire recognition pipeline onto your local machine: handwritten Chinese text is transcribed into plain text, math formulas are converted to LaTeX, and the result is delivered as a clean Markdown document. Everything runs offline; no image or data ever leaves your computer.
Under the hood, several open-source models work together: Pix2Text MFD 1.5 detects formula regions, RapidOCR reads Chinese text lines, and UniMERNet (with Pix2Text MFR 1.5 as a fallback) converts formulas to LaTeX. Three inference backends are available-GPU via DirectML, CPU, and an experimental NPU mode-while all tunable parameters live in a single settings.json file with hot-reload support, so no code changes are needed. You can drive the plugin through a FastAPI service with a browser-based admin panel, a CLI script for batch processing, or the ocr_image tool preset in DSH, letting an LLM call the recognizer mid-conversation and receive Markdown back.
If you regularly take notes by hand in lectures, meetings, or research sessions and want to turn that paper into searchable, editable text, this plugin is built for you. It is especially well suited to researchers, students, and developers who need private, on-device OCR or who want to integrate handwritten-image recognition seamlessly into LLM tool frameworks like DSH. One installation, fully offline, ready to use.
Use Cases
- Photograph handwritten Chinese lecture notes and convert them to editable Markdown in one step
- Recognize handwritten math formulas from images and output LaTeX code ready for papers or notebooks
- Send a handwritten image in a DSH chat and let the LLM call ocr_image to get immediate recognition results
Best For
- Researchers and graduate students who value data privacy and prefer fully offline processing
- Developers working with DSH or other LLM tool frameworks who need local OCR capability
- Students and professionals who take handwritten notes and want to digitize paper records
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.