# SumoOCR tiny: benchmark report [Model card](README.md) · [Systems compared](#systems-compared) · [Datasets](#datasets) · [Method](#method) SumoOCR tiny against Paddle's PP-OCRv6 tiny recognizer, PaddleOCR, OCRia-nano-1, Indra and Tesseract on four public benchmarks (FUNSD, SROIE, XFUND, OmniDocBench) and a 41-page public and business document set (Business Docs). CPU, one thread, the same page images and the same scorer for every engine. Speed was measured on a Mac mini M4, 1 CPU core. Run 2026-12-01. - **Accuracy**: SumoOCR tiny is ahead of PP-OCRv6 tiny, PaddleOCR tiny, OCRia-nano-1 and Tesseract on every set (outside the 95 % confidence interval), and ahead of Indra on SROIE (+2.2), XFUND (+1.5), OmniDocBench (+1.9) and Business Docs (+0.6); FUNSD (+0.4) is within the 95 % CI. - **Fine-tune vs base**: same architecture and size as PP-OCRv6 tiny, +4.9 on FUNSD, +2.0 on SROIE, +0.7 on XFUND; 21 % fewer character errors on FUNSD lines. The page-level gaps also include pipeline differences (see [Systems compared](#systems-compared)); the line-level table compares the two recognizers on the same crops. - **Speed**: 0.28 s a page (3.55 pages/s) on one core of a Mac mini M4 for the shipped INT8 QDQ build — the fastest engine tested: 1.65x faster than OCRia-nano-1 (0.46 s), 1.72x faster than Indra (0.48 s), 3.3x faster than Tesseract (0.93 s) and 8.7x faster than PaddleOCR tiny (2.44 s, native). The unquantized FP32 ONNX Runtime build also runs ahead of OCRia-nano-1 and Indra at 0.45 s (2.20 pages/s), with mean word F1 90.7 vs 90.6. - **Adaptive small-print detection**: the detector caps the long side at 1,280 px on normal pages and automatically steps up to 2,400 px on dense small print (~2 % of pages), reading OmniDocBench newspapers at 95.0 (Indra 94.9) at 344 ms mean on OmniDocBench. ![Accuracy against speed](charts/accuracy_vs_speed.svg) ## Benchmarks Word F1 x 100: case-insensitive bag-of-words F1 against each benchmark's ground truth (the SumoOCR blog's scorer). Bold = best in the column. Both the shipped INT8 QDQ build (`SumoOCR tiny`, plotted in the charts) and the unquantized pure FP32 ONNX Runtime build (`SumoOCR tiny (FP32)`) are shown below. | System (CPU) | FUNSD | SROIE | XFUND | OmniDocBench (EN) | OmniDocBench, no formulas | Business Docs | pages/s | License | |---|---|---|---|---|---|---|---|---| | **SumoOCR tiny** | 83.8 | 91.3 | 95.2 | **91.9** | **95.4** | 98.9 | **3.55** | Apache-2.0 | | SumoOCR tiny (FP32) | 84.0 | 91.5 | 95.2 | **91.9** | **95.4** | 98.9 | 2.20 | Apache-2.0 | | SumoOCR \* | **85.6** | **94.5** | **96.0** | 90.9 | 92.8 | **99.0** | 0.91 | not released | | Paddle tiny rec (our pipeline) | 79.0 | 89.3 | 94.5 | 90.4 | 91.9 | 97.5 | 1.31 | Apache-2.0 | | PaddleOCR tiny ¹ | 77.0 | 86.5 | 94.5 | 91.0 | 94.9 | 97.1 | 0.41 | Apache-2.0 | | OCRia-nano-1 | 80.9 | 87.0 | 92.7 | 82.2 | 84.7 | 98.0 | 2.15 | OCRia-nano-1 licence | | Indra 1.2.0 | 83.4 | 89.2 | 93.6 | 90.0 | 95.3 | 98.2 | 2.07 | modified OpenRAIL-M | | Tesseract 5 | 61.9 | 75.0 | 90.7 | 90.2 | 93.1 | 92.3 | 1.07 | Apache-2.0 | \* SumoOCR is Docsumo's full OCR engine (not released). It also supports checkboxes, signatures and more complex documents. Change in word F1 against SumoOCR tiny, x 100, with a paired page bootstrap 95 % interval ("tie" = the interval contains 0): | System | FUNSD | SROIE | XFUND | OmniDocBench (EN) | Business Docs | |---|---|---|---|---|---| | SumoOCR tiny (FP32) | +0.2 tie | +0.2 [+0.0, +0.3] | +0.1 tie | +0.0 tie | +0.1 [+0.0, +0.1] | | SumoOCR | +1.8 [+1.3, +2.3] | +3.1 [+2.7, +3.6] | +0.8 [+0.5, +1.1] | -1.0 tie | +0.2 [+0.1, +0.3] | | Paddle tiny rec (our pipeline) | -4.9 [-6.2, -3.6] | -2.0 [-2.4, -1.6] | -0.7 [-1.1, -0.3] | -1.5 [-3.4, -0.2] | -1.3 [-2.6, -0.5] | | PaddleOCR tiny ¹ | -6.8 [-8.1, -5.8] | -4.8 [-5.3, -4.3] | -0.6 [-1.1, -0.1] | -0.9 [-1.6, -0.4] | -1.8 [-3.0, -1.1] | | OCRia-nano-1 | -2.9 [-4.3, -1.8] | -4.3 [-5.0, -3.7] | -2.5 [-4.3, -1.5] | -9.6 [-12.3, -7.5] | -0.8 [-1.2, -0.5] | | Indra 1.2.0 | -0.4 tie | -2.2 [-2.6, -1.7] | -1.5 [-2.1, -1.1] | -1.9 [-2.3, -1.4] | -0.6 [-1.1, -0.3] | | Tesseract 5 | -21.9 [-26.1, -18.5] | -16.4 [-17.8, -15.2] | -4.4 [-5.3, -3.8] | -1.7 [-2.4, -1.1] | -6.5 [-10.8, -3.4] | ![Word F1 by benchmark](charts/word_f1_by_benchmark.svg) ### Numbers and accented words Numbers F1 = F1 over numeric tokens (amounts, dates, codes); FUNSD's are low for every engine (low-resolution digits, noisy ground truth). Accented words F1 = words with diacritics. | System | numbers, FUNSD | numbers, SROIE | numbers, XFUND | numbers, OmniDocBench (EN) | numbers, Business Docs | accented, XFUND | accented, Business Docs | |---|---|---|---|---|---|---|---| | SumoOCR tiny | 58.8 | 89.7 | 84.8 | 79.9 | 99.0 | 95.2 | 98.9 | | SumoOCR tiny (FP32) | 59.5 | 89.8 | 84.5 | **80.1** | **99.3** | 95.3 | 99.0 | | SumoOCR | **60.5** | **92.6** | **85.4** | 79.2 | **99.3** | **97.0** | **99.7** | | Paddle tiny rec (our pipeline) | 57.5 | 89.7 | 83.2 | 79.5 | 98.0 | 94.8 | 89.4 | | PaddleOCR tiny ¹ | 54.9 | 88.5 | 82.6 | 79.6 | 96.6 | 95.6 | 90.7 | | OCRia-nano-1 | 53.4 | 83.2 | 81.4 | 70.3 | 97.7 | 91.0 | 94.8 | | Indra 1.2.0 | 57.3 | 86.2 | 81.4 | 79.4 | 98.6 | 93.4 | 97.0 | | Tesseract 5 | 39.6 | 68.6 | 76.1 | 78.1 | 94.2 | 93.0 | 64.7 | ### XFUND by language | System | German | Spanish | French | Italian | Portuguese | |---|---|---|---|---|---| | SumoOCR tiny | 97.3 | 97.3 | 91.6 | 94.0 | 96.1 | | SumoOCR tiny (FP32) | **97.4** | 97.4 | 91.8 | 94.0 | 96.1 | | SumoOCR | **97.4** | **97.9** | **93.7** | **94.6** | **96.8** | | Paddle tiny rec (our pipeline) | 96.6 | 97.3 | 91.8 | 93.1 | 94.5 | | PaddleOCR tiny ¹ | 96.5 | 96.8 | 92.6 | 92.9 | 94.7 | | OCRia-nano-1 | 96.0 | 95.6 | 89.1 | 92.1 | 91.2 | | Indra 1.2.0 | 96.4 | 96.2 | 89.2 | 92.6 | 94.4 | | Tesseract 5 | 93.1 | 93.4 | 84.3 | 91.2 | 91.5 | ### OmniDocBench by page type SumoOCR tiny runs the detector at 1,280 px by default and automatically steps up to 2,400 px when the median detected line height is below 13 detector pixels (mainly dense small-print newspapers). | Page type (pages) | SumoOCR tiny | SumoOCR tiny (FP32) | SumoOCR | Paddle tiny rec (our pipeline) | PaddleOCR tiny ¹ | OCRia-nano-1 | Indra 1.2.0 | Tesseract 5 | |---|---|---|---|---|---|---|---|---| | academic papers (206) | 91.1 | 91.1 | **91.5** | 91.4 | 89.5 | 84.3 | 89.2 | 88.5 | | books (131) | **89.5** | **89.5** | 89.4 | 89.1 | 88.5 | 81.4 | 85.4 | 88.1 | | slides (120) | 95.1 | 94.9 | **95.3** | 94.8 | 94.3 | 87.3 | 93.5 | 91.2 | | magazines (84) | 93.3 | 93.3 | **93.4** | 93.2 | 92.5 | 86.3 | 93.3 | 92.5 | | exam papers (82) | **83.9** | **83.9** | 83.7 | 83.2 | 82.5 | 77.7 | 77.2 | 83.8 | | newspapers (77) | **95.0** | **95.0** | 91.4 | 90.3 | 94.7 | 79.0 | 94.9 | 93.4 | | textbooks (53) | 95.3 | 95.2 | 95.7 | 95.5 | **95.8** | 88.7 | 94.9 | 91.7 | | **all (755)** | **91.9** | **91.9** | 90.9 | 90.4 | 91.0 | 82.2 | 90.0 | 90.2 | | **no formulas (291)** | **95.4** | **95.4** | 92.8 | 91.9 | 94.9 | 84.7 | 95.3 | 93.1 | ### Line recognition only Each ground-truth line cut from the page and read by each recognizer, no detector: 3,000 lines sampled from SROIE and from XFUND, every one-line entity in FUNSD. Character error rate (CER ↓) and exact lines ignore case and spaces. OCRia-nano and Indra only take whole pages. | Recognizer | SROIE CER ↓ | SROIE exact | XFUND CER ↓ | XFUND exact | FUNSD CER ↓ | FUNSD exact | |---|---|---|---|---|---|---| | SumoOCR tiny | 2.93 % | 80.53 % | 1.77 % | 78.20 % | 4.26 % | 77.87 % | | SumoOCR tiny (FP32) | 2.78 % | 81.27 % | 1.74 % | 78.60 % | 4.23 % | 77.67 % | | SumoOCR | **1.55 %** | **88.43 %** | **1.52 %** | **80.43 %** | **3.49 %** | **80.52 %** | | PP-OCRv6 tiny rec | 2.62 % | 81.83 % | 1.96 % | 78.37 % | 5.38 % | 71.91 % | | Tesseract 5 (`--psm 7`) | 8.58 % | 63.70 % | 9.86 % | 65.33 % | 12.92 % | 50.47 % | ## Speed **Hardware: Mac mini M4, 1 CPU core.** One process inside a Docker container limited to 1 vCPU and 8 GB (`--cpus=1 --memory=8g`, Linux arm64). Every engine took turns page by page (order rotating), each warmed up first; 100 pages, 20 from each set; whole pages, detection included. | Configuration | mean word F1 (4 benchmarks) | pages/s | ms per page, 1 core (mean / P90) | License | |---|---|---|---|---| | **SumoOCR tiny** | 90.6 | 3.55 | 281 / 546 | Apache-2.0 | | SumoOCR tiny (FP32) | 90.7 | 2.20 | 455 / 901 | Apache-2.0 | | OCRia-nano-1 | 85.7 | 2.15 | 464 / 734 | OCRia-nano-1 licence | | Indra 1.2.0 | 89.0 | 2.07 | 484 / 857 | modified OpenRAIL-M | | Paddle tiny rec (our pipeline) | 88.3 | 1.31 | 764 / 1,456 | Apache-2.0 | | Tesseract 5 | 79.4 | 1.07 | 931 / 2,074 | Apache-2.0 | | SumoOCR | 91.7 | 0.91 | 1,103 / 1,976 | not released | | PaddleOCR 3.7, tiny (PP-OCRv6 tiny det + rec) ¹ | 87.3 | 0.41 | 2,444 / 4,527 | Apache-2.0 | ¹ PaddleOCR was not run in the 1-vCPU container: it was timed natively on the same host, one thread (`cpu_threads=1`), 100 pages (8.7x the time of SumoOCR tiny run the same way on the same pages). Paddle's CPU kernels on ARM are much slower than its x86 path. Mean ms per page by set: | Configuration | Business Docs | FUNSD | SROIE | XFUND | OmniDocBench | |---|---|---|---|---|---| | SumoOCR tiny | 441 | 176 | 151 | 294 | 344 | | SumoOCR tiny (FP32) | 738 | 287 | 239 | 468 | 542 | | OCRia-nano-1 | 602 | 318 | 328 | 416 | 656 | | Indra 1.2.0 | 672 | 304 | 262 | 499 | 683 | | Paddle tiny rec (our pipeline) | 1,206 | 457 | 473 | 794 | 890 | | Tesseract 5 | 1,584 | 309 | 475 | 1,194 | 1,092 | | SumoOCR | 1,421 | 914 | 737 | 1,041 | 1,402 | SumoOCR tiny is the fastest engine on every benchmark set: synthetic-calibrated INT8 QDQ quantization, standard ONNX opset-20 `Gelu(tanh)` fusion, and adaptive 1,280 → 2,400 px detection bring one-core page time down to 281 ms (3.55 pages/s) on ONNX Runtime (455 ms / 2.20 pages/s in pure FP32). ## Limitations of SumoOCR tiny - **Latin script only.** The 758 characters cover English and European Latin-script languages; Cyrillic, Greek, Arabic, Hebrew, Chinese, Japanese, Korean and Indic scripts are not recognized. - **Printed text.** Handwriting was not a training target and was not measured here. - **Lines, not documents.** It returns text lines with boxes and confidences: no layout blocks, tables, reading order or key-value structure (the benchmarks put every engine's lines in reading order with one shared routine). - **Receipts and low-resolution scans are its weakest pages.** SROIE 91.3 and FUNSD 83.8 word F1, 3.1 and 1.8 points behind SumoOCR. On receipt line crops the base PP-OCRv6 tiny reads slightly better (2.62 % vs 2.93 % character errors). - **Post-training INT8 quantization.** Both ONNX models use synthetic-calibrated INT8 QDQ quantization (keeping sensitive layers in FP32) for fast CPU inference at 1.8 MB total size; word F1 is within 0.2 points of FP32 on every benchmark (0.1 on the four-benchmark mean). ## Systems compared | System | What ran | Model files | License | |---|---|---|---| | SumoOCR tiny | `sumoocr` package defaults: PP-OCRv6 tiny detector (INT8 QDQ, adaptive 1,280 → 2,400 px) + SumoOCR tiny recognizer (INT8 QDQ, opset-20 Gelu), ONNX Runtime | 0.7 MB + 1.1 MB (0.43M + 0.61M params) | Apache-2.0 | | SumoOCR tiny (FP32) | same pipeline and adaptive 1,280 → 2,400 px detection with unquantized FP32 ONNX opset-20 `Gelu(tanh)` models, ONNX Runtime | 1.8 MB + 2.4 MB (0.43M + 0.61M params) | Apache-2.0 | | Paddle tiny rec (our pipeline) | PP-OCRv6 tiny detector (1,600 px) + the stock PP-OCRv6 tiny recognizer (Latin head, its native height 48, space bias 3.0), FP32, OpenVINO: the base SumoOCR tiny was fine-tuned from | 1.8 + 2.4 MB | Apache-2.0 | | PaddleOCR 3.7 | Paddle's own package (PaddlePaddle 3.3.1), `cpu_threads=1`: PP-OCRv6 tiny detector + recognizer, with its page orientation, unwarping and line orientation models off. Run natively on the same host, outside the container. | 183 MB downloaded | Apache-2.0 | | OCRia-nano-1 | LlamaIndex, through LiteParse 2.21.3 (`num_workers=1`, word boxes on) | 72 MB package (8.1M params + runtime) | OCRia-nano-1 licence (free under $2M revenue / funding) | | Indra 1.2.0 | Datalab `indra-ocr`, OCR mode, `threads=1`, math on (its default; same text on business pages) | 109 MB | code Apache-2.0, weights modified OpenRAIL-M (free under $5M; no competing use) | | Tesseract 5 | `--oem 1 --psm 3`, tessdata_fast, told the page's language | 1-4 MB per language | Apache-2.0 | ## Datasets | Set | Pages | What | Ground truth | |---|---|---|---| | FUNSD, test | 50 | noisy 1990s scanned forms, English, low resolution | entity text | | SROIE 2019, task 1 test | 347 | scanned receipts | line text, upper-cased (scoring ignores case) | | XFUND, validation: de / es / fr / it / pt | 250 | forms in five languages | entity text | | OmniDocBench v1.5, English | 755 (291 without formulas) | papers, books, slides, magazines, exams, newspapers, textbooks | text blocks, titles, headers, captions, table cells; formula, figure and masked regions left out (and every engine's lines inside them dropped) | | Business Docs | 41 | Public and synthetic business documents: 24 synthetic invoices, statements, holdings, forms and letters in 16 languages (clean, scanned, faxed, photographed) + 17 public US federal pages (IRS, Federal Register, Federal Reserve) | exact text / PDF text layer; 3 public federal PDF pages also appear in the training set (without them: SumoOCR tiny 98.8, Indra 98.2, OCRia-nano 97.9) | None of the four public benchmarks is in SumoOCR tiny's training data. PP-OCRv6's pretraining data is not published; it is the starting point of both PP-OCRv6 tiny and SumoOCR tiny. ## Method - **Same input for every engine**: the benchmark's page images; CPU, one thread; each engine's published defaults. - **Scoring**: each engine's lines are put in reading order by one shared routine, then scored with the SumoOCR blog's scorer: word F1 is a case-insensitive bag-of-words F1, so it ignores reading order. Paired page bootstrap, 1,000 draws. - **Ground truth**: FUNSD's annotations are noisy and SROIE's are upper-cased (compare engines, not absolute values); OmniDocBench's inline formulas are removed from the ground truth. - **Tesseract** was told each page's language; the other engines read every page with one multilingual model. - **Speed** is one host: a Mac mini M4 (Apple M4, 10 cores: 4 performance + 6 efficiency; 24 GB), each engine on 1 CPU core. The timing container is `python:3.12.8-slim` on Linux arm64 (Docker in a Linux VM on macOS), started with `--cpus=1 --memory=8g`, with ONNX Runtime 1.32.0 and OpenVINO 2026.4.1. x86 was not measured in this run. - **Licences**: the benchmark sets are for research use (report scores, don't redistribute pages). ## Reproduce The datasets are public: FUNSD (guillaumejaume.github.io/FUNSD), SROIE 2019 task 1 test (rrc.cvc.uab.es, mirrored as huggingface.co/datasets/rth/sroie-2019-v2), XFUND (github.com/doc-analysis/XFUND, validation sets) and OmniDocBench v1.5 (huggingface.co/datasets/opendatalab/OmniDocBench). Each engine ran as listed under [Systems compared](#systems-compared); `sumoocr` with its defaults is SumoOCR tiny. The evaluation harness is not part of this repository.