bikramdocsumo commited on
Commit ·
3fbb725
1
Parent(s): 38238b6
Drop the claim that PaddlePaddle has no Linux arm64 build
Browse filesFiles changed (3)
152 unmodified lines15315415515615715815921 unmodified lines181182183184185186187152 unmodified lines| Indra 1.2.0 | 83.4 | 89.2 | 93.6 | 90.0 | 98.2 | 2.07 | modified OpenRAIL-M || Tesseract 5 | 61.9 | 75.0 | 90.7 | 90.2 | 92.3 | 1.07 | Apache-2.0 |FUNSD: 50 scanned forms. SROIE: 347 receipts. XFUND: 250 forms in German, Spanish, French, Italian and Portuguese. OmniDocBench: 755 English pages (papers, books, slides, magazines, newspapers). Business Docs: 41 public and synthetic business documents (invoices, statements, forms and US federal pages in 16 languages). "Paddle tiny rec (our pipeline)" is the PP-OCRv6 tiny recognizer SumoOCR tiny was fine-tuned from, run in the FP32 OpenVINO pipeline (see [Systems compared](REPORT.md#systems-compared)), not the shipped INT8 ONNX Runtime build with adaptive detection: its gap to SumoOCR tiny is the fine-tune plus those pipeline differences. The [line recognition table](#line-recognition-only) compares the two recognizers on the same crops. ¹ PaddleOCR 3.7 itself (Paddle's own package), its tiny setting: PP-OCRv6 tiny detector and recognizer. Timed natively: PaddlePaddle has no Linux arm64 build for the container.\* SumoOCR is Docsumo's full OCR engine (not released). It also supports checkboxes, signatures and more complex documents.21 unmodified lines| 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 |¹ PaddlePaddle has no Linux arm64 build, so PaddleOCR could 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.## Training152 unmodified lines15315415515615715815921 unmodified lines181182183184185186187152 unmodified lines| Indra 1.2.0 | 83.4 | 89.2 | 93.6 | 90.0 | 98.2 | 2.07 | modified OpenRAIL-M || Tesseract 5 | 61.9 | 75.0 | 90.7 | 90.2 | 92.3 | 1.07 | Apache-2.0 |FUNSD: 50 scanned forms. SROIE: 347 receipts. XFUND: 250 forms in German, Spanish, French, Italian and Portuguese. OmniDocBench: 755 English pages (papers, books, slides, magazines, newspapers). Business Docs: 41 public and synthetic business documents (invoices, statements, forms and US federal pages in 16 languages). "Paddle tiny rec (our pipeline)" is the PP-OCRv6 tiny recognizer SumoOCR tiny was fine-tuned from, run in the FP32 OpenVINO pipeline (see [Systems compared](REPORT.md#systems-compared)), not the shipped INT8 ONNX Runtime build with adaptive detection: its gap to SumoOCR tiny is the fine-tune plus those pipeline differences. The [line recognition table](#line-recognition-only) compares the two recognizers on the same crops. ¹ PaddleOCR 3.7 itself (Paddle's own package), its tiny setting: PP-OCRv6 tiny detector and recognizer. Timed natively, outside the container.\* SumoOCR is Docsumo's full OCR engine (not released). It also supports checkboxes, signatures and more complex documents.21 unmodified lines| 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.## Training
112 unmodified lines11311411511611711811924 unmodified lines144145146147148149150112 unmodified lines| 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 |¹ PaddlePaddle has no Linux arm64 build, so PaddleOCR could 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:24 unmodified lines| 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: PaddlePaddle has no Linux arm64 build for 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 |112 unmodified lines11311411511611711811924 unmodified lines144145146147148149150112 unmodified lines| 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:24 unmodified lines| 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 |
README.md+2-2
REPORT.md+2-2
charts/accuracy_vs_speed.svg