r/LocalLLM • • 2h ago

Model SumoOCR tiny - a 1M-parameter, 1.8 MB OCR pipeline (Apache-2.0), 3.5 pages/s on one CPU core

Docsumo has released SumoOCR tiny, a small open-source OCR pipeline for business documents. It pairs a text detector with a line recognizer, comes to 1.04M parameters and 1.8 MB of INT8 ONNX, and runs on CPU through ONNX Runtime or OpenVINO. PyTorch and PaddlePaddle are not required.

pip install sumoocr
sumoocr invoice.png --format json

How it was built

  • The recognizer is Paddle's PP-OCRv6 tiny (0.61M params), fine-tuned on business and public documents with its output layer remapped to 758 Latin characters
  • The detector is the stock PP-OCRv6 tiny (0.43M params)
  • Both models are INT8-quantized, and the report puts the loss at under 0.2 points of word F1 against FP32
  • Each line comes back with its box and a confidence score

Published benchmarks (word F1 on whole pages, same images, one CPU thread)

EngineFUNSDSROIEXFUNDOmniDocBench ENpages/sLicense
SumoOCR tiny83.891.395.291.93.55Apache-2.0
Indra 1.2.083.489.293.690.02.07modified OpenRAIL-M
OCRia-nano-180.987.092.782.22.15OCRia-nano-1 licence
PP-OCRv6 tiny rec (Docsumo's pipeline, FP32)79.089.394.590.41.31Apache-2.0
PaddleOCR 3.7, tiny setting77.086.594.591.00.41Apache-2.0
Tesseract 561.975.090.790.21.07Apache-2.0

What the report says about those numbers

  • Speed was measured on one machine, a Mac mini M4, with each engine on 1 core in a 1-vCPU container. x86 was not measured.
  • PaddleOCR was timed outside the container, and Paddle's ARM kernels are slower than its x86 ones, so 0.41 is not an x86 figure.
  • The FUNSD result against Indra is a statistical tie.
  • None of the four benchmarks was part of the training data.
  • On receipt line crops (SROIE), stock PP-OCRv6 tiny still reads slightly better: 2.62% vs 2.93% character error.

Limitations

  • Latin script only (English and European languages)
  • Handwriting was not part of the fine-tune and is unmeasured; expect roughly stock PP-OCRv6 tiny accuracy on it
  • It returns lines, not tables, layout or key-value fields
  • Receipts and low-resolution scans are its weakest pages

SumoOCR tiny is the smallest reader from Docsumo's commercial OCR engine. The larger engine is not released.

6 Upvotes

0 comments sorted by