Introducing SumoOCR tiny: open-source OCR that reads 3.5 pages a second on one CPU core

For developers who need OCR on their own machines. A 1.8 MB model that reads invoices, receipts and forms on one CPU core, free to use under Apache-2.0.

Line drawing of document pages moving through a small processor chip and leaving as lines of text, each in its own box, with a green check

Key takeaways

  • SumoOCR tiny is Docsumo's open-source OCR model. The whole pipeline is 1.8 MB, needs no GPU and is free for commercial use under the Apache-2.0 license.
  • It had the top score on all four public benchmarks we ran. It beat OCRia-nano-1, PaddleOCR and Tesseract on every one, and Indra on three, with FUNSD a tie.
  • It reads a page in 0.28 seconds on one CPU core, about 1.7 times as fast as the next-fastest engine we tested.
  • Every line comes back with its box on the page and a confidence score, so unsure lines can be flagged for a check.
  • It reads printed Latin-script text, which covers English and most European languages. It doesn't read handwriting or find tables.
On this page
  1. Why we're releasing it
  2. Ahead on four public benchmarks
  3. The fastest engine we tested
  4. Every line comes with its box and a score
  5. Try it in a minute
  6. Where SumoOCR tiny falls short
  7. How we tested
  8. Get SumoOCR tiny
  9. Frequently asked questions

SumoOCR tiny is a small, open-source OCR model from Docsumo for printed business documents, such as invoices, receipts, statements and forms. The whole pipeline is 1.8 MB and runs on a single CPU core. It's free to use in your own products under the Apache-2.0 license.

On four public benchmarks it matched or beat every other OCR engine we tested, and it was the fastest of them too. You can install it with one line and run it on your own machine today.

Why we're releasing it

OCR is the first step in everything Docsumo's document AI does. In November we introduced SumoOCR, the OCR model we built for the pages our customers send. SumoOCR tiny is the first reader inside it. It finds and reads every line on the page, and SumoOCR re-reads the lines it is unsure of with a larger model.

Plenty of teams can't send documents to a cloud OCR service. Some work under strict data rules, and others need OCR inside a scanner, a desktop app or a small server. Small OCR models exist for that, but many are slow on a CPU, and some limit commercial use. We wanted one that any developer can drop into a product, so we're releasing the first part of SumoOCR as open source.

Ahead on four public benchmarks

We tested SumoOCR tiny against four other OCR engines that run on a CPU. FUNSD covers old scanned forms, SROIE covers receipts and XFUND covers forms in five European languages. OmniDocBench adds English papers, books, slides, magazines and newspapers. Every engine read the same page images on one CPU thread, and one scorer marked them all.

Word F1 on four public benchmarks for SumoOCR tiny, Indra 1.2.0, OCRia-nano-1 and PaddleOCR tiny. SumoOCR tiny scores 83.8 on FUNSD, 91.3 on SROIE, 95.2 on XFUND and 91.9 on OmniDocBench, the highest on each. The next best are Indra at 83.4 and 89.2, PaddleOCR tiny at 94.5 and 91.0

SumoOCR tiny had the top score on all four. Its clearest lead was on receipts, at 91.3 against 89.2 for Indra, the next best. On FUNSD's old scanned forms, its lead over Indra is small enough to count as a tie. Tesseract, the long-standing open-source OCR engine, trailed by 2 to 22 points.

SumoOCR tiny is the same size as the PaddleOCR model it started from, retrained on business documents. Given the same cut-out lines from FUNSD's old forms, it misreads 21% fewer characters than the original.

The fastest engine we tested

Mean word F1 on four public benchmarks against pages a second on one CPU core. SumoOCR tiny scores 90.6 at 3.55 pages a second. Indra 1.2.0 scores 89.0 at 2.07, OCRia-nano-1 85.7 at 2.15, PaddleOCR tiny 87.3 at 0.41 and Tesseract 5 79.4 at 1.07

On one CPU core, SumoOCR tiny reads a whole page in 0.28 seconds on average, including finding the lines. That's 3.55 pages a second. OCRia-nano-1, the next fastest, took 0.46 seconds a page, and Tesseract took 0.93. PaddleOCR's own package, with the model we started from, took 2.44 seconds.

Two choices keep it fast. It stores its weights as compact 8-bit numbers, which makes it smaller and quicker and costs at most 0.2 points of accuracy on any benchmark. It also reads most pages at a moderate size and looks closer only at dense small print, such as newspapers.

Every line comes with its box and a score

SumoOCR tiny returns each line of text in reading order, with its box on the page and a confidence score. The box lets you trace any value back to the spot it came from, the same idea behind SumoOCR in Docsumo.

SumoOCR tiny's output on part of an invoice. Every line has a thin blue box. Four lines are numbered, a line item description, a second line item, an amount and the total due. The panel below lists each with its text, its box and a confidence score. Three score 1.00. The second line item, read as 2 day where the page says ½ day, scores 0.98 and is flagged for a check

The score tells you which lines to check. On this invoice, it read the ½ in one line item as 2. That line scored 0.98, one of the lowest on the page. On the benchmark pages, about a fifth of lines scored below 0.99. Inside Docsumo, SumoOCR re-reads those lines with a larger model. On its own, tiny keeps its first reading, so use the score to flag them.

Try it in a minute

pip install sumoocr
sumoocr invoice.png
from sumoocr import SumoOCR

ocr = SumoOCR()
for line in ocr("invoice.png"):
    print(line.text, line.conf, line.box)

It needs no GPU and no deep learning framework. It runs on ONNX Runtime by default, or on OpenVINO. The two models are plain ONNX files, so you can also run them without our package. The code is on GitHub, and the model card on Hugging Face has the details.

Where SumoOCR tiny falls short

  • Latin script only. It reads English and most European languages. Cyrillic, Greek, Arabic, Chinese, Japanese, Korean and Indic scripts aren't covered.
  • Printed text only. It wasn't trained on handwriting, and we didn't measure it there.
  • Lines, not documents. It returns lines with boxes. It doesn't find tables, fields or page layout.
  • Receipts and old scans. These are its weakest pages. The full SumoOCR scores 3.1 points higher on receipts and 1.8 higher on old scanned forms. On cut-out receipt lines, the original PaddleOCR model is slightly ahead too, so check the amounts that matter.

Our take. We think the first step of document AI should be something any team can inspect and run on its own machine. A small open model gives everyone the same starting point. The score on every line keeps a person in charge of what to trust.

How we tested

  • Benchmarks. FUNSD, SROIE, XFUND and the English pages of OmniDocBench. None of them were used in training.
  • Engines. Datalab's Indra 1.2.0, OCRia-nano-1 run through LlamaIndex's LiteParse, PaddleOCR 3.7 with its tiny models, and Tesseract 5. Each ran with its published defaults, and Tesseract was told each page's language.
  • Same input. Every engine read the same page images on a CPU with one thread. One shared step put each engine's lines in reading order.
  • Speed. One process limited to one CPU core on an arm64 machine, reading whole pages. PaddleOCR doesn't run in that setup, so we timed it on the same machine with one thread. We haven't measured x86 yet.
  • Training data. Text lines from private and public documents, plus synthetic lines, with no pages from the four benchmarks.

Accuracy scores are word F1. They count the words read exactly right, and penalize both missed words and extra ones. The full results, with margins of error, are in the benchmark report.

Get SumoOCR tiny

Get SumoOCR tiny from GitHub or Hugging Face, or run pip install sumoocr, and point it at your hardest pages. If you need fields and tables instead of lines, sign up for Docsumo. You'll get the full SumoOCR with extraction on top, and every value linked to its place on the page. For a high-volume setup or a private-cloud install, book a demo.

Frequently asked questions

What is SumoOCR tiny?

SumoOCR tiny is a small, open-source OCR model from Docsumo. It finds every line of printed text on a page and returns its text, its box and a confidence score. The whole pipeline is 1.8 MB and runs on one CPU core.

Is SumoOCR tiny free for commercial use?

Yes. It's released under the Apache-2.0 license, the same license as the PaddleOCR model it started from. There is no revenue cap and no fee per page.

Does SumoOCR tiny need a GPU?

No. It runs on a CPU with ONNX Runtime or OpenVINO, and it doesn't need PyTorch or PaddlePaddle. In our tests it read a page in 0.28 seconds on one CPU core.

How is SumoOCR tiny different from SumoOCR?

SumoOCR tiny is the first reader inside SumoOCR, the OCR engine Docsumo runs. SumoOCR adds a larger model that re-reads the lines tiny is unsure of, and it also returns checkboxes and signatures. Sign up for Docsumo to try it.

Which languages does SumoOCR tiny read?

It reads printed text in the Latin alphabet. That covers English, German, French, Spanish, Italian, Portuguese, Dutch, Polish, Czech, Hungarian, Turkish, Romanian and the Nordic languages. It doesn't read Cyrillic, Greek, Arabic, Chinese, Japanese, Korean or Indic scripts.

Does SumoOCR tiny read tables and fields?

No. It returns lines of text with their boxes, in reading order. To turn pages into fields and tables, add your own extraction step, or use Docsumo's document AI.

See Docsumo read your own documents

Bring a few real samples. We'll show the fields extracted, the checks that ran and what a reviewer would see.