Description
deepseek-ocr.rs is a Rust implementation of the DeepSeek-OCR inference stack, with a fast command-line tool and an OpenAI-compatible HTTP server. It lets you run document understanding locally without Python. The workspace bundles several OCR and vision-language backends, DeepSeek-OCR, PaddleOCR-VL and DotsOCR, along with prompt tooling and a serving layer. It runs on CPU, on Apple Metal, and on NVIDIA CUDA GPUs, which the README marks as alpha. The README compares the models by memory and strengths. DeepSeek-OCR gives the highest accuracy and needs the most memory, about 13 GB of RAM or VRAM with cache and activations, so it suits Apple Silicon with Metal, high-VRAM NVIDIA cards or machines with 32 GB or more of RAM. PaddleOCR-VL is a smaller 0.9 billion parameter model that needs about 9 GB, which suits 16 GB laptops and CPU-only machines. DotsOCR handles layout, reading order and multilingual math, but the README warns it can need 30 to 50 GB for high-resolution documents. The project supports DSQ quantization. The README explains that the original DeepSeek-OCR ships as a Python and Transformers stack, and that a Rust rewrite is easier to deploy and embed. Prebuilt macOS builds with Metal and Windows bundles are available from the build-binaries workflow artifacts, and a Chinese README is included.…
Highlights
- Local OCR with a CLI and OpenAI-compatible server
- Three backends: DeepSeek-OCR, PaddleOCR-VL and DotsOCR
- Runs on CPU, Apple Metal and CUDA
- DSQ quantization
- No Python needed to run
Ratings & Reviews
No ratings yet
Be the first to rate Deepseek-ocr.rs.
People also visit
Deepseek-ocr.rs FAQ
What is deepseek-ocr.rs?
A Rust OCR and vision-language engine based on DeepSeek-OCR, with a command-line tool and an OpenAI-compatible server.
Do I need Python?
No. The project is written in Rust and the README says it runs locally without Python.
Which model should I pick?
The README suggests DeepSeek-OCR for maximum fidelity, PaddleOCR-VL for CPU-only or 16 GB machines, and DotsOCR for layout and reading order on roomy hardware.
Which hardware does it support?
CPU, Apple Metal and NVIDIA CUDA, with CUDA marked as alpha in the README.
Are prebuilt binaries available?
The README says macOS Metal-enabled and Windows bundles are in the build-binaries workflow artifacts of the newest green run.
What are the best Deepseek-ocr.rs alternatives?
Popular alternatives to Deepseek-ocr.rs include Deepdoctection, TurboOCR and Local AI OCR. See all Deepseek-ocr.rs alternatives

