National Diet Library Releases GPU-Free NDLOCR-Lite 2.0.0 With Handwriting, Table, and Reading Support

On November 24, 2026, the National Diet Library (NDL) released version 2.0.0 of NDLOCR-Lite, OCR (optical character recognition) software that reads text from images. NDL staff developed it in-house using knowledge gained from previous OCR development.
The first version was released on February 24. It was developed as lightweight OCR for images of books and magazines that does not require a GPU, with experimental support for English and handwritten text at the time. The new version makes both officially supported targets.
It can read text from old letters and diaries on a home computer. Beyond reducing the need to retype printed material during digitization, version 2.0.0 extends development into how the recognized text can be used.
National Diet Library's GPU-free OCR: Changes in NDLOCR-Lite 2.0.0
| Target | Changes in 2.0.0 | Output and example uses |
|---|---|---|
| English andhandwriting | From experimentalto official support | Transcription |
| Reading support | Text DAISY output | For people withdifficultiesvisual impairments or readingE-books |
| Variant characters | Convert to modern forms | Search using modern forms |
| Tables | Estimate row andcolumn positions | HTML tables |
| Tate-chu-yoko | Standard support | Horizontal numberswithin vertical text |
Changing the output to suit the reader
Newly supported is Text DAISY, an e-book format for people with visual impairments or reading difficulties. Data readable in compatible playback applications can now be created directly from OCR output.
Another new feature converts variant characters, including traditional character forms, into modern forms for output. Standardizing characters from old books to modern forms also enables searches using those forms. When the original typography has value as part of the material, the unconverted text data or images of the source should also be retained.
Some people want to record old character forms faithfully, while others want to read the content in modern notation. Being able to choose an output method according to the purpose matters.
Reconstructing table rows and columns
Even if every number in a table is recognized correctly, the material is difficult to use if it is unclear which item each number corresponds to.
For example, in a table showing population changes over several years, the relationship between each year and its population is essential. Reconstructing a table from data that has lost its row and column relationships requires comparison with the original.
Version 2.0.0 adds a feature that estimates table row and column positions and outputs recognized text as an HTML table.
The National Diet Library expanded a table-structure recognition dataset and model developed in fiscal 2023 and incorporated them into the new version. Its publicly released NDLTableSet training data consists of table images extracted from materials whose copyright protection has expired, annotated with the coordinates and relative positions of individual cells.
It is notable that materials preserved by the library have been used as machine-learning data and that the resulting research can now be applied to materials owned by ordinary users. Work to reuse information recorded in tables can begin on a personal computer.
How pages are read
NDLOCR-Lite combines layout recognition, which detects the positions of text lines in an image; text recognition, which reads the characters written there; and processing that arranges them in reading order.
Consider a vertically written page where the text continues from a column on the right to one on the left. Correctly recognizing the characters and arranging them in reading order are separate necessary processes.
According to technical information published by the developer, NDLOCR-Lite uses DEIMv2 for layout recognition, PARSeq for text recognition, and TableCenterNet for table-structure recognition. The trained layout- and text-recognition models are converted to ONNX format for use.
The new version also includes standard support for recognizing tate-chu-yoko, which places numbers and other characters horizontally within a vertical line of text. Reading Japanese materials requires technology that understands not only individual characters but also how they are arranged.
Recognition performance varies by material
In its technical documentation for version 2.0.0, the National Diet Library published evaluation results using 1,065 images from JaWildText, an evaluation dataset for handwritten Japanese. The median character error rate (CER) was 13.27% overall, 17.76% for vertical writing, and 11.56% for horizontal writing. Lower values on this metric indicate better recognition performance.
National Diet Library NDLOCR-Lite Japanese recognition evaluation
| Handwriting (2.0.0, 1,065 JaWildText images) | ||
| Writing direction | Median character error rate (lower is better) | |
|---|---|---|
| Overall | 13.27% | |
| Vertical | 17.76% | |
| Horizontal | 11.56% | |
| F-score for printed Japanese (higher is better) | ||
| Material category | 1.2.1 | 2.0.0 |
| Median across 33 categories | 97.18% | 96.91% |
| Science books from the 1870s | 88.20% | 87.00% |
| Science books from the 1960s | 97.37% | 98.57% |
For printed Japanese, evaluation results using F-scores, a character-recognition metric, have also been published by book and magazine category. The median F-score across material categories declined from 97.18% in version 1.2.1 to 96.91% in version 2.0.0.
For science books from the 1870s, the score fell from 88.20% to 87.00%, while for science books from the 1960s it rose from 97.37% to 98.57%.
The new version's printed-text evaluation scores show different changes depending on the type of material. It is important to check recognition results using the actual materials being processed. Particularly when the goal is text-to-speech output or table reuse, incorrectly recognized characters and numbers will also appear in the output, so they should be checked against the source.
For full-scale conversion of cursive Japanese writing or classical Chinese texts into text, the National Diet Library also recommends NDL Classical Books OCR or NDL Classical Books OCR-Lite.
Desktop and PyPI editions
The mouse-operated desktop edition is available from the version 2.0.0 release page. The environments in which the National Diet Library confirmed operation for this release are Windows 11, macOS Sequoia, and Ubuntu 22.04. New features can be selected in the application's "Output Settings." Users are advised not to include full-width characters in the path to the folder containing the application.
For developers using Python, version 2.0.0 has also been published on the PyPI package distribution service. It requires Python 3.11 or later.
The desktop edition includes trained models. When installed through PyPI and used with the standard models, the first OCR run downloads the models from National Diet Library servers, requiring an internet connection and about 157MB of free space. The downloaded models are saved after their SHA-256 hashes are verified and reused in subsequent processing. Launching the GUI (a screen operated with a mouse or similar device) from the PyPI edition also downloads a table-structure estimation model of about 28MB on first use.
The program is released under CC BY 4.0. Because the layout-recognition component uses a compact model that inherits knowledge from DINOv3, users of trained models distributed by the library are also instructed to comply with the DINOv3 terms of use.
Extracting text from records preserved as images and creating data suited to each reader on a personal computer brings library-developed technology to old family letters and local historical materials. Seen that way, this update's expansion of reading-oriented output formats is welcome.
KioskNews shows a cleaned-up reading view extracted from the publisher’s page — the original always lives on their site, not ours.