anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Reads text from document images with a 689M parameter model, and also finds text lines, layout blocks and reading order. Suits developers who turn scans and photos into text and HTML tables.
Surya OCR 2.5 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 -U huggingface_hub hf download datalab-to/surya-ocr-2.5
Surya OCR 2.5 is a 689M parameter model from Datalab that reads text out of document images. Beyond plain OCR, it analyses the layout of a page and puts the blocks in reading order. Tables come back as HTML, with merged cells marked by colspan and rowspan.
Developers and data teams who turn scanned or photographed documents into text. It covers many languages and many document types, including forms, papers and handwritten letters.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Administration | Records teams | Digitize forms and letters into searchable text | A scanned government form becomes text with its layout kept |
| Research | Analysts | Pull text and tables out of papers and reference books | A math paper page returns its blocks in reading order |
| Software | Developers | Add OCR and layout analysis to a document pipeline | Run pages through the model and store the HTML tables |
If you only need to read clean, typed text in one language, a simpler tool may do and you can skip it.
| Use case | Who | What they get back |
|---|---|---|
| OCR | Developers | The text on a page image |
| Layout analysis | Pipeline builders | Blocks such as tables, images and headers, in reading order |
| Table reading | Analysts | Tables as HTML with merged cells marked |
pip install -U huggingface_hub hf download datalab-to/surya-ocr-2.5
Give the model a page image and read back the text, the layout blocks and the reading order. The card also ships smaller models for text-line detection and OCR error detection. The card's own examples cover a newspaper, a reference book, a math paper, a government form and a handwritten letter.
| Tool | What it does |
|---|---|
| OCR | Reads the text on a page |
| Layout analysis | Finds tables, images and headers and orders them for reading |
| Text-line detection | Locates each line of text, using a smaller model |
| OCR error detection | Flags likely mistakes, using a smaller model |
You send a scan of a government form. The output holds the text of each block, the layout categories and the reading order, with any table written as HTML.
If you are new, start with one clean page image and check the text it returns. Then try a table page to see the HTML output.
It is a small model by today's standards, and the card reports a throughput of 4.5 pages per second on one H100 at 192 DPI. That is 1.7 times Surya 2 with MTP. Row and column geometry for tables needs a Surya 2 checkpoint, which the card lists as a limitation.
Reads text from document images with a 689M parameter model, and also finds text lines, layout blocks and reading order. Suits developers who turn scans and photos into text and HTML tables.
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: Surya OCR 2.5 is a 689M parameter model from Datalab that reads text out of document images. Beyond plain OCR, it analyses the layout of a page and puts the blocks in reading order. Tables come back as HTML, with merged cells marked by colspan and rowspan.
Who it suits: Developers and data teams who turn scanned or photographed documents into text. It covers many languages and many document types, including forms, papers and handwritten letters.
Industry | Who uses it | How they use it | Example
Administration | Records teams | Digitize forms and letters into searchable text | A scanned government form becomes text with its layout kept
Research | Analysts | Pull text and tables out of papers and reference books | A math paper page returns its blocks in reading order
Software | Developers | Add OCR and layout analysis to a document pipeline | Run pages through the model and store the HTML tables
If you only need to read clean, typed text in one language, a simpler tool may do and you can skip it.
Where to use it:
Use case | Who | What they get back
OCR | Developers | The text on a page image
Layout analysis | Pipeline builders | Blocks such as tables, images and headers, in reading order
Table reading | Analysts | Tables as HTML with merged cells marked
How to set it up:
pip install -U huggingface_hub
hf download datalab-to/surya-ocr-2.5
How to use it: Give the model a page image and read back the text, the layout blocks and the reading order. The card also ships smaller models for text-line detection and OCR error detection. The card's own examples cover a newspaper, a reference book, a math paper, a government form and a handwritten letter.
Tool | What it does
OCR | Reads the text on a page
Layout analysis | Finds tables, images and headers and orders them for reading
Text-line detection | Locates each line of text, using a smaller model
OCR error detection | Flags likely mistakes, using a smaller model
Example: You send a scan of a government form. The output holds the text of each block, the layout categories and the reading order, with any table written as HTML.
For newcomers and experts: If you are new, start with one clean page image and check the text it returns. Then try a table page to see the HTML output.
It is a small model by today's standards, and the card reports a throughput of 4.5 pages per second on one H100 at 192 DPI. That is 1.7 times Surya 2 with MTP. Row and column geometry for tables needs a Surya 2 checkpoint, which the card lists as a limitation.
A page image goes in
The model detects and reads text
Layout blocks get categories
Blocks are put in reading order
Text and HTML tables come out
Good to know:
Title: Benchmark scores
OmniParseBench: 85.9 points
olmOCR-bench: 83.7 percent
Internal 91-language set: 74.9 percent
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download datalab-to/surya-ocr-2.5
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 |
|---|---|---|---|---|---|
| Surya OCR 2.5 This page | 75,033 | 52 | 689M | openrail | |
| Chandra OCR 2Shares markdown · qwen3_5 · layout | 1,356,074 | 606 | 5.3B | 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.
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
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…
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…