Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
Reads text from images and PDFs and returns markdown, HTML or JSON that keeps the page layout. Handles handwriting, forms, tables and math in 90+ languages, for people who digitize documents.
Chandra OCR 2 is a kit in the Productivity category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install chandra-ocr chandra_vllm chandra input.pdf ./output
Chandra OCR 2 is an OCR model from Datalab with 5.3B parameters. It reads images and PDFs and returns the text as markdown, HTML or JSON, along with layout details. It also handles handwriting, forms with checkboxes, tables, math, and pictures or diagrams with captions.
People and teams who turn scans, forms and PDFs into editable, structured text, and developers who feed that text into other tools.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Office administration | Back-office staff | Convert scanned forms into structured data | A form with checkboxes turned into JSON |
| Publishing | Editors | Turn PDFs into markdown or HTML | A scanned report made editable |
| Research | Academics | Extract tables and math from papers | A table pulled out of a PDF |
| Software | Developers | Add OCR to a document pipeline | A script that processes a folder of PDFs |
If your documents already contain clean selectable text, you can skip it.
| Use case | Who | What they get back |
|---|---|---|
| Document to markdown | Editors | Text with headings, tables and math preserved |
| Form reading | Operations teams | Fields and checkbox states in structured output |
| Handwriting | Archivists | Text read from handwritten pages |
| Image extraction | Researchers | Figures and diagrams with captions and structured data |
pip install chandra-ocr # With vLLM (recommended, easy install) chandra_vllm chandra input.pdf ./output # With HuggingFace (requires torch) pip install chandra-ocr[hf] chandra input.pdf ./output --method hf
Run the chandra command with an input file and an output folder, or call the model from Python. The vLLM route is the one the card recommends.
from chandra.model import InferenceManager
from chandra.model.schema import BatchInputItem
from PIL import Image
# Start vLLM server first with: chandra_vllm
manager = InferenceManager(method="vllm")
batch = [
BatchInputItem(
image=Image.open("document.png"),
prompt_type="ocr_layout"
)
]
result = manager.generate(batch)[0]
print(result.markdown)| Tool | What it does |
|---|---|
| chandra | Command line tool that converts a file into the chosen output |
| chandra_vllm | Starts the vLLM server the recommended route uses |
| InferenceManager | Python class that sends batches of images to the model |
| prompt_type ocr_layout | Asks for text together with its layout |
You run chandra on a scanned form called input.pdf and name an output folder. The tool reads the page, keeps its layout, including checkbox states, and writes the content out as markdown, HTML or JSON.
Start with one clean scanned page and the command line route. Check the output against the page before running a whole folder.
The card reports an 85.8% score on the olmocr bench and 77.8% on a multilingual bench. It lists gains in math, tables, wide layouts, captioning and coverage of more than 90 languages. The Hugging Face route needs torch, and vLLM is the faster serving path.
Reads text from images and PDFs and returns markdown, HTML or JSON that keeps the page layout. Handles handwriting, forms, tables and math in 90+ languages, for people who digitize documents.
Made by datalab-to on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: Chandra OCR 2 is an OCR model from Datalab with 5.3B parameters. It reads images and PDFs and returns the text as markdown, HTML or JSON, along with layout details. It also handles handwriting, forms with checkboxes, tables, math, and pictures or diagrams with captions.
Who it suits: People and teams who turn scans, forms and PDFs into editable, structured text, and developers who feed that text into other tools.
Industry | Who uses it | How they use it | Example
Office administration | Back-office staff | Convert scanned forms into structured data | A form with checkboxes turned into JSON
Publishing | Editors | Turn PDFs into markdown or HTML | A scanned report made editable
Research | Academics | Extract tables and math from papers | A table pulled out of a PDF
Software | Developers | Add OCR to a document pipeline | A script that processes a folder of PDFs
If your documents already contain clean selectable text, you can skip it.
Where to use it:
Use case | Who | What they get back
Document to markdown | Editors | Text with headings, tables and math preserved
Form reading | Operations teams | Fields and checkbox states in structured output
Handwriting | Archivists | Text read from handwritten pages
Image extraction | Researchers | Figures and diagrams with captions and structured data
How to set it up:
pip install chandra-ocr
# With vLLM (recommended, easy install)
chandra_vllm
chandra input.pdf ./output
# With HuggingFace (requires torch)
pip install chandra-ocr[hf]
chandra input.pdf ./output --method hf
How to use it: Run the chandra command with an input file and an output folder, or call the model from Python. The vLLM route is the one the card recommends.
from chandra.model import InferenceManager
from chandra.model.schema import BatchInputItem
from PIL import Image
# Start vLLM server first with: chandra_vllm
manager = InferenceManager(method="vllm")
batch = [
BatchInputItem(
image=Image.open("document.png"),
prompt_type="ocr_layout"
)
]
result = manager.generate(batch)[0]
print(result.markdown)
Tool | What it does
chandra | Command line tool that converts a file into the chosen output
chandra_vllm | Starts the vLLM server the recommended route uses
InferenceManager | Python class that sends batches of images to the model
prompt_type ocr_layout | Asks for text together with its layout
Example: You run chandra on a scanned form called input.pdf and name an output folder. The tool reads the page, keeps its layout, including checkbox states, and writes the content out as markdown, HTML or JSON.
For newcomers and experts: Start with one clean scanned page and the command line route. Check the output against the page before running a whole folder.
The card reports an 85.8% score on the olmocr bench and 77.8% on a multilingual bench. It lists gains in math, tables, wide layouts, captioning and coverage of more than 90 languages. The Hugging Face route needs torch, and vLLM is the faster serving path.
Give it a PDF or image
Model reads text and layout
It rebuilds tables, forms and math
Markdown, HTML or JSON comes out
Good to know:
Title: Benchmark scores the card reports, in percent
olmocr bench: 85.8%
Multilingual bench: 77.8%
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download datalab-to/chandra-ocr-2
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 5 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| Chandra OCR 2 This page | 1,356,074 | 606 | 5.3B | openrail | |
| Surya OCR 2.5Shares markdown · qwen3_5 · layout | 75,033 | 52 | 689M | openrail | |
| Surya 2.5 GGUFShares markdown · qwen3_5 · layout | 126,232 | 8 | 589M | openrail | |
| Rukopys-OCR-4BShares qwen3_5 · image-text-to-text · conversational | 86 | 7 | 4.5B | apache-2.0 | |
| MinerU2.5-ProShares image-text-to-text · conversational · transformers | 37,179 | 115 | 1.2B | apache-2.0 | |
| PaddleOCR-VLShares layout · image-text-to-text · safetensors | 12,780 | 1,685 | 959M | apache-2.0 |
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
zarazhangrui · Skill
Builds HTML presentations from scratch or from a PowerPoint file and shows visual style previews to pick from, for people who want web slides with no CSS or Ja…
iptv-org · Kit
Collects publicly available live TV channels from many countries into playlists that any video player with live streaming can open. Made for viewers and for de…
uwg · Kit
Holds a set of image upscaling models gathered from the OpenModelDB community, for people who want to enlarge low-resolution pictures with AI on their own comp…