Illustration: in a busy Nepali ward office an old laptop reads a notice line by line, a tiny 0.87M chip wears a crown, and a GPU tower is crossed out.
// handwriting ocr · sanoOCR सानो

Nepali handwriting, read on your device.

Try sanoOCR सानो

Runs in your browser

Photograph 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.

Find lines–
Read–
Lines–
Mode used–

Ready. Models (3.5 MB) download on first use.

    Runs entirely in your browser. Images never leave your device.

    873,889parameters · line finder + line readerReceipt
    15.4%CER on handwritten Devanagari words · large models 45–124%Receipt
    4.71%CER on real printed Nepali documents · Sarvam benchmarkReceipt
    1,267×smaller than GLM-OCR · same handwriting test, 8× lower errorReceipt

    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.

    Photo Line finder59,746 params Reading order Line reader814,143 params 7-gram LM Text optional, 63 MB
    Line finder and line reader are the two networks. The character language model is optional.
    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.

    TestItemsSource
    Handwritten Devanagari words, IndicScan835 word imagesCC BY 4.0; independent of sanoOCR training
    Handwritten Nepali words, h1871 word imagesCC0; v0.2 practice data, training pages may overlap
    Printed Nepali documents, Sarvam indic-ocr-bench437 text blockspublic benchmark, expert labels
    Printed English documents, Sarvam indic-ocr-bench299 text blockspublic 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?

    SystemParametersIndicScan CER %h1 Nepali CER %
    sanoOCR v0.20.87M15.413.6
    PP-OCRv5 Devanagari mobile≈2.0M25.140.7
    Surya 2686M45.2169.5
    Tesseract 4.1.1not counted83.380.6
    Indra OCR 1.1.23.6M96.481.3
    PaddleOCR-VL 1.6906M110.9143.1
    GLM-OCR1.1B124.3137.9

    CER %, lower is better. Word images; same items and scorer for every system.

    Handwritten Devanagari words (IndicScan, 835), CER %, lower is bettersanoOCR v0.215.4PP-OCRv5 Devanagari mobile25.1Surya 245.2Tesseract 4.1.183.3Indra OCR 1.1.296.4PaddleOCR-VL 1.6110.9 ›GLM-OCR124.3 ›Handwritten Devanagari words (IndicScan, 835), CER %, lower is bettersanoOCR v0.215.4PP-OCRv5 Devanagari mobile25.1Surya 245.2Tesseract 4.1.183.3Indra OCR 1.1.296.4PaddleOCR-VL 1.6110.9 ›GLM-OCR124.3 ›
    Same 835 word images and one scorer for every system. Bars are cut at 100%; a CER above 100% means more wrong characters than the word has.

    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?

    SystemParametersCER %WER %
    Tesseract 4.1.1not counted4.3211.8
    sanoOCR v0.20.87M4.7115.2
    PP-OCRv5 Devanagari mobile≈2.0M11.7039.4
    Qwen3-VL-4B4.4B16.0543.2
    Indra OCR 0.3.22.2M24.8465.6
    PaddleOCR-VL 1.6906M55.4486.2
    GLM-OCR1.1B104.30128.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

    SystemParametersEnglish print CER %
    Qwen3-VL-4B4.4B1.24
    GLM-OCR1.1B1.43
    PaddleOCR-VL 1.6906M1.49
    PP-OCRv5 Devanagari mobile≈2.0M3.86
    Tesseract 4.1.1not counted4.48
    Indra OCR 1.1.23.6M4.88
    sanoOCR v0.20.87M6.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?

    SystemParametersRelative to sanoOCR
    sanoOCR v0.2873,8891.0×
    Indra OCR 0.3.22,194,5332.5×
    Indra OCR 1.1.23,607,6734.1×
    Surya 2686,154,304785.2×
    PaddleOCR-VL 1.6905,601,6481,036.3×
    GLM-OCR1,107,405,8241,267.2×
    Qwen3-VL-4B4,437,815,8085,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.

    // receipts · every measured number
    • 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.