HeOCR modern MEASURED v1.0
This Tesseract int8 model recognizes modern printed Hebrew documents. It is a short TRAIN-only fine-tune of Rivok Full on HeOCR's public phone captures of printed pages, with corrected Rivok v2 replay. See NOTICE for attribution and licences.
In short: on HeOCR's open held-out set of modern printed documents, this model ties its base model Rivok Full (14.77% vs 14.80% CER). That is not a win under our registered test. It is clearly better than stock Tesseract.
Use
tesseract page.png out -l modern_measured --oem 1 --psm 3 --tessdata-dir /path/to/this/repo
The file is modern_measured.traineddata, sha256:17b957f3998d334efda3208bdd49e334e7c4d4da760291e73fec7b013d5ca680. These exact bytes were scored on the held-out set.
Versions
| Version | Status | Held-out evaluation | Archive |
|---|---|---|---|
| v1.0 | first release | C1 P-mod-open v0 (#1871, score receipt 5a17888eβ¦, reproduced) |
Zenodo |
Held-out evaluation: modern Hebrew printed documents (C1, P-mod-open v0), heocr-modern-measured v1.0
Measured model: capture-only 1k, int8, MEASURED (TRAIN only), sha256:17b957f3998d334efda3208bdd49e334e7c4d4da760291e73fec7b013d5ca680. It's a fine-tune of Rivok Tesseract Full, run as direct Tesseract with the same recipe as the registered Rivok Full lane (-l <model> --oem 1 --psm 3), so only the model changes. It was scored once (registration #1871 with amendment #1891, score receipt 5a17888e⦠#1916).
Set: P-mod-open v0. It holds 31 modern Hebrew printed pages (archive pages, issued periodical pages and publisher renders) as 65 inputs, including flatbed scans and phone-made PDFs.
- References: human-verified.
- Clusters: repeated captures of the same page are kept together in 14 issue clusters.
- Registration: the set was registered and frozen before any reader ran on it.
Measure: page-level character error rate (CER, lower is better), line_fold_v1 normalisation.
- Filtered view (deciding): 70,545 reference characters. Lines that carry known text exposure or lexical reuse, or can't be checked, are removed for every reader alike.
- All lines: 93,728 characters.
- Intervals: from a paired bootstrap over the 14 issue clusters (2,000 resamples, seed 0).
| Reader | CER, filtered (%) | CER, all lines (%) | WER, filtered (%) | This model's relative CER change, filtered (one-sided 97.5% upper bound) |
|---|---|---|---|---|
| heocr-modern-measured v1.0 | 14.77 | 19.68 | 23.4 | β |
| Rivok Tesseract Full | 14.80 | 19.71 | 23.4 | β0.2% (+0.2%): tie |
| Rivok Tesseract Lite | 15.44 | 20.37 | 25.7 | β4.3% (β1.5%) |
Tesseract heb fast (stock) |
15.74 | 20.88 | 29.8 | β6.1% (β3.2%) |
Tesseract heb best (stock tessdata_best) |
15.95 | 21.16 | 30.6 | β7.4% (β3.0%) |
| Rivok PaddleOCR | 17.85 | 20.87 | 43.8 | β17.2% (+27.9%, wide) |
| Kraken 7.2, generic recognizer | 79.06 | 78.64 | β | not paired |
| Qwen3-VL-2B-Instruct, MLX 4-bit | 217.39 | 227.50 | β | not paired; CER above 100% comes from inserted text |
Reading:
- This model ties Rivok Tesseract Full, its start model (14.77% vs 14.80%). That isn't a win under the registered test, which needs an upper bound below β3% against every comparator.
- It's better than stock Tesseract (
hebbest and fast: both upper bounds below β3%) and better than Rivok Lite (upper bound β1.5%). - General vision-language models read these documents much better than every OCR engine. On a 56-input subset this model wasn't scored on, Claude Haiku 5.5 scored 8.3% and Gemini 3.8 Flash 12.9%, against Rivok Full's 14.0% (see the HeOCR benchmarks page).
Caveats:
- It's a fine-tune of Rivok Full, so a near-tie with it is expected. The training dose is small: 1,000 line visits.
- Pixels: this model's training was checked by exact-pixel join against the set, with 0 hits (#1872). Its training set is TRAIN CLEAN (#1852).
- Text: text-level exposure and lexical reuse are tagged, not excluded. They're removed in the filtered view and kept in all lines.
- Comparators: their training data is unknown, and these pages may be on the public web.
- Models scored: 17 distinct models have been scored on this set (retirement after more than 300).
Training
- Base: Rivok Full float (
heb_rivok,sha256:673a4193β¦, Apache-2.0), with its codec unchanged. - Recipe:
lstmtraining, learning rate 1e-5, 1,000 line visits, exported as int8. This is the 1k cut of a pre-registered cut grid (500 / 1k / 2k / 3k / 5k), selected on a development set before the single held-out run. - Data (TRAIN only):
- 400 Phone A and 300 Phone B line crops from HeOCR TRN-PHPACK1 phone captures (CC0 1.0): phone photographs of HeOCR's 60-page TRAIN print pack.
- 300 corrected lines from Rivok v2 lines (CC BY-SA 4.0) as replay.
- Contamination control: HeOCR TRAIN CLEAN #1852 (receipt
89fb25a8β¦). An exact-pixel check of the reached training lines against every page and capture of the held-out set found 0 hits. - No synthetic data and no private documents were used.
- Known issue in the training data (found 2026-11-28): 83 of the 700 phone line crops (43 Phone A, 40 Phone B) have labels that do not match their pixels. A right-to-left text bug in the Word and Chrome source pages put punctuation next to list numbers and sentence-ending numbers on the wrong side. Version 2 of the captures dataset flags every affected crop; the model was trained on the first version. These weights are unchanged and have not been retrained, and the effect on recognition has not been measured.
Limits
- Modern printed Hebrew only. Pointed text, handwriting and old print are not in scope (see HeOCR P-hist MEASURED for old print).
- On phone photos of full pages, page-level noise (headers, margins, background) remains the main error source.
- Since 2026-11-28 it is the default Hebrew model of the
heocr0.3.0 command-line tool. Download it withheocr --download-model heocr_modern_measured; without it the tool warns and falls back to stock Tesseract.
Licence
Model tree for HeOCR/heocr-modern-measured
Base model
Rivok/tesseract-heb-rivok