đ DeepSeek-OCR-2 Demo
Convert documents to markdown, extract text, parse figures, and locate specific content with bounding boxes. Model uses DeepEncoder v2 and achieves 91.09% on OmniDocBench (+3.73% over v1).
Hope this tool was helpful! If so, a quick like â¤ī¸ would mean a lot :)
Task
Examples
| Input Image | Task | Prompt |
|---|
Configuration
1024 base + 768 patches with dynamic cropping (2-6 patches). 144 tokens per patch + 256 base tokens.
Tasks
- Markdown: Convert document to structured markdown with layout detection (grounding â )
- Free OCR: Simple text extraction without layout
- Locate: Find and highlight specific text/elements in image (grounding â )
- Describe: General image description
- Custom: Your own prompt
Special Tokens
<image>- Placeholder where visual tokens are inserted<|grounding|>- Enables layout detection with bounding boxes<|ref|>text<|/ref|>- Reference text to locate in the image