Skip to content
WebAI

vision / ocr

OCR

Reads text out of images and screenshots. Browser OCR is a pipeline, not one model: detection, cropping and recognition are separate stages, and language packs are downloaded per script, so the first run for a new language is not free.

3 entries

Open demo →

Catalog comparison

Entries include models, tools and applications. An upstream example documents a browser integration, not a test on your device. Missing versions, measurements and licenses remain unverified. Historical estimates are not benchmark results.

Catalog comparison
EntryEntry typeFrameworkResourcesLicenseBrowser evidenceLinks

Tesseract.js

Browser/Node.js OCR library wrapping Tesseract via WebAssembly. Language data is downloaded separately; PDF pages must first be converted to images.

Tasks: OCR

Tool / libraryTesseract / WebAssembly

Download size: Historical estimate: ~2 MB (core) + lang data (unverified)

Code license: Apache-2.0

Weight license: Not verified

Upstream browser example

Reference ↗

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
Not verified
Natural languages
100+ languages
Programming languages
Not specified
Other reported capabilities
Not specified
Package
tesseract.js
Runtime version
tesseract.js@7.0.0
Execution backend
Not verified
Code license
Apache-2.0
Weight license
Not verified

Deployment variants

Unspecified variant
Download size: Historical estimate: ~2 MB (core) + lang data (unverified)
Peak runtime memory: Not measured
Quantization / precision: Not verified
Weight revision: Not verified

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

EasyOCR (ONNX)

EasyOCR.js runs CRAFT detection and gen2 recognition in the browser with ONNX Runtime.

Tasks: OCR

ModelONNX Runtime Web

Download size: Historical estimate: ~105 MB (CRAFT + Chinese recognizer) (unverified)

Code license: Apache-2.0

Weight license: Not verified

Upstream browser example

Reference ↗

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
Not verified
Natural languages
80+ languages
Programming languages
Not specified
Other reported capabilities
Not specified
Package
@qduc/easyocr-web
Runtime version
@qduc/easyocr-web@0.1.3
Execution backend
Not verified
Code license
Apache-2.0
Weight license
Not verified
Legacy license label (unverified)
Apache-2.0

Deployment variants

Unspecified variant
Download size: Historical estimate: ~105 MB (CRAFT + Chinese recognizer) (unverified)
Peak runtime memory: Not measured
Quantization / precision: Not verified
Weight revision: Not verified

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

PaddleOCR PP-OCRv5 Mobile

The PP-OCRv5 mobile detection and recognition pair run through PaddleOCR.js. Both archives are small enough to self-host, which is what removes the runtime dependency on a third-party model host.

Tasks: OCR

ModelONNX Runtime Web

detection: 4.6 MiB

recognition: 15.9 MiB

Code license: Apache-2.0

Weight license: Apache-2.0

Upstream browser example

Reference ↗

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
Not verified
Natural languages
80+ languages
Programming languages
Not specified
Other reported capabilities
Text detection, Text recognition, Chinese, English
Package
@paddleocr/paddleocr-js
Runtime version
@paddleocr/paddleocr-js@0.4.2
Execution backend
wasm
Code license
Apache-2.0
Weight license
Apache-2.0
Legacy license label (unverified)
Apache-2.0

Deployment variants

detection
Download size: 4.6 MiB
Peak runtime memory: Not measured
Quantization / precision: Not verified
Weight revision: Not verified
Weight artifact ↗
recognition
Download size: 15.9 MiB
Peak runtime memory: Not measured
Quantization / precision: Not verified
Weight revision: Not verified
Weight artifact ↗

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

Application workflows

About OCR

OCR under Vision holds 3 catalogue entries: 2 models, 1 tools or libraries.

3 of them carry browser evidence, all from upstream browser examples.

The usual pattern for this task is to load quantised weights (ONNX, TFLite or a MediaPipe asset bundle) into the page, hand them to ONNX Runtime Web and Tesseract / WebAssembly, and accelerate with WebGPU or WebAssembly. What decides the experience is weight size, peak memory and decoding path — not the parameter count.

To see the output first, open the interactive demo for this task: switch models, edit the sample input and compare results on one page. Every demo states whether it is running real weights or a deterministic simulator.

At a glance

Entries
3 in total
Main runtime
ONNX Runtime Web and Tesseract / WebAssembly
Smallest known weights
20.5 MiB
Browser evidence
3 of 3 verified

OCR: common questions

Can OCR run directly in a browser?
Yes. 3 entries already carry browser evidence (tested here or an upstream example), so the approach works; whether it runs smoothly on your device depends on weight size, browser version and whether WebGPU is enabled.
How large is the model for OCR?
The smallest weight on record here is 20.5 MiB; the other entries in this task have no verified size yet. Browser builds usually ship int8 or 4-bit quantised variants, downloaded once and reused from the HTTP cache or Cache Storage.
Which devices suit OCR?
Any modern browser with WebAssembly is a starting point, and WebGPU usually makes it faster. Phones are tighter on memory, so run the demo once on the target device before deciding.
Does running a model here upload my data?
The demos on this site infer inside the tab, so inputs never reach a server. Weights and runtimes are fetched from a CDN on first use and then served from the browser cache.

Other tasks in this category

Browse all Vision models →