Overview

I created an application that displays OCR results published on the National Diet Library "Next Digital Library" in a IIIF viewer.

You can try it at the following URL:

https://static.ldas.jp/ndl-ocr-iiif/

Usage

Enter the ID of a material published on the "Next Digital Library" into the input form.

After a moment, buttons for "Mirador" and "Curation Viewer" (published by CODH) will appear. You can view the OCR results in each viewer.

Display Example in Mirador

In particular, "Mirador" supports the "IIIF Content Search API," enabling full-text search within a document.

https://iiif.io/api/search/1.0/

Display Example in Curation Viewer

Summary

This article described how to use the application. The following article explains how the application was built, which may also be of interest:

nakamura196.hatenablog.com