Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
10
480
text
stringlengths
1
22
source
stringclasses
4 values
日ノ布告
ndl_ndlocr
ヲ見ヨ
ndl_ndlocr
ルナリ
ndl_ndlocr
〇ブロンズウイック
ndl_ndlocr
下タルベシ刑法第
ndl_ndlocr
ルヘシ
ndl_ndlocr
釧路國
ndl_ndlocr
以上七郡
ndl_ndlocr
通計二十一郡
ndl_ndlocr
宗谷支廳所轄(
ndl_ndlocr
第百五十
ndl_ndlocr
五見合
ndl_ndlocr
)
ndl_ndlocr
天鹽國
ndl_ndlocr
以上六郡
ndl_ndlocr
北見國
ndl_ndlocr
以上四郡
ndl_ndlocr
第八章數人共犯
ndl_ndlocr
第一節正犯
ndl_ndlocr
刑ヲ科ス
ndl_ndlocr
甲第十六號
ndl_ndlocr
明治八年七月二日
ndl_ndlocr
ndl_ndlocr
儀容
ndl_ndlocr
ハ大名持命ナリ
ndl_ndlocr
津日神ナリ
ndl_ndlocr
人親王ナリ
ndl_ndlocr
含章堂藏
ndl_ndlocr
次編
ndl_ndlocr
逐次
ndl_ndlocr
賣弘所
ndl_ndlocr
徳川
ndl_ndlocr
ndl_ndlocr
五奉行
ndl_ndlocr
秀吉頒金銀
ndl_ndlocr
佐々成政降
ndl_ndlocr
越中平
ndl_ndlocr
以越中予前田利長
ndl_ndlocr
利家
ndl_ndlocr
ndl_ndlocr
以成政歸京師是役
ndl_ndlocr
所司代脇坂淡路守
ndl_ndlocr
名ハ
ndl_ndlocr
安宅
ndl_ndlocr
ヲシテ状ヲ具シテ以
ndl_ndlocr
聞セシム天皇
ndl_ndlocr
御名ハ統仁仁孝
ndl_ndlocr
宸憂シ七廟
ndl_ndlocr
ndl_ndlocr
のことなり
ndl_ndlocr
熊本新聞
ndl_ndlocr
去る二月
ndl_ndlocr
二十八日
ndl_ndlocr
に云く
ndl_ndlocr
第四條
ndl_ndlocr
ノ定規トスルコトヲ得ス
ndl_ndlocr
第五條
ndl_ndlocr
得ス
ndl_ndlocr
○酒田縣伺
ndl_ndlocr
指令伺ノ通
ndl_ndlocr
○滋賀縣伺
ndl_ndlocr
八年第九十三号
ndl_ndlocr
第六則
ndl_ndlocr
第七則
ndl_ndlocr
ndl_ndlocr
活流ス
ndl_ndlocr
コトナシトス
ndl_ndlocr
ndl_ndlocr
ndl_ndlocr
幾個ありや、
ndl_ndlocr
ndl_ndlocr
ndl_ndlocr
乃チ問フ
ndl_ndlocr
所ノ率
ndl_ndlocr
ndl_ndlocr
乃チ
ndl_ndlocr
x数
ndl_ndlocr
ヲ算出スルニハ假令ハ
ndl_ndlocr
同シ
ndl_ndlocr
同シ
ndl_ndlocr
第五位
ndl_ndlocr
即ち
ndl_ndlocr
は十万分の三万四
ndl_ndlocr
ndl_ndlocr
ndl_ndlocr
大工壱人壱円二十五戔
ndl_ndlocr
家根屋
ndl_ndlocr
一人壱円
ndl_ndlocr
日雇一人八十戔
ndl_ndlocr
麦ハ四石多シ各石數ヲ問
ndl_ndlocr
荅曰
ndl_ndlocr
米二十石
ndl_ndlocr
麦二十四石
ndl_ndlocr
代金合テ四百円上米ヨリ下米ハ
ndl_ndlocr
外二割少シ各石數ヲ問
ndl_ndlocr
機筒ハ其中
ndl_ndlocr
唯丁戊二個
ndl_ndlocr
ノ舌アルノ
ndl_ndlocr
ミニシテ功
ndl_ndlocr
用ヲ爲シ、此
ndl_ndlocr
End of preview. Expand in Data Studio

honmono-ocr test set

A held-out benchmark of 14,256 real Japanese text lines, each a cropped line image paired with its transcription. It is the evaluation set for the honmono-ocr recognition models, intended both for reproducing their reported accuracy and for benchmarking other Japanese line-recognition models on the same data.

The lines are drawn from printed books, scanned print, and scene text, spanning the conditions a camera-based Japanese OCR system typically meets.

Dataset structure

A single test split of 14,256 examples. Each example has three fields:

field type description
image image one cropped text line
text string transcription, NFKC-normalized
source string origin: ndl_pdm, ndl_ndlocr, icdar_mlt, or ndl_oneline

Reported scores for the honmono-ocr models are computed against the NFKC-normalized text.

Composition by source:

source lines description
ndl_pdm 8,768 scanned pre-war printed books (National Diet Library)
icdar_mlt 4,114 Japanese scene text (signs, storefronts, displays)
ndl_ndlocr 1,353 National Diet Library print, more modern
ndl_oneline 21 a small NDL one-line set, reported for completeness

Both horizontal and vertical (縦書き) lines are included. Vertical crops are stored rotated 90°, the form the models consume at inference.

Usage

from datasets import load_dataset

ds = load_dataset("eridgd/honmono-ocr-test", split="test")
print(ds[0]["text"], ds[0]["source"])
ds[0]["image"]

To reproduce the published honmono-ocr scores, use the evaluation runner in the code repository. This dataset bundles test_real.manifest.txt, which lists the same 14,256 lines:

python eval/run_eval.py \
  --model models/v6-small/honmono-v6-small-fp16.onnx \
  --manifest path/to/honmono-ocr-test/test_real.manifest.txt \
  --crops_dir path/to/honmono-ocr-test

Reference results, whole-line accuracy (a line counts as correct only when every character matches):

model overall NDL PDM NDL NDLOCR ICDAR MLT
honmono v6-small 83.5 87.5 83.2 75.2
honmono v6-tiny 73.6 80.7 77.8 57.3
PP-OCRv6-small (off-the-shelf) 50.2 50.8 48.9 49.6
PP-OCRv6-tiny (off-the-shelf) 26.2 29.8 22.3 19.8

Source data and licensing

This dataset is redistributed under CC-BY-4.0, the license of both source datasets, and contains material modified from the originals as noted below.

National Diet Library (NDL) OCR datasets (ndl_pdm, ndl_ndlocr, ndl_oneline). © National Diet Library, Japan. Licensed CC-BY-4.0. Source: https://lab.ndl.go.jp/

ICDAR Robust Reading Challenge on Multi-Lingual Scene Text — RRC-MLT, 2017 and 2019 (icdar_mlt). Licensed CC-BY-4.0. Source: https://rrc.cvc.uab.es/?ch=8 (2017) and https://rrc.cvc.uab.es/?ch=15 (2019). Dataset described in N. Nayef et al., ICDAR2019 Robust Reading Challenge on Multi-Lingual Scene Text Detection and Recognition (RRC-MLT-2019), ICDAR 2019.

Modifications applied to both sources: restricted to Japanese text; images cropped to individual text-line regions; annotations converted to a single text field and NFKC-normalized; unusable samples removed. RRC-MLT-2019's test-set ground truth was not publicly released and is not included; the ICDAR lines are taken from the publicly released train/validation portions. No endorsement by the original creators is implied.

The NDL portion (approximately 10,000 lines) requires no registration. The ICDAR portion originates from the RRC site, which requires a free account to download the source data.

The ICDAR MLT portion consists of photographs of real-world scenes. CC-BY-4.0 grants the copyright and database rights held by the licensors; it does not address privacy, publicity, or trademark rights that may attach to people, signage, or logos visible in individual images. This is standard for scene-text datasets and does not restrict ordinary research or benchmarking use. Anyone reusing specific images in other contexts should evaluate those rights independently.

Citation

For the honmono-ocr models and this dataset packaging:

@software{honmono_ocr,
  title  = {honmono-ocr: on-device Japanese book OCR},
  author = {Evan Davis},
  year   = {2026},
  url    = {https://github.com/eridgd/honmono-ocr}
}

Users must also credit the source datasets (NDL Lab; ICDAR RRC-MLT) under their CC-BY-4.0 terms.

Links

Downloads last month
22