Dilinka: From scan to a finished NDK package

Dilinka processes scanned data, the catalogue record and capture details into a form that can be imported into Kramerius and stored in a long-term archive as an NDK package. The whole process runs automatically; people step in only at critical, key points.

Dilinka is Trinera’s internal tool for automated digitization. From scans, the catalogue record and capture details it prepares a standardized NDK package that can be imported into Kramerius and stored in a long-term archive.

Dilinka’s interface with the page review of a Kramář print: the package queue, page thumbnails and the detail of a selected page
Reviewing a Kramář print package: page thumbnails, the package queue and the detail of a selected page.

What Dilinka takes care of

Dilinka typically runs the whole chain of steps that would otherwise require manual work in several different tools:

  • input data checks,
  • scan cropping with Cropilot,
  • image conversion to JPEG2000,
  • OCR,
  • checking the physical extent of the document,
  • MARC to MODS conversion,
  • creating technical and descriptive metadata,
  • registration in ČIDLO.

Dilinka also checks the Digitization Registry and warns you if the same title has already been digitized by someone else. Unnecessary work is caught before it starts.

New processing in Dilinka: batch selection, ČIDLO and Cropilot connections, review mode and a summary of steps
New processing: batch selection, ČIDLO and Cropilot connections and a summary of steps.

People only at key points

Dilinka processes a batch from start to finish on its own. People step in only where a key decision is needed: they go through the warnings Dilinka flags and approve the finished package. When needed, they can choose the standard version, manually adjust crops, page numbering and page labels, browse pages in a zoomable viewer and compare MODS metadata with the original MARC record.

Work overview in Dilinka: packages being processed, waiting for review, failed or finished
Work overview: people only handle the packages that need them, the rest runs on its own.
Package review in Dilinka: warnings about page type and cropping and the results of metadata checks
Package review: Dilinka itself flags issues with page types, cropping and metadata.
Bulk editing of page numbering and page types of a Kramář print in Dilinka
Bulk editing of page numbering and page types of a Kramář print.

Once finished, the package is automatically checked by the NDK validator. If it is valid, it is registered in ČIDLO. Clear reports show which packages passed, which did not, at which step and why processing failed.

A finished package in Dilinka: it passed NDK validation and has an assigned URN:NBN
A finished package passed NDK validation and has an assigned URN:NBN.

More than page images

An NDK package contains more than images of individual pages. It also includes metadata and links that describe the document, its structure, the individual files and their technical properties:

  • MODS carries bibliographic metadata,
  • METS links descriptive, administrative and structural metadata to specific files,
  • ALTO stores OCR output including the layout of text on the page.

Structural metadata — page types and order, the division of the document and the relationships between its parts — has historically meant the most manual work. Dilinka creates it automatically.

Books, periodicals and sound recordings

Dilinka can digitize not only monographs but also periodicals and sound recordings on CD. For audio documents it loads the tracks and the scans of the cover and booklet, prefills track titles, composers and performers, and warns when a track length does not match the information on the cover. A person then only approves the result.

Structure of an audio document in Dilinka: works, performers, tracks with waveforms and scans of the cover and booklet
An audio document: works, performers, tracks with waveforms and scans of the cover and booklet.

Proven on Kramář prints

Dilinka started as a set of scripts for batch processing of Kramář prints (broadside ballads) on the servers of the Moravian Library. This specific collection was used to verify how automatic cropping, structural metadata, OCR and standardized output work together.

Historical documents differ from today’s scans in the nature of the data and in how they are cropped. A model trained on ordinary data was therefore not directly usable. We added the option to prepare custom training data in the Cropilot editor, correct it manually and train a separate model from it. The model can be stored in a shared model bank and used in further processing.

Title page of a Kramář print in Dilinka’s zoomable viewer
Title page of a Kramář print in the zoomable viewer.

Cropilot as part of the line

Cropilot handles scan cropping in Dilinka. Its model determines the number, position and rotation of pages from the image, and the result can be reviewed and adjusted in the editing interface. Cropilot is designed to fit into larger processes: it uses an asynchronous task queue, supports deployment in Kubernetes and horizontal scaling, and offers an integration API for connecting to the NDK line.

On the server, in the cloud and on the desktop

Dilinka can process batches on the server, remotely in the cloud and in a desktop application. Page types are recognized automatically by a trained model, and users can change the automatically assigned type at any time.

Do you have an idea or project to discuss?

Feel free to call or write to me for a no-obligation consultation.

Jan Rychtář
CEO

+420 725 523 666
Call on weekdays, 7 AM–5 PM

jan.rychtar@trinera.cz
Write anytime

We will get back to you within 2 business days.

Dilinka: From scan to a finished NDK packageGet in touch