Card: the OpenThai2.0 release is tagged v2.0.0 (was v1.0.0)
Browse files- README.md +6 -6
- SHA256SUMS +1 -1
README.md
CHANGED
|
@@ -17,7 +17,7 @@ pipeline_tag: image-to-text
|
|
| 17 |
|
| 18 |
# OpenThai2.1-OCR-Text-20261118
|
| 19 |
|
| 20 |
-
> **OpenThai2.1-OCR-Text-20261118, version 2.1.4 (18 November 2026).** This repository was named OpenThai2.0-OCR-Text; the old name redirects here. It keeps
|
| 21 |
|
| 22 |
**Fast Thai + English printed-text OCR that runs on a CPU.** It is the engine behind iApp Document OCR v3.0, released as open weights with its runtime, from OpenThai (formerly OpenThaiGPT). Developed by iApp, launched with AIEAT.
|
| 23 |
|
|
@@ -31,11 +31,11 @@ It reads a page image and returns its text in reading order, with a box and a co
|
|
| 31 |
|
| 32 |
## What is new in v2.1
|
| 33 |
|
| 34 |
-
**Thai old books keep their tone marks.** In letterpress books of the 1930s the tone marks and upper vowels float well above the consonants. The detector boxed each line without them and found the marks as separate small boxes, which were then dropped as junk, so the marks were never read. Black-and-white preprocessing could not bring them back. An outside tester found this on page 324 of a 1935 book (ตำหรับสายเยาวภา, archive.org `unset00002427`):
|
| 35 |
|
| 36 |
v2.1 attaches such mark boxes to their own line, grows the line's crop to take them in, and reads the line again:
|
| 37 |
|
| 38 |
-
| Test |
|
| 39 |
|---|---|---|
|
| 40 |
| The tester's page 324: character error rate | 21.5 % | **5.9 %** |
|
| 41 |
| Page 324: tone marks lost, of 159 | 128 | **23** |
|
|
@@ -102,7 +102,7 @@ Old books, court judgments and every other set are unchanged; the 1935 book is u
|
|
| 102 |
<tr><td><b>Base</b></td><td>PaddlePaddle PP-OCRv6-tiny: the detector as shipped, the recognizer fine-tuned from it with a new Thai output layer</td></tr>
|
| 103 |
<tr><td><b>Training data</b></td><td>410,270 real text lines (court scans, parliament budget PDFs, Wikisource old books) and synthetic lines</td></tr>
|
| 104 |
<tr><td><b>Licence</b></td><td>Apache-2.0</td></tr>
|
| 105 |
-
<tr><td><b>Version</b></td><td>v2.1.4, 18 November 2026 (tag <code>v2.1.4</code>):
|
| 106 |
</table>
|
| 107 |
|
| 108 |
## How it compares
|
|
@@ -115,7 +115,7 @@ The 12 printed sets: parliament budget documents and Royal Gazette pages (each a
|
|
| 115 |
| Engine | Average, 12 printed sets | Court judgments | Royal Gazette | Budget (verified) | Old books | ThaiOCRBench | Handwriting |
|
| 116 |
|---|---|---|---|---|---|---|---|
|
| 117 |
| **OpenThai2.1-OCR-Text-20261118 (v2.1.1)** | 88.2 | **97.0** | 96.3 | 99.6 | 78.8 | 83.8 | 10.3 |
|
| 118 |
-
| OpenThai2.0-OCR-Text (
|
| 119 |
| OpenThai2.0-OCR-Markdown (our page-to-Markdown model) | **90.3** | 96.2 | **98.0** | 98.2 | **79.7** | 90.6 | 78.9 |
|
| 120 |
| Typhoon OCR V2 2B | 89.6 | 96.2 | 94.6 | 97.3 | 77.2 | 87.3 | 76.7 |
|
| 121 |
| Typhoon OCR 1.5 2B | 87.5 | 92.4 | 92.5 | 97.2 | 78.6 | 71.4 | **94.5** |
|
|
@@ -131,7 +131,7 @@ The 12 printed sets: parliament budget documents and Royal Gazette pages (each a
|
|
| 131 |
| PaddleOCR-VL 1.6 | 72.4 | 80.8 | 79.7 | 70.3 | 57.6 | 68.2 | 13.4 |
|
| 132 |
| DeepSeek-OCR-2 | 69.0 | 92.8 | 84.7 | 91.4 | 55.2 | 77.5 | 3.9 |
|
| 133 |
|
| 134 |
-
**Bold** marks the best score in each column. The average is over the 12 printed sets listed above the table; handwriting is not in it. Against Typhoon OCR V2 2B, the paired 95% interval of the 12-set average difference is −1.37 [−3.33, +0.21] for v2.1.1, against −1.79 [−3.69, −0.23] for
|
| 135 |
<!-- END accuracy -->
|
| 136 |
|
| 137 |
## Speed
|
|
|
|
| 17 |
|
| 18 |
# OpenThai2.1-OCR-Text-20261118
|
| 19 |
|
| 20 |
+
> **OpenThai2.1-OCR-Text-20261118, version 2.1.4 (18 November 2026).** This repository was named OpenThai2.0-OCR-Text; the old name redirects here. It keeps v2.0.0's model files with a new runtime and, since 2.1.2, a second recognizer for loopless Thai fonts: it keeps the tone marks that float above the letters in old books, reads two- and three-column pages column by column, reads loopless fonts (Kanit, Prompt, Sukhumvit Set) without Latin look-alikes, keeps single-digit and single-letter table cells, and writes decimal points in amounts. v2.0.0 stays available with `revision="v2.0.0"`; pin `revision="v2.1.4"` to keep this version.
|
| 21 |
|
| 22 |
**Fast Thai + English printed-text OCR that runs on a CPU.** It is the engine behind iApp Document OCR v3.0, released as open weights with its runtime, from OpenThai (formerly OpenThaiGPT). Developed by iApp, launched with AIEAT.
|
| 23 |
|
|
|
|
| 31 |
|
| 32 |
## What is new in v2.1
|
| 33 |
|
| 34 |
+
**Thai old books keep their tone marks.** In letterpress books of the 1930s the tone marks and upper vowels float well above the consonants. The detector boxed each line without them and found the marks as separate small boxes, which were then dropped as junk, so the marks were never read. Black-and-white preprocessing could not bring them back. An outside tester found this on page 324 of a 1935 book (ตำหรับสายเยาวภา, archive.org `unset00002427`): v2.0.0 lost 128 of its 159 tone marks.
|
| 35 |
|
| 36 |
v2.1 attaches such mark boxes to their own line, grows the line's crop to take them in, and reads the line again:
|
| 37 |
|
| 38 |
+
| Test | v2.0.0 | **v2.1** |
|
| 39 |
|---|---|---|
|
| 40 |
| The tester's page 324: character error rate | 21.5 % | **5.9 %** |
|
| 41 |
| Page 324: tone marks lost, of 159 | 128 | **23** |
|
|
|
|
| 102 |
<tr><td><b>Base</b></td><td>PaddlePaddle PP-OCRv6-tiny: the detector as shipped, the recognizer fine-tuned from it with a new Thai output layer</td></tr>
|
| 103 |
<tr><td><b>Training data</b></td><td>410,270 real text lines (court scans, parliament budget PDFs, Wikisource old books) and synthetic lines</td></tr>
|
| 104 |
<tr><td><b>Licence</b></td><td>Apache-2.0</td></tr>
|
| 105 |
+
<tr><td><b>Version</b></td><td>v2.1.4, 18 November 2026 (tag <code>v2.1.4</code>): v2.0.0's model files, a new runtime and <code>rec2.onnx</code>; v2.0.0 stays under tag <code>v2.0.0</code></td></tr>
|
| 106 |
</table>
|
| 107 |
|
| 108 |
## How it compares
|
|
|
|
| 115 |
| Engine | Average, 12 printed sets | Court judgments | Royal Gazette | Budget (verified) | Old books | ThaiOCRBench | Handwriting |
|
| 116 |
|---|---|---|---|---|---|---|---|
|
| 117 |
| **OpenThai2.1-OCR-Text-20261118 (v2.1.1)** | 88.2 | **97.0** | 96.3 | 99.6 | 78.8 | 83.8 | 10.3 |
|
| 118 |
+
| OpenThai2.0-OCR-Text (v2.0.0) | 87.8 | **97.0** | 96.3 | 99.5 | 77.1 | 82.0 | 10.3 |
|
| 119 |
| OpenThai2.0-OCR-Markdown (our page-to-Markdown model) | **90.3** | 96.2 | **98.0** | 98.2 | **79.7** | 90.6 | 78.9 |
|
| 120 |
| Typhoon OCR V2 2B | 89.6 | 96.2 | 94.6 | 97.3 | 77.2 | 87.3 | 76.7 |
|
| 121 |
| Typhoon OCR 1.5 2B | 87.5 | 92.4 | 92.5 | 97.2 | 78.6 | 71.4 | **94.5** |
|
|
|
|
| 131 |
| PaddleOCR-VL 1.6 | 72.4 | 80.8 | 79.7 | 70.3 | 57.6 | 68.2 | 13.4 |
|
| 132 |
| DeepSeek-OCR-2 | 69.0 | 92.8 | 84.7 | 91.4 | 55.2 | 77.5 | 3.9 |
|
| 133 |
|
| 134 |
+
**Bold** marks the best score in each column. The average is over the 12 printed sets listed above the table; handwriting is not in it. Against Typhoon OCR V2 2B, the paired 95% interval of the 12-set average difference is −1.37 [−3.33, +0.21] for v2.1.1, against −1.79 [−3.69, −0.23] for v2.0.0. v2.1 was read on the same pages with the same scorer. The benchmark was read three times for this branch. The first version of the tone-mark change also altered digits on receipts and was fixed before the second read. A re-check of every dataset then found the list case, which was fixed as 2.1.1. The list rule was chosen on new synthetic dev pages, not on the benchmark (details in the release notes, `results/line-marks-20261115` in the source repository).
|
| 135 |
<!-- END accuracy -->
|
| 136 |
|
| 137 |
## Speed
|
SHA256SUMS
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
4c0e4f27877836de51e29aec3918b6c743c3028cd4163b6661fd540336db32b3 ./NOTICE
|
| 2 |
-
|
| 3 |
f5a38f5677784b10d4abcc2ad8a8b044826a8211bc51213b38c889ad792b417a ./config.json
|
| 4 |
193bab7a04fca699a6c82e6abb5b81bdb28177f0abd4062552b04908dafb19f8 ./det.onnx
|
| 5 |
3ac018be6f97499a08faa3bbdeb33640968d9307f6736d152902747a9f259593 ./det.yml
|
|
|
|
| 1 |
4c0e4f27877836de51e29aec3918b6c743c3028cd4163b6661fd540336db32b3 ./NOTICE
|
| 2 |
+
ac61da3e4df3737b724df55d43b1e0d5f97caa8404dc0c849632d492373f8de6 ./README.md
|
| 3 |
f5a38f5677784b10d4abcc2ad8a8b044826a8211bc51213b38c889ad792b417a ./config.json
|
| 4 |
193bab7a04fca699a6c82e6abb5b81bdb28177f0abd4062552b04908dafb19f8 ./det.onnx
|
| 5 |
3ac018be6f97499a08faa3bbdeb33640968d9307f6736d152902747a9f259593 ./det.yml
|