1.162 Handwriting Recognition (CJK)#
Online (stroke-based) and offline (image-based) handwriting recognition for Chinese, Japanese and Korean: open-source engines, on-device and hosted services, and image recognizers, run on Linux aarch64 against synthetic strokes (Japanese and Chinese stroke forms) and a small real handwriting set
Last verified 2026-11-05: measured.
Evidence: measured, method not yet published. The numbers here were produced by probes run on a stated machine; the harness is not in the public repository yet, so a reader cannot re-run them.
At a glance#
Findings checked against this survey’s current text on 2026-11-05.
What this survey compared
Zinnia, Tegaki (Python framework and models), hanzi_lookup, Google ML Kit Digital Ink Recognition, Google Cloud Vision, Azure Vision, EasyOCR, manga-ocr, RapidOCR, Tesseract
What the research found
- No labeled set of modern CJK handwriting with an open license was found, so no engine’s accuracy on people is established — CASIA-HWDB is research-only and charged for commercial use. The runs used synthetic strokes and one small set of pre-modern hiragana, and say so.
- Every stroke engine tested loses between 19 and 26 points of top-1 when two adjacent strokes are written in the wrong order — Zinnia fell from 85.9 to 67.1 on Japanese kanji and from 76.1 to 56.2 on Chinese forms; hanzi_lookup from 63.5 to 39.0 on KanjiVG strokes for Chinese characters (synthetic strokes, measured 2026-11-05).
- Zinnia with the Tegaki models is still the working open-source stroke engine, but its Japanese model holds only 52 kana — 46 basic hiragana and 6 katakana, no small or voiced hiragana. It ran from the distro package and from source with identical scores; the engine’s last commit is from 2016 and the model files are dated 2009.
- hanzi_lookup is competitive on clean strokes and fails on unsmoothed point noise — On KanjiVG strokes for Chinese characters top-1 was 71.2 percent at noise spread 0.1, 45.8 at 0.2 and 0.0 at 0.5; Zinnia stayed between 67.5 and 75.2 (synthetic strokes, measured 2026-11-05).
- The Tegaki name covers two unrelated projects, and only one recognizes handwriting — The recognition framework cannot recognize anything on a current system; the npm package of the same name is a handwriting animation library.
Explainer
What Is Handwriting Recognition for Chinese, Japanese and Korean?#
Software that turns characters written by hand into character codes, either from the pen strokes as they are drawn or from a picture of the finished writing.
Executive Summary#
Chinese, Japanese and Korean (CJK) writing uses thousands of characters, which is why handwriting is a practical way to enter text on a phone or tablet, look up an unknown character, or practice writing. Recognizers come in two kinds that should not be mixed up. Online (stroke-based) recognizers receive the order, direction and shape of each stroke. Offline (image-based) recognizers receive only a picture. The online kind can use stroke order and can also be defeated by it; the offline kind is closer to optical character recognition (OCR).
What Makes It Hard#
- Many classes. Thousands of characters in everyday use, with look-alikes that differ by a dot or a stroke length, such as 土 and 士.
- Stroke order and count. Online engines are trained on one common order. In this survey’s test, exchanging two adjacent strokes cost each stroke engine 19 to 26 points of top-1 accuracy.
- Writer variation. Cursive joins strokes, shapes drift from the printed form, and learners write differently from adults who have written all their lives.
- Few open datasets. The standard Chinese handwriting databases are released for academic research only, with commercial use charged. The result is that open evidence on how well any engine reads people is thin.
The Approaches#
| Approach | Input | Examples | Notes |
|---|---|---|---|
| Statistical stroke model | Strokes | Zinnia with Tegaki models | Small C library; the model files in Ubuntu are dated 2009 |
| Stroke matching against references | Strokes | hanzi_lookup, HanziLookupJS | Compares simplified sub-strokes with stored references |
| On-device vendor recognizer | Strokes | Google’s machine learning (ML) toolkit, ML Kit Digital Ink Recognition | Mobile only; language models downloaded on demand |
| Image models | Picture | EasyOCR, RapidOCR, manga-ocr, Tesseract | General text readers; not built for isolated handwritten characters |
| Hosted OCR | Picture | Google Cloud Vision, Azure Vision, Tencent Cloud OCR | Per-call pricing; handwriting language lists differ by vendor |
Where It Is Used#
Input method editors (IMEs) on touch devices, dictionary lookups where the reader cannot type the character, writing practice in language-learning apps, and digitizing handwritten forms and notes. The first three use strokes because a screen provides them; the last works from pictures because a page does not.
Reading Accuracy Claims#
Figures for “accuracy” are rarely comparable: the test set, the writers, the script and the scoring all change the number. A figure on synthetic strokes or on printed-looking characters says little about people’s handwriting, and the standard Chinese handwriting databases that would settle it are released for research only.
Related Surveys#
Printed-text OCR for CJK is 1.166. Character encodings are 1.163. Tokenization for language models is 1.033.3.
S1: Rapid Discovery
The Category: Strokes Versus Pictures, and Who Runs the Model#
Handwriting recognition for Chinese, Japanese and Korean turns what a person wrote into character codes. The category splits first by what the recognizer is given, because that decides almost everything downstream.
| Input | What the recognizer sees | Typical job | Group | File |
|---|---|---|---|---|
| Online (stroke-based) | Ordered strokes of points, as a pen or finger draws them | Input method, character lookup, writing practice | Stroke engines | open-source-engines.md |
| Online, vendor SDK or OS feature | The same strokes, through a platform API | Keyboards, note apps, tablet input | Platform recognizers | cloud-and-os-services.md |
| Offline (image-based) | A picture of the finished writing | Forms, notes, scanned pages | Image recognizers | image-recognizers.md |
| Offline, hosted | A picture sent to a vendor’s cloud | Same, at volume, with no model to run | Hosted OCR | cloud-and-os-services.md |
Stroke order and stroke count are information that a picture throws away. An online engine can use them; it can also be defeated by them, because a writer who draws the strokes in a different order sends a different sequence. Section S2 measures how much that matters.
What is in the sample#
The sample is what turned up on 2026-11-05 from PyPI, the package archive of Ubuntu 24.04, GitHub and the vendors’ own documentation pages, searching for handwriting recognition of CJK text in both modes. It is not a census. Entries are profiled at the level their form allows: open-source engines were fetched at pinned commits or package versions and run on this machine; vendor services were read from their documentation and were not called, because none could be used without an account and payment.
| Count | Value |
|---|---|
| Open-source stroke engines fetched and run | 2 (Zinnia, hanzi_lookup) |
| Open-source stroke framework fetched and installed, could not recognize | 1 (Tegaki) |
| Open-source image recognizers run | 4 (EasyOCR, manga-ocr, RapidOCR, Tesseract) |
| Vendor services read, not run | 4 (Google ML Kit, Google Cloud Vision, Azure Vision, Tencent Cloud OCR); Apple Vision attempted, page body not retrievable |
Counted by the harness in harness/1-162-handwriting-recognition-cjk/ (measured 2026-11-05).
Boundaries#
Reading printed CJK text from scans and screenshots is survey 1.166. Character encodings are 1.163. This survey includes an image recognizer only for what it does with handwriting. Segmenting a page into lines and words, and the language models that post-correct a recognizer’s output, are mentioned where they decide an outcome and are otherwise left out.
How the sample was read#
A package is read by its registry record and repository, a service by its documentation page and that page’s date, and an engine by running it. Where a page did not say, the survey says so. Several vendor pages describe handwriting for Japanese and Korean in terms the same page does not repeat for Chinese; those gaps are reported as gaps.
Vendor Services and Platform Recognizers#
None of these was called; each was read from the vendor’s documentation on 2026-11-05. They split into two jobs: stroke recognition that runs on a device, and image recognition that runs in a vendor’s cloud or container.
On-device stroke recognition#
Google ML Kit Digital Ink Recognition takes strokes and recognizes them on the phone with no network connection.
It covers Android and iOS, advertises more than 300 languages across 25 writing systems, and downloads a language model on
demand, about 20 MB of storage per language (source: https://developers.google.com/ml-kit/vision/digital-ink-recognition
and its Android page, accessed 2026-11-05). Its model list has Japanese (ja), Korean (ko) and Chinese under the Han
script code zh-Hani, with variants for China, Hong Kong and Taiwan, each with a matching gesture classifier (source: the
base-models page of the same documentation, accessed 2026-11-05). The pages read stated no price and no license terms for
the downloaded models, so those are open.
It runs only in mobile apps; there is no desktop or server build to try from a command line, which is why it is read and not run. Windows ink recognizers and the handwriting panels in iOS, Android keyboards and Samsung devices exist as operating-system features and were not read.
Hosted image recognition#
Google Cloud Vision reads handwriting through the document text feature (DOCUMENT_TEXT_DETECTION) and prices it at that
feature’s rate (source: https://docs.cloud.google.com/vision/docs/handwriting, accessed 2026-11-05). The product’s language
page lists Japanese and Korean scripts as supported for handwriting and Chinese (the Han script) as experimental (source:
https://docs.cloud.google.com/vision/docs/languages, accessed 2026-11-05). The page lists scripts and says nothing about
accuracy.
Azure Vision, now documented as “Azure Vision in Foundry Tools”, reads handwriting with its Read model. The language page, updated 2026-10-19, lists handwritten support for Chinese Simplified, Japanese and Korean, plus English, French, German, Italian, Portuguese and Spanish. Chinese Traditional appears in the printed-text list and not in the handwritten one (source: https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/language-support, accessed 2026-11-05). Read also ships as a Docker container (the 3.2 GA model dated 2022-04-30) for on-premises hosts, which Microsoft’s page describes as x64 machines with AVX2 support (source: https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/computer-vision-how-to-install-containers, accessed 2026-11-05). That container page lists 164 languages and does not give a handwriting language list for it.
Tencent Cloud OCR documents General Text OCR with per-call prices on its international page (updated 2026-10-29). A separate handwriting recognition product was not on the page read, so its existence, price and languages are not established here. Baidu and Alibaba offer comparable OCR products; their pages were not retrieved.
Apple Vision (text recognition in images on Apple platforms): Apple’s own documentation page could not be read. The page returned only its title, so nothing is claimed about its languages or handwriting support. Third-party forum posts describe Chinese and Korean support and changing Japanese support between revisions; those are not treated as evidence here.
Prices, free tiers, containers and where the data goes#
| Service | Price per 1,000 | Free tier | Self-hosted option | Where the writing goes |
|---|---|---|---|---|
| ML Kit Digital Ink | Not found | Not found | Is on-device | Stays on the device; the overview says it works fully offline (read) |
| Google Cloud Vision | Pricing page returned only its title; unread | Unread | Not found | Sent to Google (hosted API) |
| Azure Vision Read | Pricing page shows $- placeholders for the standard tier; unread | 5,000 transactions per month at 20 per minute on the free plan (source: Azure pricing page, accessed 2026-11-05) | Connected container, and a disconnected container by application and commitment plan (same page) | Hosted: sent to Azure. Container: Microsoft states images and text are not sent to it; usage is metered online |
| Tencent Cloud OCR | General Text OCR 21 per 1,000 calls in the first tier (0.021 USD per call, 0 to 9,999 calls) | Not found | Not found | Sent to Tencent (hosted API) |
Source: the vendors’ pages named above, read 2026-11-05. Price conversion: 0.021 USD per call is 21 USD per 1,000 calls.
What the vendors do not publish#
No vendor page read gives a character accuracy for handwritten CJK. Figures that circulate for cloud services have no source here and are not repeated. The only evidence in this survey comes from the runs in S2, and those cover the open-source engines only.
Open-Source Image Recognizers#
Four open-source recognizers that read a picture of CJK text were run on single-character images (S2). None was built for handwriting as its main job; they are what a project reaches for when it has pictures and no strokes.
| Engine | Version run | Source of the model | Languages used here | Install on aarch64 |
|---|---|---|---|---|
| EasyOCR | 1.7.2 (released 2024-09-24) | Project downloads; Japanese and simplified Chinese models | ja, ch_sim | Installed from PyPI with a PyTorch wheel |
| manga-ocr | 0.1.16 (released 2026-07-19) | Hugging Face kha-white/manga-ocr-base, pinned revision | Japanese only | Installed from PyPI with PyTorch |
| RapidOCR | 3.10.0 on onnxruntime 1.31.1 | Project downloads PP-OCR family ONNX models (the default recognizer was a PP-OCRv6 small model) | Chinese, covers Japanese kanji | Installed from PyPI; no PyTorch |
| Tesseract | 5.3.4 with tessdata_fast jpn, chi_sim | Apache-2.0 repository, pinned commit | ja, zh | Ubuntu package |
Sources: PyPI release records, the model repositories and the installed package metadata, all read 2026-11-05.
PaddleOCR, whose models RapidOCR repackages, was at 3.7.0 on PyPI (released 2026-06-11) and is Apache-2.0. Its
documentation reports handwritten Chinese and Japanese gains from PP-OCRv4 to PP-OCRv5 on the project’s own benchmark
(source: https://www.paddleocr.ai/latest/en/version3.x/algorithm/PP-OCRv5/PP-OCRv5.html, accessed 2026-11-05). It was not
run: its runtime, paddlepaddle, lists wheels on PyPI for macOS on Arm but none for Linux on aarch64 in its latest
release files (checked 2026-11-05). The vendor may distribute aarch64 builds elsewhere; this survey did not look. The
Linux/aarch64 gap is a fact about the platform and the packaging, not about the model quality; PyPI does list a Linux x86-64
wheel (results/platform_probe.json). It is the reason RapidOCR stands in for the Paddle models here.
General-purpose vision-language models also read handwriting and were not run; they are a separate category with different cost and hardware questions, covered by the OCR survey 1.166 and the LLM-serving surveys.
All four engines recognize a line of text, so a single-character image is an unusual input for them. The S2 tables treat that as a limit of the test. None of these engines presents itself as a handwriting recognizer; manga-ocr’s repository describes it as optical character recognition for Japanese text with a main focus on manga. Whether it suits isolated characters of any style was not established beyond the S2 runs.
Open-Source Stroke Engines: Zinnia, Tegaki, hanzi_lookup#
Three projects are the open-source stroke-based options that turned up, and they are in three different states: one runs and is the working choice, one runs only after a source patch, and one installs but cannot recognize anything on a current system.
Zinnia#
A C++ stroke recognizer by Taku Kudo, with a plain C interface, released under a BSD license (read from the COPYING file in
the source at commit 581faa8). The upstream repository’s last commit is 2016-09-01 (source: the repository’s commit list,
accessed 2026-11-05); it has no tagged releases and no package on PyPI (checked 2026-11-05 under the names zinnia and
zinnia-python). Ubuntu 24.04 still ships it as libzinnia0 0.06-8build1 for arm64.
Zinnia is an engine, not a model. The models people use come from the Tegaki project: Ubuntu packages
tegaki-zinnia-japanese, tegaki-zinnia-simplified-chinese and a traditional Chinese one, licensed LGPL-2.1 or later in
the Debian copyright file, with model files dated November 2009 in the package. Zinnia’s own page also offers a model trained
with Tomoe data. The Japanese model file is 26.1 MB and the simplified Chinese model 26.8 MB (measured 2026-11-05). Loading
either grew the process by about 27 MB (measured 2026-11-05). The Japanese model names 6,420 characters and the simplified
Chinese model 6,763 (measured 2026-11-05). Of the Japanese model’s labels, 52 are kana: 46 basic hiragana and 6 katakana
(イ エ オ ジ ラ ン); it has no small kana, and the only voiced one is ジ (read from the model’s own label list, 2026-11-05).
Its own page lists C, C++, Perl, Ruby and Python libraries, and the source tree has perl and python binding folders and a
trainer program, zinnia_learn, that builds a model from training data written as S-expressions (source: the project page and
source tree at commit 581faa8, read 2026-11-05).
What ran: the Ubuntu library and a library built from the pinned source gave identical scores in every condition of
the synthetic stroke sets described in S2. What did not: the source tree’s checked-in configure script stops with “cannot guess build type” on this aarch64 machine
(measured 2026-11-05); passing the build triple explicitly fixes it. That one is specific to the architecture. The SWIG
Python binding in the source tree uses a Python 2 C interface and does not compile on Python 3.11 (measured 2026-11-05); that
is age, and would fail on any architecture. A caller on Python 3 therefore reaches Zinnia through its C interface, as the S2
runs did. The evidence is in results/platform_probe.json in the harness.
Tegaki#
Two unrelated projects share the name.
The recognition project is tegaki/tegaki: a Python library and applications for Chinese and Japanese handwriting, an IBus
and SCIM front end, a training tool, and its own engine named Wagomu. Its last tagged release is 0.3.1 on 2016-10-04, and
its last commit is a 2022-05-30 conversion to Python 3 (source: the repository, accessed 2026-11-05). Installed from that
commit with uv, import tegaki fails on Python 3.12 because the module imp was removed from Python, and on Python 3.11 it
imports but reports no available recognizers, because the Zinnia Python module it wraps cannot be installed (measured
2026-11-05; results/platform_probe.json). Both are age problems, not architecture problems. Its value today is the models it produced, which Zinnia loads, and its model-building tools.
The package of the same name on npm, gkurt/tegaki, is a handwriting-animation library for the web that was last pushed
on 2026-11-05 (source: the repository, accessed 2026-11-05). It draws text as if written and recognizes nothing.
hanzi_lookup and HanziLookupJS#
A Chinese stroke matcher in Rust (gugray/hanzi_lookup, LGPL-3.0) and its JavaScript original (gugray/HanziLookupJS).
Both descend from Jordan Kiang’s HanziLookup. Instead of a trained statistical model, the matcher compares the input’s
simplified sub-strokes with reference strokes for 9,507 characters derived from Make Me a Hanzi, whose outlines come from
fonts under the Arphic Public License (read from the project’s README). Coordinates are bytes, 0 to 255. Both repositories
were last pushed in 2019 (source: the repositories, accessed 2026-11-05).
As shipped, the Rust crate does not build on Rust 1.96.1: its pinned wasm-bindgen 0.2.42 stops the compiler with a message
that older versions are incompatible (measured 2026-11-05). That is a toolchain-age problem and not specific to aarch64. Removing the WebAssembly wrapper function and its dependency
from a copy, leaving the matcher and the data untouched, builds a native command-line tool. In a browser the project is
used as the WebAssembly module it was designed to be, which this survey did not run.
Adjacent, not recognizers#
Hanzi Writer (chanind/hanzi-writer, MIT, last pushed 2025-12-31) animates stroke order and checks a learner’s strokes
against a known character. It judges a stroke against the expected one; it does not name an unknown character.
Make Me a Hanzi and KanjiVG are stroke datasets under Arphic and CC BY-SA 3.0 terms; they are what several recognizers and
quizzes are built from, and KanjiVG supplied this survey’s synthetic test strokes.
S1 Recommendation: The Field, and Where to Start#
The open-source and vendor options do not sit on one scale; they differ by mode (strokes or pictures), language and maintenance.
| Mode | Option | State on 2026-11-05 | Start here when |
|---|---|---|---|
| Online, self-hosted | Zinnia with Tegaki models | Works through the C interface; engine untouched since 2016, still packaged by Ubuntu 24.04 and Debian | An input method or lookup tool needs Japanese or Chinese strokes recognized locally |
| Online, browser | hanzi_lookup (WebAssembly) or HanziLookupJS | Dormant since 2019; the native Rust build fails on current Rust without a patch | A Chinese lookup page in the browser, strokes in, candidates out |
| Online, mobile | Google ML Kit Digital Ink Recognition | Read only; Japanese, Korean and Chinese models listed | A mobile app that needs on-device strokes for all three languages |
| Offline, hosted | Google Cloud Vision, Azure Vision | Read only; Chinese handwriting experimental at Google, Traditional Chinese handwriting not listed at Azure | Images of handwriting at volume and no model to run |
| Offline, self-hosted | EasyOCR, RapidOCR, manga-ocr, Tesseract | Run on single characters; see S2 | Images, on a machine you control, and you will test on your own samples |
| Framework | Tegaki | Installs on Python 3.11; recognizes nothing there | Reuse its models and training tools, not its Python package |
Sources: S1 files in this folder, read or run 2026-11-05.
The finding that outlasts versions#
For strokes, the open-source answer is one engine with models dated 2009, and no newer open-source stroke engine turned up. For pictures, models change quickly. The four free image recognizers were tried on one real handwriting set, pre-modern cursive kana at 28 by 28 pixels, and did poorly on it; that set says nothing about modern handwriting. The two modes should not be scored on one scale.
What S2 tests#
S2 puts numbers on the open-source engines using synthetic strokes (clearly not handwriting) and the one real handwritten set, and says what each test can and cannot show.
S2: Comprehensive
S2 Approach: What Was Run, On What, and What It Cannot Show#
All runs were on 2026-11-05 on an 8-core aarch64 machine under a 3 GB memory cap (4 GB for the image recognizers), shared with other jobs. No timings are reported from this run: the machine was busy, and any latency or throughput figure taken on it would not be repeatable. Latency and throughput are unmeasured in this survey.
There is no usable labeled set of modern CJK handwriting here#
The standard sets for Chinese, CASIA-HWDB and its online counterpart, are released for academic research only, are for the named applicant’s group only, and charge for commercial use (conditions of use page read 2026-11-05: https://nlpr.ia.ac.cn/databases/handwriting/Application_form.html). A Hugging Face mirror of its line images carries an MIT label, which does not alter what the owner’s page says, so it was not used. The Japanese ETL sets were not used because their terms were not read. No labeled Korean handwriting set with an open license turned up. This survey therefore reports no accuracy on modern handwriting, for any engine.
What was used instead#
| Set | What it is | Handwriting? | Size |
|---|---|---|---|
ja_kanji, ja_kana | KanjiVG r20260714 reference strokes (Japanese forms and stroke order), sampled and deformed by seeded transforms | No | 300 kanji, 52 kana |
zh_kvg | The same transforms on KanjiVG strokes for 400 characters shared with Chinese: Japanese glyph forms and Japanese stroke order | No | 400 characters |
zh_mmah | The same 400 characters from Make Me a Hanzi stroke medians (Chinese forms and Chinese stroke order) | No | 400 characters |
| Synthetic images | The same strokes drawn as 128-pixel line images (black lines, about 4.5 percent of the width thick, antialiased) | No | clean and mild versions |
| Kuzushiji-49 test sample | Real pre-modern cursive hiragana, 28x28 pixels (CC BY-SA 4.0) | Yes, but historical and tiny | 980 images, 49 classes, 20 per class |
KanjiVG draws Japanese glyph forms in Japanese stroke order, and some characters shared with Chinese differ in both. The
zh_kvg set is therefore Japanese-form, Japanese-order strokes for Chinese-use characters, and the zh_mmah set repairs
that for the same characters. Make Me a Hanzi’s graphics data derive from Arphic fonts and are redistributable under the
Arphic Public License (COPYING file at commit bddc96d, read 2026-11-05). hanzi_lookup’s reference strokes come from the same
data, so for that one engine zh_mmah is not an independent test.
Conditions: clean (reference strokes as sampled); mild (rotation to 5 degrees, shear, scale, a low-frequency wobble and smoothed point noise); heavy (larger values plus truncated stroke ends); mild-jagged (mild with unsmoothed point noise); four noise-only levels with unsmoothed noise of spread 0.1, 0.2, 0.5 and 1.0 unit of the 109-unit box and no geometry change (points are 2 units apart, about 4 pixels on the 256-pixel canvas the engines saw); and mild-swap (mild with two adjacent strokes exchanged, characters of three or more strokes). One seed (162) drives all of them, and the generator is in the harness.
What the synthetic sets can show: whether an engine accepts correctly ordered, standard-form strokes; how fast it degrades as they are deformed; how much stroke order matters. What they cannot show: how people write, how engines do on real pen traces, or accuracy on any real task. The deformations are one author’s guess at distortion. The Zinnia models were trained on handwritten data and the test strokes are idealized centerlines, so the clean score includes the gap between those two.
Scoring, applied identically within a family#
Stroke engines: the label is rank 1 (top-1) or within the first five (top-5) of the returned candidates, over samples whose label the engine can output; samples outside an engine’s character list are counted and reported, not scored as errors. Image recognizers: exact (strict equality of the whole output, whitespace removed, with the label) and first (the first output character equals the label). There is no kana normalization in the primary figures, so a katakana look-alike for a hiragana label (ヘ for へ, for example) counts as an error. A second reading folds katakana to hiragana before comparing and is reported beside the primary one; it changes only the scorer, and the raw outputs are saved. Three of the 49 Kuzushiji-49 classes are archaic or non-standard (ゐ, ゑ and the iteration mark ゝ). The two families are not scored against each other.
Checks that gave the numbers meaning#
The Ubuntu Zinnia library and one built from the pinned source scored identically in every condition, so the packaging does not
change results. Before any script loaded or scored a file, it checked that file’s SHA-256 against a recorded value: the
downloaded inputs (including the Tesseract *.traineddata files and the Kuzushiji-49 archives), the generated set files and
every rendered PNG, the extracted and source-built libraries, the Zinnia model files, the hl_driver binary, and the downloaded
image-recognition models including RapidOCR’s package models. Records are in the harness results/ folder.
Feature Table: Ran, Read, Absent#
Legend. Ran: the harness executed it on 2026-11-05. Read: documentation or source said so; nothing was run. Absent: documentation, source or a run showed it is not there. Not found: the pages or archives searched were silent (what was searched is named). Not run / Not tested / Unmeasured: possible, but not done in this survey.
| Capability | Zinnia + Tegaki models | hanzi_lookup | Tegaki (Python) | ML Kit Digital Ink | Google Cloud Vision | Azure Vision Read | EasyOCR / RapidOCR / manga-ocr |
|---|---|---|---|---|---|---|---|
| Input | Strokes (Ran) | Strokes (Ran) | Strokes (Ran, no engine) | Strokes (Read) | Image (Read) | Image (Read) | Image (Ran) |
| Japanese | 6,420 labels, of which 52 are kana: 46 basic hiragana, 6 katakana, no small kana (Ran) | Kanji only; no kana in its list (Ran) | Via Zinnia models (Read) | Yes (Read) | Supported (Read) | Handwriting listed (Read) | EasyOCR, RapidOCR, manga-ocr (Ran) |
| Simplified Chinese | 6,763 labels (Ran) | 9,507 labels (Ran) | Via Zinnia models (Read) | Yes, zh-Hani (Read) | Experimental (Read) | Handwriting listed (Read) | EasyOCR, RapidOCR (Ran) |
| Traditional Chinese | A separate Tegaki model package exists (Read); Not run | Not run; its list is not split by script | Via Zinnia models (Read) | Yes, Taiwan and Hong Kong variants (Read) | Experimental (Read) | Absent from the handwritten list (Read) | Not run |
| Korean | Not found (searched the Ubuntu archive for tegaki and zinnia packages only) | Absent (stroke data is Han characters; Read) | Not found | Yes (Read) | Supported (Read) | Handwriting listed (Read) | Not run |
| Runs offline | Yes (Ran) | Yes (Ran) | Not tested (no engine works) | Yes (Read) | Absent (hosted API; Read) | Hosted API (Read); container exists (Read) | Yes (Ran) |
| Linux aarch64 | Distro library: Ran; source configure needs --build: Ran | Native build needs a source patch (Ran); not architecture-specific | Python package fails on 3.12 (Ran); not architecture-specific | Absent (mobile SDK only; Read) | Not run (hosted) | Not found for the container (its page names x64 with AVX2; Read) | RapidOCR, EasyOCR, manga-ocr, Tesseract: Ran; PaddlePaddle: no Linux aarch64 wheel on PyPI (Ran) |
| Stroke order matters | Yes (Ran) | Yes (Ran) | Not tested | Not found | Absent (takes images; Read) | Absent (takes images; Read) | Absent (take images; Read) |
| Retrain on own data | Trainer program zinnia_learn in the source (Read) | Rebuild its data file from stroke data (Read) | Training tool in the source tree (Read) | Not found | Not found | Not found | Not run |
| Bindings | C, C++: Ran; Perl, Ruby, Python: Read (the Python binding does not build on Python 3: Ran) | Rust library: Ran; WebAssembly wrapper: Read | Python: Ran | Android, iOS: Read | REST: Read | REST and container: Read | Python: Ran |
| Memory | About 27 MB growth per model (Ran) | Unmeasured | Unmeasured | About 20 MB storage per language (Read) | Not found | Container: 4 cores and 8 GB minimum (Read) | About 1.26 GB peak for EasyOCR and manga-ocr; 142 MB for RapidOCR (Ran) |
| Speed | Unmeasured | Unmeasured | Unmeasured | Not found | Not found | Not found | Unmeasured |
| License | BSD engine; LGPL-2.1+ models (Read) | LGPL-3.0; Arphic Public License data (Read) | GPL (Read) | Not found | Not found | Not found | Apache-2.0 engines (Read) |
| Last upstream change | Engine 2016; models dated 2009; Debian carries 0.06-9 (Read) | 2019 (Read) | 2022 (Read) | Not found | Documentation moved hosts (a 301 redirect; Read) | Documentation updated 2026-10-19 (Read) | EasyOCR repository pushed 2025-12-05 (Read) |
| Where the writing goes | Not tested: the runs loaded libraries and models from local files and needed no network; network traffic was not monitored | Not tested: same as Zinnia (local files, no network needed; traffic not monitored) | Not tested | On device; the overview says it works fully offline (Read) | Sent to Google, a hosted API (Read) | Hosted: to Azure; container: Microsoft states images and text are not sent to it (Read) | Not tested: the runs used pre-downloaded models with downloads disabled (EasyOCR) and needed no network; traffic not monitored |
Source: S1 files and harness results, 2026-11-05. Prices and free tiers for the three hosted services are in
cloud-and-os-services.md.
What the gaps mean#
- Korean has no open-source stroke recognizer in this sample; the search covered one archive and PyPI names, not every project. Korean online recognition means ML Kit or an operating system, unless a project trains its own with Zinnia’s trainer.
- Traditional Chinese is where the vendors differ most: ML Kit has regional models, Azure lists handwriting for simplified only, Google calls the whole Han script experimental.
- Speed is blank for every engine on purpose: the machine was busy.
Measured Results#
Every number here comes from the harness runs of 2026-11-05 and is on synthetic strokes or synthetic images unless the heading says otherwise. None is handwriting accuracy.
Stroke engines on synthetic strokes (top-1 / top-5, percent)#
Sets: ja_kanji 300 kanji and ja_kana 52 kana (Japanese forms and order); zh_kvg 400 characters shared with Chinese,
drawn from KanjiVG (Japanese forms and order); zh_mmah the same 400 from Make Me a Hanzi (Chinese forms and order).
| Condition | Zinnia ja, kanji | Zinnia ja, kana | hanzi_lookup, kanji (225 of 300 in its list) | Zinnia zh, zh_kvg | Zinnia zh, zh_mmah | hanzi_lookup, zh_kvg | hanzi_lookup, zh_mmah (self-consistency, not ranked) |
|---|---|---|---|---|---|---|---|
| Clean | 86.3 / 94.7 | 65.4 / 88.5 | 73.3 / 88.0 | 75.0 / 86.0 | 76.5 / 87.8 | 78.8 / 91.5 | 85.0 / 96.8 |
| Mild | 86.0 / 95.0 | 73.1 / 84.6 | 60.0 / 80.9 | 73.2 / 85.0 | 76.0 / 88.8 | 63.8 / 83.5 | 78.0 / 92.2 |
| Heavy | 84.0 / 94.7 | 65.4 / 82.7 | 8.9 / 18.2 | 69.5 / 81.0 | 73.8 / 84.5 | 10.0 / 18.8 | 21.0 / 35.0 |
| Mild, jagged point noise | 88.3 / 94.7 | 67.3 / 84.6 | 2.7 / 5.3 | 73.5 / 85.2 | 76.8 / 88.8 | 2.2 / 4.0 | 7.8 / 13.5 |
Measured 2026-11-05; Zinnia 0.06 with Tegaki models 0.3-3 (Ubuntu 24.04); hanzi_lookup commit 01f90c3; synthetic strokes, seed
162. hanzi_lookup has no kana, so all 52 kana and 75 kanji are outside its list and are not scored for it. The zh_mmah
column for hanzi_lookup is not independent: its reference strokes derive from the same Make Me a Hanzi data. Heavy
distortion keeps Zinnia within 5.5 points of clean on zh_kvg (75.0 to 69.5), 2.7 on zh_mmah and 2.3 on kanji.
Comparing the engines. The independent comparison is zh_kvg: hanzi_lookup 78.8 against Zinnia 75.0 at clean. Zinnia’s
Chinese model scored 1.5 points higher on zh_mmah than on zh_kvg (76.5 against 75.0). hanzi_lookup’s zh_mmah column
(85.0 at clean) is a self-consistency figure: its reference strokes derive from that same data, so it shows how well the matcher
reproduces its own source and is not a ranking against Zinnia. Zinnia’s Japanese kanji
score (86.3) is above both Chinese scores, but the three sets use different characters, so a gap between the Japanese and
Chinese models cannot be assigned to the languages: it may come from the character mix and from the stroke forms in the test.
Point noise, dose and response (top-1, percent; no other distortion)#
Unsmoothed Gaussian noise on each point, spread in units of the 109-unit reference box; points 2 units apart (about 4 pixels on the 256-pixel canvas).
| Spread | Zinnia zh, zh_kvg | hanzi_lookup, zh_kvg | Zinnia ja, kanji | hanzi_lookup, kanji | Zinnia zh, zh_mmah | hanzi_lookup, zh_mmah (self-consistency, not ranked) |
|---|---|---|---|---|---|---|
| 0.1 | 74.8 | 71.2 | 87.0 | 70.2 | 77.8 | 82.5 |
| 0.2 | 75.2 | 45.8 | 86.3 | 45.8 | 77.2 | 73.2 |
| 0.5 | 74.2 | 0.0 | 85.0 | 0.0 | 76.8 | 0.2 |
| 1.0 | 67.5 | 0.0 | 85.3 | 0.0 | 71.5 | 0.0 |
Measured 2026-11-05. There is one point density and one noise shape; real traces differ in both, so the table shows that hanzi_lookup is far more sensitive to point noise than Zinnia, and not where a real trace would sit on the curve.
Stroke order (mild strokes, one adjacent pair exchanged; top-1, percent)#
| Engine and set | Characters | Unswapped | Swapped | Change |
|---|---|---|---|---|
| Zinnia ja, kanji | 298 | 85.9 | 67.1 | -18.8 |
| Zinnia ja, kana (three or more strokes) | 21 | 76.2 | 23.8 | -52.4 |
Zinnia zh, zh_kvg | 397 | 73.6 | 52.1 | -21.4 |
Zinnia zh, zh_mmah | 397 | 76.1 | 56.2 | -19.9 |
| hanzi_lookup, kanji | 223 | 60.1 | 39.9 | -20.2 |
hanzi_lookup, zh_kvg | 397 | 63.5 | 39.0 | -24.4 |
hanzi_lookup, zh_mmah (self-consistency, not ranked) | 397 | 78.3 | 52.6 | -25.7 |
Measured 2026-11-05, same strokes with and without the exchange. All engines are stroke-order sensitive on this test: a writer who draws two strokes in the wrong order costs each engine roughly 19 to 26 points of top-1 (the 21 kana are too few to trust). How much real writers vary in order is not something this survey measured.
Image recognizers on synthetic line images (exact match, percent)#
| Engine | Kanji clean | Kanji mild | Kana clean | Kana mild | zh_kvg clean | zh_kvg mild | zh_mmah clean | zh_mmah mild |
|---|---|---|---|---|---|---|---|---|
| RapidOCR 3.10.0 | 85.0 | 82.7 | 90.4 | 84.6 | 98.2 | 98.0 | 98.5 | 97.5 |
| EasyOCR 1.7.2 (ja; ch_sim for Chinese) | 36.7 | 36.7 | 98.1 | 96.2 | 98.8 | 98.5 | 98.8 | 99.0 |
| manga-ocr 0.1.16 | 27.3 | 21.0 | 46.2 | 48.1 | not run | not run | not run | not run |
| Tesseract 5.3.4, tessdata_fast | 14.3 | 13.0 | 48.1 | 38.5 | 26.0 | 22.5 | 32.2 | 25.5 |
Measured 2026-11-05; 300 kanji, 52 kana and 400 Chinese characters rendered from the stroke sets as 128-pixel black line
drawings, about 4.5 percent of the width thick. These are clean drawings close to printed characters, and the high scores of
the best engines say that characters drawn that way are easy; they do not say these engines read handwriting. Tesseract
returned empty output for 8 to 23 images in each kanji and Chinese set; it was run with page segmentation mode 10 (single character) and the
tessdata_fast models. This survey did not test why it scored low. manga-ocr’s first score (first output character) was
higher than its exact score (kanji clean 31.3 against 27.3; kana clean 73.1 against 46.2), meaning it often adds characters.
Real handwriting: Kuzushiji-49 (980 images, 49 classes; exact match, percent)#
| Engine | Exact | Exact, katakana folded to hiragana | Empty outputs |
|---|---|---|---|
| manga-ocr | 20.9 | 21.1 | 0 |
| EasyOCR (Japanese) | 19.3 | 19.5 | 7 |
| RapidOCR | 15.7 | 16.0 | 46 |
| Tesseract (jpn) | 10.7 | 10.9 | 91 |
Measured 2026-11-05; 20 images per class; 28x28 images enlarged to 84 pixels with a white border; strict equality with no normalization in the first column; the second column maps katakana output to hiragana before comparing and shows that look-alike confusions are not the main source of error. Chance is about 2 percent for 49 classes. Three of the 49 classes are archaic or non-standard (ゐ, ゑ and the iteration mark ゝ). The set is pre-modern cursive hiragana at very low resolution and says nothing about other kinds of handwriting, cursive or not: every engine here is far from usable on it, and what the result shows is that these models, none trained on that material, do not transfer to it.
Memory#
EasyOCR and manga-ocr each peaked near 1.26 GB resident in their own process (EasyOCR Japanese 1,266 MB, manga-ocr 1,258 MB, EasyOCR Chinese 1,255 MB; measured 2026-11-05). RapidOCR peaked at 142 MB. Tesseract runs in a child process that the measurement did not see, so no Tesseract figure exists. The Zinnia models grew a process by about 27 MB each (measured 2026-11-05).
S2 Recommendation#
What the evidence supports#
- Stroke input in Japanese kanji or simplified Chinese, offline, self-hosted: Zinnia with the Tegaki models is the engine that ran without edits on this platform and held its score as strokes were deformed: Japanese kanji 86.3 clean and 84.0 heavy top-1, Chinese forms 76.5 and 73.8, Chinese strokes in Japanese forms 75.0 and 69.5 (synthetic strokes, measured 2026-11-05). That is robustness to distortion, not accuracy on people.
- Kana: the Japanese model holds only 52 kana (46 basic hiragana, 6 katakana); other katakana, voiced and small kana are not in it.
- Chinese lookup in a browser: hanzi_lookup scored higher than Zinnia on clean KanjiVG strokes (78.8 against 75.0 top-1, the independent comparison) and fell to zero at a noise spread of 0.5 unit while Zinnia stayed above 67. Its 85.0 on the Make Me a Hanzi set is a self-consistency figure only, since its references derive from that data, and is not used to rank. Smooth or thin the trace before calling it, and test with real input.
- Stroke order: every stroke-engine configuration lost 19 to 26 points of top-1 when two adjacent strokes were exchanged. A product for learners, who often draw in the wrong order, needs an order-tolerant step or must test this on its own users.
- Images: the free recognizers read clean, print-like characters well (RapidOCR and EasyOCR above 97 percent in Chinese on rendered strokes) and scored 10.7 to 20.9 percent on the one real handwriting set tried, pre-modern cursive kana at 28 by 28 pixels, where chance is about 2. Nothing here supports a claim about modern handwriting in either direction.
What it does not support#
No ranking of cloud services, no accuracy figure for any engine on people’s handwriting, no speed claim, no Korean open-source recommendation, and no claim about traditional Chinese handwriting beyond what vendors list.
Platform and age findings#
Two failures are specific to Linux on aarch64: Zinnia’s checked-in configure script does not recognize the architecture (an
explicit build triple fixes it), and PaddlePaddle’s PyPI release lists a Linux x86-64 wheel and none for Linux aarch64
(results/platform_probe.json). Three more are age or toolchain problems that would occur on x86-64 too: Zinnia’s Python
binding uses a Python 2 interface, Tegaki imports a module (imp) that Python 3.12 removed, and hanzi_lookup pins a
wasm-bindgen that current Rust rejects. All have workarounds except Tegaki’s Python package.
Still unmeasured#
Speed and throughput for every engine; memory for hanzi_lookup and Tesseract; any engine on modern handwriting; vendor services of every kind; PaddleOCR; hanzi_lookup in its WebAssembly form.
S3: Need-Driven
S3 Approach: Walk-Throughs by Need#
Each walk-through starts from a job, names what the S1 and S2 evidence supports for it, names what it does not cover, and ends with a check to run before committing. The jobs are examples of the category’s use, not a ranking of readers. Nothing in them goes beyond the evidence in S1 and S2; where that evidence is synthetic strokes, the walk-through says so.
| Job | File |
|---|---|
| Stroke input for a desktop or embedded input method | use-case-input-method.md |
| A Chinese character lookup page in the browser | use-case-browser-lookup.md |
| A learning app that checks and recognizes what a learner writes | use-case-learning-app.md |
| Digitizing handwritten forms and notes from images | use-case-digitizing-images.md |
S3 Recommendation#
The four jobs share one conclusion: the survey identifies the candidates and the traps, and the deciding number has to come from the buyer’s own samples.
| Job | Candidate | Main trap |
|---|---|---|
| Input method | Zinnia with Tegaki models | Korean absent; real accuracy unmeasured |
| Browser lookup | hanzi_lookup | Fails on jittery points; dormant since 2019 |
| Learning app | ML Kit or Zinnia, plus a stroke checker | Stroke-order sensitivity |
| Digitizing images | A hosted service or a self-hosted recognizer, tested on real pages | No open evidence on modern handwriting; Traditional Chinese gaps |
Walk-Through: A Chinese Lookup Page in the Browser#
The job. A dictionary or reading aid where a visitor draws a hanzi and gets candidate characters, with nothing sent to a server.
What the evidence supports. hanzi_lookup (and HanziLookupJS before it) is built for this: it ships as WebAssembly, needs no model download beyond its embedded data for 9,507 characters, and on clean synthetic strokes in Chinese forms and order it scored 78.8 percent top-1 and 91.5 top-5 on KanjiVG strokes, against Zinnia’s Chinese model at 75.0 and 86.0 (measured 2026-11-05). Those are Japanese-form strokes for characters shared with Chinese. On Make Me a Hanzi strokes in Chinese forms it scored 85.0 and 96.8, but its reference strokes derive from that same data, so that figure shows self-consistency and is not compared with Zinnia. Its licenses are LGPL-3.0 for the code and the Arphic Public License for the stroke data.
Point noise decides it. Every figure above is for strokes with no noise. The engine is sensitive to jitter in the points: with unsmoothed Gaussian noise on strokes sampled every 2 units of a 109-unit box (about 4 pixels on the 256-pixel canvas the engine saw), top-1 on the KanjiVG set was 71.2 percent at a spread of 0.1 unit, 45.8 at 0.2, 0.0 at 0.5 and 0.0 at 1.0 (measured 2026-11-05). Zinnia’s Chinese model on the same strokes went 74.8, 75.2, 74.2 and 67.5. Smoothed noise, which a real touch or mouse trace resembles more, was far less damaging: 63.8 percent top-1 at the “mild” setting (Zinnia 73.2), which also rotates and shears. How the engine behaves on a real trace depends on how many points the browser reports and how the page thins them; this survey ran no real traces.
What it does not cover. It was last updated in 2019. The WebAssembly build itself was not run; only the native matcher was. Traditional-only characters and Japanese kana are not in its list as separated sets.
Check before committing. Draw fifty common characters yourself on the target browsers and devices, with a mouse and with a finger, and look at where the right answer ranks. If you have to thin the trace for it to work, put that step in the page and test again. Check the library license against how you plan to ship it.
Walk-Through: Digitizing Handwritten Forms and Notes#
The job. Photographs or scans of handwritten Chinese, Japanese or Korean, converted to text at volume.
What the evidence supports. There is no open-source image recognizer in this sample with evidence for modern handwriting. On pre-modern cursive hiragana at 28 by 28 pixels (Kuzushiji-49), the four free recognizers scored between 10.7 and 20.9 percent exact (measured 2026-11-05). That set is one narrow kind of handwriting at very low resolution, so the result says only that these models, none trained on that material, do not transfer to it; it does not describe other handwriting, cursive or not. On clean rendered characters EasyOCR and RapidOCR scored above 97 percent in Chinese, which says that print-like characters are easy. Hosted services list handwriting languages: Azure lists handwritten Chinese Simplified, Japanese and Korean and not Traditional Chinese; Google lists Japanese and Korean as supported and Chinese as experimental (read 2026-11-05). No page read gave an accuracy.
What it does not cover. Anything about real forms: line segmentation, mixed print and handwriting, ruled boxes, ink colors, accuracy per language.
Check before committing. Take a few hundred real pages from the actual source, transcribe a sample by hand, and run each candidate on them, scoring the same way for each. Include the cheapest hosted option and one self-hosted one. If the pages are traditional Chinese handwriting, test first the services whose lists exclude it. Count the cost of people correcting errors as well as the per-page price.
Walk-Through: Stroke Input for an Input Method#
The job. Someone draws a character with a pen or finger on a Linux or embedded device and expects a short list of candidates, offline, in Japanese or simplified Chinese.
What the evidence supports. Zinnia with the Tegaki models is the engine in this sample that ran without edits and kept most of its score as the synthetic strokes were deformed. On Japanese kanji, top-1 went from 86.3 percent clean to 84.0 heavy, and the correct character was among the first five candidates in 94.7 percent of heavy samples; on simplified Chinese hanzi in Chinese forms and order, top-1 went from 76.5 to 73.8 (measured 2026-11-05, synthetic strokes, 300 kanji and 400 hanzi). A candidate list matters here, because top-5 sits about ten points above top-1. The library is in Ubuntu 24.04 and Debian, so no source build is needed on those systems. Each model costs about 27 MB of memory once loaded (measured 2026-11-05).
Kana are thin. The Japanese model’s own label list holds 52 kana: 46 basic hiragana and 6 katakana (イ エ オ ジ ラ ン). It has no small kana (ゃ ゅ ょ っ and the rest), no voiced hiragana such as が or ざ, and only one voiced katakana. On those 52 synthetic kana, top-1 was 65.4 percent clean and 65.4 heavy, with the correct kana in the first five in 88.5 and 82.7 percent (measured 2026-11-05). Every other katakana, voiced kana and small kana is not in the model, so a Japanese input method cannot use this model alone.
What it does not cover. Accuracy on real handwriting; speed; Korean, for which no open-source stroke model turned up in the Ubuntu archive.
Check before committing. Collect a few hundred strokes from the target users and device, with their own stroke order, and measure top-5 against a typed answer, kana included. Draw two characters whose strokes are commonly written in a different order and see where they land. If the target is a mobile app, compare with ML Kit, which lists all three languages and is on-device.
Walk-Through: A Learning App That Checks Writing#
The job. A learner writes characters on a phone or tablet. The app tells them whether it was right and whether the strokes were in order.
What the evidence supports. Two different jobs hide here. Checking a stroke against a known target character is what Hanzi Writer does (MIT, last pushed 2025-12-31); it does not name an unknown character. Recognizing what was written needs a recognizer: on mobile, ML Kit Digital Ink Recognition lists Japanese, Korean and Chinese on-device models (read 2026-11-05, not run). In this survey’s test every stroke-engine configuration lost between 19 and 26 points of top-1 when two adjacent strokes were exchanged (Zinnia 19 to 21, hanzi_lookup 20 to 26; measured 2026-11-05, synthetic strokes; the 21 kana characters with three or more strokes fell from 16 right to 5), which matters because learners often write in the wrong order.
What it does not cover. How ML Kit or any engine treats a beginner’s handwriting; whether ML Kit’s license suits the product; any measure of order tolerance on real learners.
Check before committing. Have a handful of learners at different levels write the characters in the course and record the recognizer’s top-1 and top-5 for each, in correct and shuffled order. Decide whether to show a result or only the stroke-by-stroke check. Read the license terms of any downloaded model, which this survey did not.
S4: Strategic
S4 Approach: Will It Still Work, and Who Keeps It Alive#
Viability here means three things: whether the code or model still builds and runs on a current system, whether anyone is changing it, and what happens if it stops. Evidence is repository dates, package-archive state and what the 2026-11-05 runs found. Forecasts of market direction are not made; none was sourced.
Files: viability-stroke-engines.md and viability-images-and-vendors.md.
S4 Recommendation#
- Treat Zinnia and the Tegaki models as frozen infrastructure: depend on the distribution packages, keep a copy of the library and model files, and expect no fixes.
- Treat hanzi_lookup as code to vendor and patch, not a dependency to track.
- Treat image recognizers and hosted services as moving targets: pin versions, keep a labeled sample of your own, and rerun it before upgrading or switching.
- Korean and Traditional Chinese handwriting have the thinnest coverage of any combination here; plan to verify them directly.
Viability: Image Recognizers and Vendor Services#
| Project or service | State 2026-11-05 | Churn seen |
|---|---|---|
| PaddleOCR | 3.7.0 released 2026-06-11; Apache-2.0 | Model generations replace each other (PP-OCRv4, v5; RapidOCR’s default was a v6 small model) |
| RapidOCR | 3.10.0 on onnxruntime | Repackages Paddle-family models; its default model changed across versions |
| EasyOCR | 1.7.2 released 2024-09-24; repository pushed 2025-12-05 | Slow release pace |
| manga-ocr | 0.1.16 released 2026-07-19 | Japanese manga focus |
| Tesseract | 5.3.4 installed; repository active | Page-oriented, weak on isolated CJK characters in this test |
| Azure Vision | Docs page updated 2026-10-19 | Product name has changed to “Azure Vision in Foundry Tools” |
| Google Cloud Vision | Documentation moved to a new host (a 301 redirect) | Chinese handwriting listed as experimental |
| ML Kit Digital Ink | Documentation current | Mobile only |
Source: PyPI release records, repository pages and vendor documentation, read 2026-11-05.
Reading it. Self-hosted image recognizers move fast and change models between versions, so a result tied to a model version has a short life; pin versions and keep a test set. Hosted services change names and URLs, and their language lists differ by script and by mode; the Chinese handwriting entries (experimental at one vendor, simplified only at another) are the ones most likely to move. In both cases the thing that keeps its value is the buyer’s own labeled sample, not this survey’s tables.
A hosted recognizer also adds a dependency on a vendor’s pricing and terms, which this survey did not read.
Viability: Stroke Engines#
| Project | Last upstream change | Distribution today | Failure on a current system |
|---|---|---|---|
| Zinnia | Engine commit 2016-09-01 | Ubuntu 24.04 (0.06-8build1); Debian forky and sid carry 0.06-9 (source: sources.debian.org, accessed 2026-11-05) | configure needs an explicit build triple on aarch64; Python binding uses a removed interface |
| Tegaki models | Model files dated 2009 in the Ubuntu package | Ubuntu 24.04 packages for Japanese, simplified and traditional Chinese | None; they are data files read by Zinnia |
| Tegaki Python | Python 3 conversion 2022-05-30; last release 2016-10-04 | Source only | Cannot import on Python 3.12; no recognizer on 3.11 |
| hanzi_lookup | 2019-05-15 | Source only | Pinned wasm-bindgen stops the build on Rust 1.96.1 |
| HanziLookupJS | 2019-08-07 | Source only | Not run |
Source: repository commit lists and archive pages read 2026-11-05; build failures measured 2026-11-05.
Reading it. Nobody is changing the open-source stroke engines. That is a risk with an offsetting fact: Zinnia has a small C interface that has not needed changes, a BSD license, and a place in two Linux distributions’ archives, so it keeps building as long as those packages are kept. The models are fifteen-year-old data. If a distribution drops the packages, a project must carry the library and the three model files itself; the licenses (BSD for the engine, LGPL-2.1 or later for the models) allow it. The exposure is thinner for hanzi_lookup, which has no distribution behind it and a build that breaks with newer toolchains; a project depending on it should vendor a patched copy.
What would change the picture. A vendor SDK with a free license on desktop (ML Kit is mobile only), or a maintained open-source successor trained on newer data. None turned up.