Nepali handwriting, read on your device.
Try sanoOCR सानो
Runs in your browserPhotograph a page. sanoOCR finds every line and reads it on your device.
Drop a page photo here
or paste, choose a file, or use your camera
Or try a handwritten page
Real phone photos from the Nepali Handwriting Dataset (NHD, CC0), plus one printed notice.
Ready. Models (3.5 MB) download on first use.
Runs entirely in your browser. Images never leave your device.
sanoOCR is Ampixa's small optical character recognizer for Nepali and English, built for handwriting. A line finder and a line reader, 873,889 parameters together, run on a CPU or entirely inside your browser. No server sees your page.
The tests below compare it with GLM-OCR, PaddleOCR-VL, Surya, Qwen3-VL, Indra OCR, PP-OCRv5 and Tesseract on the same items with one scorer, including where it loses.
From a photo to text.
Your browser decodes the photo, finds each line, puts the lines in reading order, straightens tilted lines and reads them one by one. The models run as ONNX through onnxruntime-web (WebAssembly), on up to four threads. The page and the Python release give identical text and boxes on 544 of 544 test lines.
What does Auto do?
On a handwritten photo the print line finder breaks the page into many word fragments, so it finds far more boxes than the handwriting line finder; on print it does not. Auto runs both line finders, and when they point to handwriting it reads the page both ways and keeps handwriting only if that recovers at least 80% as much text. On our checks Auto picked print for 436 of 437 Nepali and 297 of 299 English printed blocks and 28 of 28 printed pages and phone-style photos, and handwriting for 136 of 155 handwritten phone photos. If it guesses wrong, choose Print or Handwriting.
What did we build?
Two small networks trained from scratch. A line finder (59,746 parameters) marks the core of every text line; a CTC line reader (814,143 parameters, 191 characters: Devanagari, Latin, digits and punctuation) reads each line image. Handwriting mode uses its own line finder at a reduced scale. An optional character 7-gram language model (63 MB, a lookup table rather than a network) restores spaces and vowel signs on handwriting.
Training used synthetic lines from open fonts and Wikipedia text, Gorkhapatra newspaper lines, handwriting datasets with confirmed licences and DHCD digits. This is a research preview: handwriting results come from word images and one silver page set, not yet from a human-checked page benchmark.
Which tests are these?
Every system ran on the same items. One scorer counts character edits (CER) and word edits (WER) after Unicode NFC and collapsing whitespace; empty outputs count as errors. CER can exceed 100% when a system writes more wrong text than the reference contains.
| Test | Items | Source |
|---|---|---|
| Handwritten Devanagari words, IndicScan | 835 word images | CC BY 4.0; independent of sanoOCR training |
| Handwritten Nepali words, h1 | 871 word images | CC0; v0.2 practice data, training pages may overlap |
| Printed Nepali documents, Sarvam indic-ocr-bench | 437 text blocks | public benchmark, expert labels |
| Printed English documents, Sarvam indic-ocr-bench | 299 text blocks | public benchmark, expert labels |
Large vision-language models used their documented default prompts and greedy decoding. sanoOCR, Indra and Tesseract ran on a CPU; GLM-OCR, PaddleOCR-VL and Qwen3-VL on a Tesla T4. Parameter counts are read from the weights, not from announcements.
Can it read handwriting?
| System | Parameters | IndicScan CER % | h1 Nepali CER % |
|---|---|---|---|
| sanoOCR v0.2 | 0.87M | 15.4 | 13.6 |
| PP-OCRv5 Devanagari mobile | ≈2.0M | 25.1 | 40.7 |
| Surya 2 | 686M | 45.2 | 169.5 |
| Tesseract 4.1.1 | not counted | 83.3 | 80.6 |
| Indra OCR 1.1.2 | 3.6M | 96.4 | 81.3 |
| PaddleOCR-VL 1.6 | 906M | 110.9 | 143.1 |
| GLM-OCR | 1.1B | 124.3 | 137.9 |
CER %, lower is better. Word images; same items and scorer for every system.
The large models mostly answer in the wrong script (Bengali, Tibetan), in LaTeX, or loop. Upscaling the word images did not help GLM-OCR: on 200 enlarged h1 words it scored 121% against sanoOCR's 13.3%.
small enough to carry
And printed Nepali?
| System | Parameters | CER % | WER % |
|---|---|---|---|
| Tesseract 4.1.1 | not counted | 4.32 | 11.8 |
| sanoOCR v0.2 | 0.87M | 4.71 | 15.2 |
| PP-OCRv5 Devanagari mobile | ≈2.0M | 11.70 | 39.4 |
| Qwen3-VL-4B | 4.4B | 16.05 | 43.2 |
| Indra OCR 0.3.2 | 2.2M | 24.84 | 65.6 |
| PaddleOCR-VL 1.6 | 906M | 55.44 | 86.2 |
| GLM-OCR | 1.1B | 104.30 | 128.6 |
Sarvam indic-ocr-bench, 437 real Nepali document blocks. Lower is better.
Tesseract is slightly ahead (4.32% against 4.71%); block by block sanoOCR wins 192, Tesseract 167, and 78 tie. Every neural system we tested is behind sanoOCR, including models more than a thousand times its size. GLM-OCR wrote 128 of the 437 blocks in Bengali script.
Where sanoOCR loses
| System | Parameters | English print CER % |
|---|---|---|
| Qwen3-VL-4B | 4.4B | 1.24 |
| GLM-OCR | 1.1B | 1.43 |
| PaddleOCR-VL 1.6 | 906M | 1.49 |
| PP-OCRv5 Devanagari mobile | ≈2.0M | 3.86 |
| Tesseract 4.1.1 | not counted | 4.48 |
| Indra OCR 1.1.2 | 3.6M | 4.88 |
| sanoOCR v0.2 | 0.87M | 6.05 |
Sarvam indic-ocr-bench, 299 real English document blocks. Lower is better.
On English print the vision-language models are about four times more accurate than sanoOCR (6.05%), and Tesseract, PP-OCRv5 and Indra 1.1.2 are also ahead. English handwriting is not supported yet.
Full-page phone photos of real notebooks are still rough: on 40 NHD pages scored against unreviewed machine-drafted references, sanoOCR's CER is 29.6% (Indra 82.9%, Tesseract 86.2%). That set is silver, not claim-grade.
check what it read
How small is it?
| System | Parameters | Relative to sanoOCR |
|---|---|---|
| sanoOCR v0.2 | 873,889 | 1.0× |
| Indra OCR 0.3.2 | 2,194,533 | 2.5× |
| Indra OCR 1.1.2 | 3,607,673 | 4.1× |
| Surya 2 | 686,154,304 | 785.2× |
| PaddleOCR-VL 1.6 | 905,601,648 | 1,036.3× |
| GLM-OCR | 1,107,405,824 | 1,267.2× |
| Qwen3-VL-4B | 4,437,815,808 | 5,078.2× |
To read a page the browser downloads 18.6 MB (7.1 MB compressed): 3.5 MB of models and the WebAssembly runtime. The optional language model adds 63 MB, downloaded once. A 29-line handwritten page reads in about one second on an Apple-silicon laptop with four threads; phones are slower and have not been measured.
Where can I use it?
use sanoOCR for
- handwritten Nepali notes, forms and letters
- printed Nepali documents and notices
- offline or private reading on a phone or laptop
choose another tool for
- English print (large vision models are more accurate)
- English handwriting
- anything where every character must be exact without review
Try it above, or run the same files yourself: line reader, print line finder, handwriting line finder, character set, language model. The Hugging Face release with licence terms is being prepared.
If you use sanoOCR, distill it, evaluate on its outputs or build on it, name it properly: sanoOCR (Ampixa Labs), in your model card or documentation.
- Benchmarks: one comparison run on 2026-11-24 with identical items and one scorer (ocr-tech
score_blocks.corpus_metrics); per-system revisions, prompts and hardware are recorded with the results. - Parameters: counted from ONNX initializers, safetensors headers or the loaded model. GLM-OCR 1,107,405,824 as loaded; sanoOCR 873,889 (PyTorch count of the two networks).
- Browser parity and timing: 544 of 544 lines identical to the Python release on 11 test pages; the 29-line page timing is from Chrome on Apple silicon with the language model on.
- Auto mode: checked on the Sarvam blocks, 155 handwritten NHD photos and 28 printed pages and phone-style photos made from Sarvam reference text.
- Examples: phone photos from the Nepali Handwriting Dataset (NHD), S. Dahal et al., Kaggle, CC0. The printed notice is a generated page.
- Illustration: sanoOCR key art. The 0.87M label rounds the measured parameter count; the crossed-out GPU is symbolic.
