OpenThai 2.0 OCR in the browser

OpenThai 2.0 OCR is a new OCR model from iApp Technology that reads Thai and English, released on November 12, 2026. It is free-to-use1 and is only 4 MB large.

Using ONNX Runtime Web, we can run this model on the web browser. This demo lets you run OCR on an image. Everything happens on-device. Combined download size (model + runtime) is around 20 MB.

Image
The model loads when you give it an image.
Drop an image here, paste it (Ctrl/⌘ + V), or click to choose a file.

About this demo

  • Model used: iapp/OpenThai2.0-OCR-Text by iApp Technology, Apache-2.0.
    • It is based on PaddlePaddle PP-OCRv6-tiny.
  • Parts:
    • Text detector: det.onnx, for finding the text boxes
    • Line reader: rec.onnx, for reading each box
  • Guide: How to run OpenThai 2.0 OCR on iApp's blog.
  • Differences from official Python demo:
    • This demo is based on the model's Python runtime (runtime/line_engine.py).
    • It skips page rotation, deskewing and column-gap splitting, so tilted photos can come out worse than in the original.
  • Demo source code: See OpenThaiOCRWebDemo.md.

Footnotes

  1. It is Apache-2.0 licensed, so this model can be used for free even in commercial setting. ↩