Model reference · open weights

OpenThai2.0-OCR-Text

LLMs iapp Image→text 1 build Open weights 1k dl/mo

OpenThai2.0-OCR-Text is an open-weight language model from iapp. OpenThai2.0-OCR-Text (BF16) weighs 2 MB; the smallest configuration that runs it is RTX 3060 12 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • OpenThai2.0-OCR-Text is an image-to-text model by iapp designed for fast OCR of printed Thai and English documents on CPUs.
  • It uses a PP-OCRv6-tiny detector and a custom Thai CTC recognizer to extract text in reading order with line-level confidence scores.
  • The model is licensed under Apache-2.0 and processes dense A4 pages in about 0.5 CPU seconds.

Summary of the iapp/OpenThai2.0-OCR-Text model card, 2026-11-14

What it is

Released byiapp
Released2026-10-02
VRAM2 MB for the weights

What it runs on

Memory and cards for OpenThai2.0-OCR-Text (BF16)

2 MBweights, file size
762 MBruntime overhead, at least

How much memory each request adds isn't estimated yet for this architecture. The weights need at least the cards below, plus room for the context.

CardWeights alone
RTX 3060 12 GBfits
RTX 4060 Ti 16 GBfits
RTX 3090 24 GBfits
RTX 4090 24 GBfits
RTX 5090 32 GBfits
L40S 48 GBfits
A100 80 GBfits
H100 80 GBfits
RTX PRO 6000 Blackwell 96 GBfits
DGX Spark (GB10) 128 GB unifiedfits
H200 141 GBfits
B200 180 GBfits

From the model card

What iapp says about OpenThai2.0-OCR-Text

Read the model card

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.

  • Detector: PP-OCRv6-tiny (1.8 MB).
  • Recognizer: a Thai CTC line recognizer trained by iApp (2.4 MB).
  • Runtime: ONNX models on OpenVINO (or ONNX Runtime), CPU only. About 0.5 CPU-seconds per dense A4 page, roughly 950 pages a minute on 8 Xeon cores.

It reads a page image and returns its text in reading order, with a box and a confidence for every line. It does not write tables or Markdown; for that, see OpenThai2.0-OCR-Markdown.

Step-by-step guide for Windows, Mac and Linux (installing Python, reading pictures and PDFs, a ready script): English · ภาษาไทย · 中文

Model at a glance

How it compares

Every engine read the same pages and was scored the same way. The score is character accuracy, 100 × (1 − CER), so higher is better, against checked gold, after markup is stripped from both sides; reading order counts. A page an engine fails on counts as empty.

The 12 printed sets: parliament budget documents and Royal Gazette pages (each as a hand-verified set and as a larger set), SEA-DocBench Thai, Wikisource old books, Administrative Court judgments (50 documents), ThaiOCRBench full pages, th-docs-tables text-only pages, and three OCR104 sets (document crops, Thai+English crops, document photos). The table shows six of them, with handwriting, which is not in the average.

EngineAverage, 12 printed setsCourt judgmentsRoyal GazetteBudget (verified)Old booksThaiOCRBenchHandwriting
OpenThai2.0-OCR-Text (this model)87.897.096.399.577.182.010.3
OpenThai2.0-OCR-Markdown (our page-to-Markdown model)90.396.298.098.279.790.678.9
Typhoon OCR V2 2B89.696.294.697.377.287.376.7
Typhoon OCR 1.5 2B87.592.492.597.278.671.494.5
Gemini 2.5 Flash87.194.792.681.077.988.886.7
dots.mocr86.496.393.199.576.378.839.4
OneOCR (Microsoft, Windows)85.095.196.699.878.681.891.0
Google Cloud Vision83.693.987.875.073.685.660.8
PaddleOCR 3 PP-OCRv5 (th)81.190.482.993.155.575.841.6
Qwen3.5-9B80.134.588.291.868.582.054.1
NVIDIA Nemotron 3.5 Parse (default: boxes, classes, Markdown)89.096.992.298.976.992.057.3
NVIDIA Nemotron 3.5 Parse (plain-text prompt)77.382.978.883.071.784.741.1
Tesseract 5 (tha+eng)75.471.782.371.352.275.026.4
PaddleOCR-VL 1.672.480.879.770.357.668.213.4
DeepSeek-OCR-269.092.884.791.455.277.53.9

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.

Speed

EngineRuns onSeconds per pageCPU seconds per page
OpenThai2.0-OCR-Text (this model)CPU0.390.504
OpenThai2.0-OCR-Markdown (our page-to-Markdown model) ‡GPU (H100)2.97—
Typhoon OCR V2 2B †GPU (H100)16.72—
Typhoon OCR 1.5 2BGPU (H100)2.79—
Gemini 2.5 FlashAPI3.33—
dots.mocrGPU (H100)4.78—
OneOCR (Microsoft, Windows)CPU0.722.22
Google Cloud VisionAPI0.99—
PaddleOCR 3 PP-OCRv5 (th)CPU15.2016.291
Qwen3.5-9BGPU (H100)3.81—
NVIDIA Nemotron 3.5 Parse (default: boxes, classes, Markdown) ‡GPU (H100)3.04—
NVIDIA Nemotron 3.5 Parse (plain-text prompt) ‡GPU (H100)3.99—
Tesseract 5 (tha+eng)CPU1.401.662
PaddleOCR-VL 1.6 §GPU (H100)1.71—
DeepSeek-OCR-2GPU (H100)1.81—

Bold marks the fastest in each column.

One page at a time, the engine alone on its GPU or API. Most engines read the same 24 printed pages from the sets above. ‡ Nemotron 3.5 Parse and OpenThai2.0-OCR-Markdown: 24 court-judgment pages (full A4 pages of dense text). † Typhoon OCR V2 2B: the 65 th-docs-tables pages, served with --enforce-eager, which it needs on our vLLM version. § PaddleOCR-VL 1.6: every sample page, one at a time. CPU seconds are one single-threaded worker on an Intel Xeon 8468 core; at 0.504 CPU seconds a page, this model reads about 950 pages a minute on 8 cores. On shorter pages the GPU models are faster: OpenThai2.0-OCR-Markdown's own card gives 1.6 s a page, the median of 12 table pages.

Use

The guide above walks through installation on Windows, Mac and Linux, with a script for pictures and PDFs: English · ภาษาไทย · 中文. The minimal use:

from runtime.line_engine import LineOCR      # needs openvino (or onnxruntime), opencv-python-headless, pyclipper, numpy

ocr = LineOCR(".", threads=1)                # this folder: det.onnx, rec.onnx, rec_dict.txt, config.json
r = ocr.read("page.png")                     # path, bytes, BGR ndarray or PIL image
print(r["text"])                             # lines in reading order (columns one after another)
r["lines"]                                   # [{"text", "confidence", "row", "box"}]; boxes in the input image's coordinates
r["rotation"], r["text_angle"]               # quarter turns applied (0/90/180/270) and the page's text angle in degrees

For throughput, run one worker process per core with threads=1. Threads in one process stop scaling at about 2 cores, because the Python parts hold the GIL.

What the runtime handles

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

How it works

How language models work

Your prompttext / messagesTransformerattention over tokensNext-token loopgenerate + streamResponsetext · tool callsA language model reads your tokens and predicts the next one, again and again, streaming the reply back.
© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms