OpenBMB/MiniCPM-OCR

★ 421⑂ 26

Fast, accurate OCR with correctness assessment.

About OpenBMB/MiniCPM-OCR

OpenBMB/MiniCPM-OCR is an open-source project on GitHub, mainly written in Python. Fast, accurate OCR with correctness assessment. It currently holds 421 stars and 26 forks with 2 open issues, and was last pushed on 2026-10-29 (repository created 2026-10-27).

Project Overview

Git Homed tracks it on the Today's Trending board, currently at rank #10 with 0 new stars today.

GitHub Repository Details

Repository OpenBMB/MiniCPM-OCR · default branch main · size 45244 KB · watchers 1 · source: GitHub REST API and repository README

README

https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/MiniCPM-OCR: fast, accurate document parsing into text, tables, and formulas, with a lightning arrow connecting documents to structured results; a decision model helps identify regions that need review (illustration).

MiniCPM-OCR 1.0 Guide https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/Hugging Face https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/ModelScope   MiniCPM-OCR Jev Guide https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/Hugging Face https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/ModelScope

Official Demo (CN / Global)  ·  Basic Demo (CN / Global)

Get Started  ·  Weights  ·  Free API  ·  Skill  ·  Local Deployment  |  中文

MiniCPM-OCR is a family of models for efficient document parsing and text recognition. MiniCPM-OCR 1.0 parses Chinese and English documents and PDFs, balancing quality and efficiency across challenging inputs such as scans, photographs, curved pages, and recaptured documents. MiniCPM-OCR Jev evaluates OCR results at the region level, distinguishing problematic regions from reliable ones. It works with different parsing models to help users locate content that needs review.

MiniCPM-OCR 1.0

MiniCPM-OCR 1.0 (1.3B) is the first OCR-specific model in the MiniCPM-V/o family. It focuses on text-centric document understanding, covering text, tables, formulas, charts, seals, and structured information extraction. Its key features include:

SOTA Performance, Higher Throughput

Among the open-source OCR models shown below, MiniCPM-OCR 1.0 achieves 1.2 pages/s and the highest overall performance on OmniDocBench v1.6, Real5-OmniDocBench, Wild-OmniDocBench, and olmOCR-Bench.

https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/Throughput and parsing quality of open-source OCR models. The horizontal axis shows throughput in pages per second on a logarithmic scale; the vertical axis shows the equally weighted average score across four document parsing benchmarks.

See the reproduction guide for test settings and reproduction details, and the model guide throughput evaluation for each model's throughput.

Benchmark Comparisons

https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/Radar chart comparing MiniCPM-OCR 1.0 with other OCR models across six benchmarks; some values remain to be confirmed.

View complete MiniCPM-OCR 1.0 evaluation results

https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/Detailed OCR model results on OmniDocBench v1.6, Real5, Wild, olmOCR-Bench, CHAOS-Bench, and OCRBench v2.

See the MiniCPM-OCR 1.0 guide for per-benchmark bar charts and throughput details.

Examples

Left to right: original document, detected layout, and rendered Markdown.

English Documents

https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/English document animation: original, detected layout, and rendered Markdown.

More English Examples

Original documents and parsed results, side by side.

https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/English examples comparing inputs and results: handwriting, historical and scanned documents, newspapers, financial statements, and key information extraction.

Chinese Documents

https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/Chinese document animation: original, detected layout, and rendered Markdown.

More Chinese Examples

Original documents and parsed results, side by side.

https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/Chinese examples comparing inputs and results: handwritten notes, complex formulas, newspapers, financial statements, stamped documents, illustrations, and key information extraction.

MiniCPM-OCR Jev

MiniCPM-OCR Jev is an OCR correctness decision model for text, formulas, and tables. Given an image and its corresponding OCR result, it returns a quality score from 0 to 1 to help select reliable results and locate content that needs review.

Evaluation Results

The table below reports overall and per-category AUROC (×100) on JevOCRBench. Higher values indicate better discrimination between correct and incorrect parsing results.

https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/Overall, text, formula, and table AUROC results on JevOCRBench, highlighting MiniCPM-OCR Jev.

Review-Free Accuracy

Accuracy at different review-free rates across three document types.

https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/Accuracy versus review-free rate for legal documents, financial receipts, and complex documents.

Set the threshold only after checking it on a small batch from the real application.

Decision Examples

Jev scores for text, formula, and table recognition.

https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/Original images, two OCR candidates, and their Jev scores for text, formulas, and tables.

See the MiniCPM-OCR Jev model guide for more on usage, technical specifications, evaluation results, and efficiency results.

Using MiniCPM-OCR

Choose how to integrate MiniCPM-OCR 1.0 and MiniCPM-OCR Jev:

Skill

Ask a coding agent to follow the MiniCPM-OCR 1.0 skill to set up the environment, download models, and parse your first document. Send the following instruction to the agent:

Read and execute https://github.com/OpenBMB/MiniCPM-OCR/blob/main/docs/SKILL_en.md

Ask a coding agent to follow the MiniCPM-OCR Jev skill to deploy, start, and verify the scoring service locally — either from the Docker image or with the SDK, using vLLM, SGLang, llama.cpp, or Ollama as the inference backend. Send the following instruction to the agent:

Read and execute https://github.com/OpenBMB/MiniCPM-OCR/blob/main/docs/SKILL_jev_en.md

If you have already cloned this repository, you can use ./docs/SKILL_en.md and ./docs/SKILL_jev_en.md directly.

Free API

Use the Free API to access MiniCPM-OCR 1.0 recognition and MiniCPM-OCR Jev quality scoring.

MiniCPM-OCR 1.0 API docs  ·  MiniCPM-OCR Jev API example

Local Deployment

Run the models on your own hardware: MiniCPM-OCR 1.0 parses PDFs and images into Markdown or JSON, while MiniCPM-OCR Jev scores the parsing results.

MiniCPM-OCR 1.0 deployment tutorial · MiniCPM-OCR Jev deployment tutorial

Fine-Tuning

| Model | Fine-tuning tutorial | | :--- | :--- | | MiniCPM-OCR 1.0 | LLaMA-Factory · Swift | | MiniCPM-OCR Jev | Swift |

Model Weights

Model Description Main Model Weights DSpark Heads
MiniCPM‑OCR 1.0 Efficient document parsing and text recognition for Chinese and English documents and PDFs, balancing quality and speed across scans, photographs, curved pages, and recaptured documents. 🤗  https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/ModelScope BF16
🤗  https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/ModelScope GGUF
🤗  https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/ModelScope AWQ
🤗  https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/ModelScope GPTQ
🤗  https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/ModelScope BF16
🤗  https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/ModelScope GGUF
MiniCPM‑OCR Jev An OCR correctness decision model for text, formulas, and tables. Given an image and its OCR result, it returns a quality score from 0 to 1. 🤗  https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/ModelScope BF16 🤗  https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/ModelScope GGUF
🤗  https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/ModelScope AWQ 🤗  https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/ModelScope GPTQ

💡 FAQ and Troubleshooting

See the FAQ for common questions about installation, model downloads, GPU memory, input formats, and unexpected outputs.

Star History

https://github.com/OpenBMB/MiniCPM-OCR/blob/HEAD/GitHub star history for MiniCPM-OCR over time.

📄 License

The entire project is released under the Apache License 2.0, including code, documentation, and model weights for MiniCPM-OCR 1.0 and MiniCPM-OCR Jev.

GitHub Stars & Activity

421Stars
26Forks
2Open issues
PythonLanguage

GitHub Popularity

GitHub stars421
Forks26
Open issues2
Primary languagePython
LicenseApache-2.0
Stars gained today0
Created2026-10-27
Last pushed2026-10-29

Trending History

Daily boardrank #10 · ▲ 0 stars
Weekly boardrank #74 · ▲ 0 stars

Related GitHub Projects

1

Motionsites-AI / claude-skill

Python★ 1,021⑂ 106
→
2

deepopen-com / deepopen-3d-webs

Python★ 517⑂ 1
→
3

konlu / story-studio

Python★ 456⑂ 110
→
4

patch-gg / anymove

Python★ 400⑂ 41
→
5

MiniMax-AI / mcode-stack

Python★ 370⑂ 25
→
6

toyxyz / toyxyz_RGBMocap

Python★ 274⑂ 41
→
7

brainstormity / LightPost

Python★ 230⑂ 50
→
8
→

More Trending Repositories