Accuracy
Measured, not claimed.
We test on public-domain documents, forms, phone photos and handwritten archives the models never saw in training, and run other engines on exactly the same files, scored the same way. This page shows where Glyphwise leads and where it does not. The page, photo and handwriting comparisons were measured with the 1.2 reading model; the 1.4 model, trained further on documents in 28 languages, reads the same English pages within 0.4 points of word accuracy.
Character errors on government documents
2,000 lines from 8 held-out documents. Shorter is better.
About four times fewer wrong characters on the same lines.
Full pages
Words missed or misread, page by page.
Pages rendered at 300 dpi; the PDF's own text is the ground truth. The bars show 100 minus the word F1 score, on the same scale in every chart.
38 pages, forms included
Federal Register, IRS forms, a NIST report.
Same pages, letters and digits only
Leaves out punctuation, dot leaders and form rules: the closer contest.
Second page set
53 pages from 27 other held-out documents.
Phone photos of the 38 pages
At an angle, in uneven light, slightly blurred.
Damaged pages
Bad scans, measured one kind of damage at a time.
The 53-page set again, each page copied with one kind of damage and read by the 1.2 download. Shorter is better.
Words missed or misread (100 − word F1)
53 pages per row. Bars end at 15%.
Turned and shadowed pages read exactly like the clean ones. Very low resolution and heavy noise are the real limits: scan at 200–300 dpi where you can.
What cleanup is worth
The same damaged pages, with cleanup switched off.
Glyphwise repairs every page before reading it. Switching that step off
(--no-prepare) shows what it does. Longer is better.
Words found (word F1), 53 pages each
- Tilted 15°97.3%3.2%
- Turned 90°97.8%2.9%
- Upside down97.8%7.8%
- Photo at an angle94.2%83.6%
- Shadow97.8%90.7%
- Speckle noise89.0%62.0%
Ordinary upright scans pass through cleanup untouched, so it costs nothing on good pages. See each repair, before and after.
Handwriting
Where Glyphwise does not lead.
TrOCR, a 560-million-parameter transformer that needs a graphics card, reads modern handwriting markedly better and old manuscripts slightly better. Glyphwise runs on an ordinary processor with its handwriting model, used automatically by the desktop window.
18th–19th century manuscripts
Bentham papers, 424 lines. Character errors; shorter is better.
Modern handwriting, phone photos
GNHK notes and forms, 300 lines. Character errors; shorter is better.
Glyphwise skipped a few lines it could not read (6 of 424 and 11 of 300), which flatters it a little.
Fast or accurate
Two models in every download.
The fast model is the default. The accurate one (--accurate, the desktop
Model choice, ?mode=accurate) reads difficult lines better, also reads Chinese, and takes
about three times as long. Measured with the 1.5 download.
Character errors per mode
With each language model. Shorter is better; bars end at 50%.
- Printed lines
2,023 lines0.33%0.19% - Old manuscripts
852 Bentham lines13.0%11.6% - Modern handwriting
GNHK, 2,091 lines45.9%44.4%
Printed lines: two fifths fewer errors (0.33% to 0.19%). The accurate model also finds more words on damaged pages (speckle noise 91.5% to 93.2%, phone photos 97.1% to 97.4%) and reads Chinese. On handwriting the 1.4 accurate model was better (10.4% and 41.7%); the desktop window adds the handwriting model to the fast one, which brings the manuscripts to 10.9%.
Time per page
The 38 pages as one batch, processor only, an 8-core laptop, 1.5 models. Shorter is better.
With an NVIDIA card: 0.56 s and 1.79 s. Single pages, threads, memory and Tesseract's times are on the Speed page.
Languages
28 Latin-alphabet languages, each with its own model.
Character errors on 500 lines per language from five held-out official legal texts (for the EU
languages, five EU regulations and directives published in every EU language), each read with its language's
own model. Pick one with --lang, per request in the HTTP service, in the demo, or let Glyphwise
choose per page.
The first seven: 1.2, then 1.4
- English0.22%0.21%
- French try0.91%0.82%
- German try0.24%0.16%
- Spanish try0.44%0.23%
- Italian try0.64%0.60%
- Portuguese try0.54%0.17%
- Dutch try0.15%0.15%
Fifteen more EU languages (models since 1.2.2): 1.2, then 1.4, own scale
- Polish try1.23%0.19%
- Czech try0.88%0.33%
- Slovak try1.61%0.33%
- Hungarian try0.13%0.06%
- Swedish try0.61%0.35%
- Danish try0.85%0.16%
- Finnish try0.54%0.38%
- Estonian try0.46%0.32%
- Latvian try4.07%0.24%
- Lithuanian try1.30%0.28%
- Slovenian try0.22%0.16%
- Croatian try0.47%0.14%
- Romanian try1.22%0.26%
- Maltese try2.56%0.88%
- Irish try0.22%0.11%
New in 1.4: Turkish, Norwegian, Icelandic, Catalan, Galician, Welsh
- Turkish try1.47%0.34%
- Norwegian try0.41%0.31%
- Icelandic try1.14%1.08%
- Catalan try1.07%0.88%
- Galician try0.94%0.67%
- Welsh try0.95%0.95%
Test lines from laws and gazettes of Turkey, Norway, Iceland, Spain (Catalan and Galician
editions) and Wales, none used in training. Every row uses the same language model for both readings.
Sources: EUR-Lex, © European Union; Resmî Gazete; Storting; Stjórnartíðindi;
Agencia Estatal Boletín Oficial del Estado; legislation.gov.uk (Open Government Licence v3.0). Other
Latin-alphabet languages can be read with --lang none.
All results
Every number in one table.
| Test set | Measure | Glyphwise | Tesseract 5.4 | PaddleOCR 3.7 | TrOCR large |
|---|---|---|---|---|---|
| Government documents2,000 lines from 8 held-out documents | character errors | 0.33% | 1.47% | — | —1 |
| Full pages, forms included38 pages: Federal Register, IRS forms, NIST report | words found (F1) | 97.9% | 94.1% | 94.4% | — |
| Same pages, words with a letter or digitleaves out punctuation, dot leaders and form rules | words found (F1) | 98.4% | 97.7% | 98.0% | — |
| Second page set53 pages from 27 other held-out documents | words found (F1) | 97.7% | 94.0% | — | — |
| Phone photos of pagesthe 38 pages photographed at an angle, in uneven light, slightly blurred | words found (F1) | 96.8% | 90.9% | — | — |
| Handwritten manuscriptsBentham papers, 18th–19th century, 424 lines; Glyphwise with its handwriting model | character errors | 13.0% | 74.6% | — | 12.7% |
| Modern handwriting, phone photosGNHK notes and forms, 300 lines; Glyphwise with its handwriting model | character errors | 43.0% | 71.1% | — | 32.2% |
| Speedthe 38 pages above as one batch, 8-core laptop with an NVIDIA GPU; Glyphwise on the processor alone: 23 s; Tesseract one page at a time: 98 s (Speed) | total time | 21 s | 15 s3 | —2 | — |
Lower is better for errors, higher for words found. Every engine ran with its standard English model, as a separate program on the same files, and was scored the same way (— = not run on that set). Glyphwise numbers are for the model that ships with the product.
Words found counts every word the page's text layer holds; much of the full-page lead comes from punctuation, dot leaders and form labels the other engines often leave out, so the row with letters and digits only is the closer contest. The photo copies are generated from the test pages, so their ground truth is exact.
1 TrOCR's printed-text model writes capital letters only, so it is not scored on documents. 2 PaddleOCR ran on the processor only, where it took minutes per page. 3 16 copies of Tesseract side by side, one thread each.
Test it on your own pages.
Your documents are the only benchmark that counts.