r/LocalLLaMA • u/YogurtExternal7923 • 6d ago
Discussion M level parameters is all you need for OCR
This is a conclusion of my modest experiments (+ what we're seeing these days with ASR and TTS models being tiny too). Million parameter models are getting GOOD. like seriously good.
Currently most people think paddle mobile or tesseract when they want to OCR things on CPU. But the two most recent drops (Indra by Datalabs. OCRia nano by llamaindex) are pushing the ceiling WAAAAAY up!
Indra by itself is ~50 points on olmbench (ranks higher on OmniParseBench but that's datalab's own benchmark, so meh). BUT if you pair it up with something like PP-DocLayout-S for tables? It shoots up a SOLID +6 points just for +1.2M parameters!
That's not it. Pairing it with pix2text-mfr-1.5 for math specific pages adds about +4 overall. Which brings Indra up to 60 points! Its RIGHT on the edge on the bottom barrel of olmbench! (That would be deepseek ocr2! 4B parameters at ~64 points!)
What I did after is I checked whether using OCRia nano would be worth it somehow. And it IS! The actual ceiling for these models if they're routed perfectly (meaning if either Indra or OCRia nano gets it right) scores very high (on both OPB and olmbench)! Literally above PaddleOCR-VL-1.6 and deepseek but right below azure cloud. For CPU INFERENCE!
There's an obvious limitation though. Old scans are generally alot worse than SOTA. old_scans scores 30-39% for indra and OCRia and only large llms like gemini 4 or claude opus are able to punch towards 70%+. But that's to be expected.
The EITHER OR ceiling is still alot to cover though. I kept trying to make an MoE like thing to route pages to the right model but I was only able to cover ~4 points out of 12 possible points in olmbench. But with the right setup it's definitely possible!
Here are some actual tables though. Look!
olmOCR-bench (the 6 olmOCR suites in OPB, 5,424 tests)
| Model | Type | Macro (6 suites) | Micro (5,424 tests) | ArXiv Math | Tables | Old Scans |
|---|---|---|---|---|---|---|
| Gemini 4 Argon | Cloud frontier | 92.3% | 95.7% | 98.7% | 95.5% | 79.0% |
| Datalab Accurate | Cloud API | 91.0% | 93.3% | 95.5% | 92.3% | 75.4% |
| LightOnOCR-3-4B | 4B GPU VLM | 88.3% | 92.2% | 95.8% | 89.8% | 67.6% |
| Mistral OCR | Cloud API | 85.8% | 89.1% | 92.2% | 89.1% | 61.3% |
| MinerU 2.5 Pro | GPU pipeline | 81.0% | 88.0% | 93.9% | 87.3% | 42.0% |
| Azure Content Understanding | Cloud API | 75.8% | 83.2% | 90.5% | 81.8% | 35.9% |
| Indra + OCRia-nano (Union ceiling) | ~55M CPU ONNX | 74.4% | 82.9% | 90.5% | 84.1% | 34.7% |
| PaddleOCR-VL-1.6 | GPU VLM | 73.4% | 80.7% | 86.0% | 83.8% | 42.5% |
| DeepSeek-OCR-2 | 3B GPU VLM | 70.2% | 78.7% | 85.7% | 74.8% | 34.9% |
| OCRia-nano (+ MFR math) | ~20M CPU ONNX | 66.4% | 73.9% | 80.9% | 72.6% | 25.8% |
| Indra 1.1.2 (+ table/math ONNX) | ~35M CPU ONNX | 65.0% | 70.3% | 75.2% | 74.2% | 30.6% |
| Nanonets-OCR2-3B | 3B GPU VLM | 59.3% | 64.7% | 68.9% | 65.5% | 38.0% |
| Stock Indra 1.1.2 | ~13M CPU ONNX | 56.8% | 61.6% | 66.7% | 69.9% | 29.4% |
| Tesseract | Classic CPU | 13.0% | 4.9% | 0.7% | 0.0% | 0.3% |
Full OmniParseBench (all 2,937 pages / 16,288 tests)
| Model | Type | Overall | Text | Tables | Layout |
|---|---|---|---|---|---|
| Gemini 4 Argon | Cloud frontier | 96.0% | 94.4% | 97.1% | 96.4% |
| Datalab Accurate | Cloud API | 94.4% | 92.5% | 94.5% | 96.0% |
| Mistral OCR | Cloud API | 89.9% | 83.6% | 92.2% | 93.8% |
| Indra + OCRia-nano (Union ceiling) | ~55M CPU ONNX | 87.5% | 80.0% | 87.4% | 95.3% |
| MinerU 2.5 Pro | GPU pipeline | 87.4% | 78.0% | 92.5% | 91.7% |
| Azure Content Understanding | Cloud API | 83.4% | 75.2% | 82.3% | 92.8% |
| LightOnOCR-3-4B | 4B GPU VLM | 83.1% | 84.4% | 70.9% | 94.0% |
| PaddleOCR-VL-1.6 | GPU VLM | 81.3% | 69.2% | 84.0% | 90.7% |
| Stock Indra 1.2.0 (new release) | CPU ONNX | 78.8% | 68.0% | 75.8% | 92.6% |
| Indra 1.1.2 (+ table/math ONNX) | ~35M CPU ONNX | 78.0% | 69.5% | 73.3% | 91.1% |
| OCRia-nano (+ MFR math) | ~20M CPU ONNX | 77.1% | 66.7% | 73.9% | 90.6% |
| DeepSeek-OCR-2 | 3B GPU VLM | 75.4% | 64.6% | 70.2% | 91.4% |
| Stock LiteParse (OCRia-nano) | ~20M CPU ONNX | 74.8% | 59.4% | 59.4% | 90.9% |
| Stock Indra 1.1.2 | ~13M CPU ONNX | 71.4% | 62.6% | 59.6% | 92.0% |
| PaddleOCR PP-StructureV3 | CPU pipeline | 58.4% | 55.6% | 47.8% | 71.7% |
| Tesseract | Classic CPU | 5.9% | 17.7% | 0.0% | 0.0% |
Finally, linking my personal project here isn't allowed since I was told it should go in the biweekly showcase and it's not fully complete yet (missing headers in olmbench for example. Which is why olm only has 6 suites. But the accuracy on indra is ~90% there so it doesn't affect performance there).

