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
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.
| Entry | Entry type | Framework | Resources | License | Browser evidence | Links |
|---|---|---|---|---|---|---|
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 / library | Tesseract / 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
Deployment variants
Performance and compatibility measurementsCompare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size. Not measured
| ||||||
EasyOCR.js runs CRAFT detection and gen2 recognition in the browser with ONNX Runtime. Tasks: OCR | Model | ONNX 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
Deployment variants
Performance and compatibility measurementsCompare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size. Not measured
| ||||||
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 | Model | ONNX 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
Deployment variants
Performance and compatibility measurementsCompare 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.