Qori-OCR
A 3.13M-parameter CTC word recogniser trained from scratch on 300k synthetic crops and 6,106 real ones. It is small (4.05 MB as int8) and quick (11.4 ms per crop on one x86 core). It is also less accurate than recognisers a third of its size — this page shows both, because the second half is the interesting part.
Word accuracy on the held-out crop sets, greedy CTC, no lexicon, no beam search. Every bar in a chart was produced on the same images with the same transform and the same decoder, so the comparison is like-for-like rather than two papers’ tables.
Paired on individual crops, Qori-OCR is ahead on 243 and behind on 718 relative to PP-OCRv6 tiny, which has 1.11M parameters and ships in 4.46 MB. Against PP-OCRv6 small the overall gap is 19.6 points. The advantage the design was aiming for — smaller than the smallest high-precision recogniser with equal accuracy — was not reached: Qori-OCR is smaller than SVTRv2-T’s 5.13M, but it is not in that accuracy class.
Where it does hold up is the budget. Single thread, one x86 core, batch 1, ONNX Runtime; sizes are the released files.
| Parameters | 3,126,864 after 30.4% structured pruning (4,492,032 before) |
| Disk, int8 | 4.05 MB static int8 · 7.69 MB dynamic int8 · 11.99 MB fp32 |
| Latency, x86 1t | 9.9 ms dynamic int8 · 11.4 ms static int8 · 16.8 ms fp32 (4.49M) |
| For scale | PP-OCRv6 small 25.4 ms / 21.2 MB · PP-OCRv6 tiny 5.1 ms / 4.46 MB |
| Input | 3×48×320, aspect preserved, 8 px per CTC step, ≤ 40 characters |
| Charset | 96 classes: 95 printable ASCII, case-sensitive |
Measured, not hedged. A release page that only lists wins is not worth reading.
- Accuracy is the headline miss: 69.9% cleansed word accuracy against 89.4% for a 5.27M model and 78.2% for a 1.11M one, on the identical crops.
- Static int8 is platform-dependent. The same 4.05 MB graph measures 69.5–69.8% on aarch64 and 63.9% on the x86 container used for the training run; the fp32 graph reproduces exactly on both. Measure it on the target before shipping it.
- ASCII only, crops only, no detection and no rotation correction — it recognises a word or short line you have already cropped.
- 1,314 of its 1,338 case-only errors are uppercase references emitted in mixed or lower case. Uppercasing predictions lifts case-sensitive exact match from 45.8% to 69.2%, but that is a convention, not a capability.
- Weakest on short, clean words — 77.8% on 1–3 character labels against 85.2% for PP-OCRv6 tiny — which reads as a data-budget signature: 306k training crops against the tens of millions the PP-OCR series uses. Distillation from PP-OCRv6 small was planned and not run; 84.2% of current predictions are within one edit of the reference, which is the headroom a teacher or a lexicon would target.
| Architecture | Depthwise MetaFormer (RepDW mixers, four late attention blocks), BiGRU neck, CTC head |
| Training | 300,000 MJSynth + 6,106 real crops; 82,854 steps + 8 epochs; one T4; $0.92 billed |
| Validation | CER 0.1789, 65.5% exact match on 615 held-out crops |
| Held out | IIIT-5K 3,000 · SVT 647 · ICDAR-2015 2,075 |
| Formats | ONNX fp32, dynamic int8, static int8 (QOperator) |
| Runtime | onnxruntime + numpy + pillow; no torch, no paddle |
| Licence | Research use; training crops carry ICDAR/SVT/IIIT-5K research terms |