Image-to-Text
ONNX
Safetensors
Dutch
onnxruntime
ocr
historical-books
foliokestrel's picture
Correct sideways TIFFs in the original book reader and replay 101 archived scan crops
ef60902 verified
|
Raw History Blame Contribute Delete
1.92 kB

Check Dutch book OCR on 101 scan regions

The installed Dutch book reader reproduced all 43 single-line readings, all 58 paragraph readings and every detected paragraph line box from the earlier evaluation. The same images stored in two multipage TIFF files returned identical text and upright pixel coordinates. The test cycled through the eight orientation tags and alternated uncompressed and Deflate frames.

The scans come from 64 pages of two books printed in 1630 and 1791. Exact agreement with the archive transcription, allowing for whitespace, occurred on 20 of the 43 single lines and one of the 58 paragraphs. The input encoding check measures reproducibility. The archive comparison includes spelling, recognition and layout errors. Per-region readings and boxes · Results by input type

Replay on your computer

Install the book reader and tifffile==2024.9.20. Save replay_book.py and observations.jsonl in the same folder and download the pinned inputs. The comparison runs locally and checks the archive checksum before recognition. Replay script · Input scans, 44 MB

python replay_book.py confirmation-inputs.zip

The original standalone read_book.py also accepts a single rotated TIFF frame. Its line and paragraph outputs matched equivalent upright PNGs for all eight orientations in the uncompressed grayscale fixture. Standalone checks

Original images and transcriptions are from the public-domain IMPACT KB Ground-truth collection at the Koninklijke Bibliotheek, The Hague. Derived evaluation records use CC0 1.0 and code uses Apache-2.0. KB collection