Import and export

Take over index cards as objects

The card index holds hundreds of typed inventory cards, all on the same printed form: inventory number, object, origin, material, dimensions, acquisition. The OCR import turns them into objects. You give the first card its fields, the other cards follow, and you only check what the text recognition misread. The example below takes three cards into the project Sammlung. All details on tools and settings are in the reference under OCR import .

Before you start: scan each card as a file of its own (JPG, PNG or PDF), straight and evenly lit. A stack as one multi-page PDF works as well; then set One object per page below. The fields the details are to go into must already exist in the project.

  1. Open the import and load the cards. In the project, open the Data In- & Export tab in the sidebar and, under Import, Documents and scans (OCR). Drag the scans into the window or click to choose them, all at once. The settings below can stay as they are: Index card or form and One object per document suit cards scanned one by one.

    Start page of the OCR import Documents and scans: the drop area for PDFs or scans, below it Text recognition In the browser, Language German, Layout Index card or form, Objects One object per document and the ticked switch Attach the documents to the objects as files
  2. Let it read and check the settings. Moliri reads the cards one after another. On the left, each file then shows the number of its objects and of the sections that have no field yet. Under Objects it says what Moliri recognised from the layout, here Detected: one set of labels on one page. In the middle, every section on every card is framed. Some already have a field: Inventarnummer and Material, because the label says so or nearly so, Maßangabe, because the text resembles the dimensions in the project.

    OCR import after reading three inventory cards: on the left the files, each with Objects: 1 and the number of sections without a field, below them the settings of this document with One object per document and the note Detected: one set of labels on one page; in the middle the first card with framed sections, Inventarnummer, Material, Maßangabe and Dauerstandort already with a field
  3. Give the first card its fields. On the first card, click a section without a field, Gegenstand for instance. The Assign field window shows the text it read and, below it, the field select. Search for the field, here Objekttitel, and choose it; it applies at once. In the same way you give Erwerb the Erwerbungsvermerk and Bemerkungen the Objektbeschreibung. What should not be taken over, such as the card’s heading or the old location, you take out with Leave out. Herkunft gets no field here; such text goes into a column of its own in the table (step 8).

    Assign field on the first card: the section Gegenstand with Zinnteller mit Gravur is selected, beside it the window with the text it read, Gegenstand. Zinnteller mit Gravur, Applies to this object and the field select, still without a field; below Leave out, Cancel and Apply
  4. Look through the other cards. The other cards now have the same fields, found through the labels you assigned. Their tags are only outlined, which the legend above the pages calls taken over; a filled tag is your own decision. On the right, the Cards preview shows each object as it will be created. If a field was taken over wrongly or one is missing, click the section and choose the right one. On the second card here the inventory number was left without a field (dashed grey); one click gives it one.

    The second card after the first was assigned: the sections carry outlined tags with the fields taken over, on the right the Cards preview with the fields of the first two objects
  5. Correct what was misread. Text recognition makes mistakes, especially with typewriter type: cm becomes Cm, H. 2,1 becomes HEN. Clicking the value in the preview highlights its section on the card and opens Assign field. Correct the text in the upper box and choose Apply.

    A misread value being corrected: on the card the section with the dimensions is highlighted, the Assign field window holds the corrected text Dm. 24,5 cm; H. 2,1 cm, below it the field Maßangabe and Apply
  6. Do not take over the card itself as a picture. Moliri takes the whole card for a picture and sets it as Titelbild. Clicking the card, next to the sections, opens the choice: Do not import. The Cards preview offers the same choice under each card’s thumbnail. The scan still comes along, as a file of the object, as long as Attach the documents to the objects as files is ticked.

    Choice on the recognised picture: thumbnail of the card, Into a field with Titelbild, Only as a file of the object, Do not import, below them Keywords and No picture (wrongly detected)
  7. Compare field by field. The Fields preview puts the values of all cards one below the other, each field with the number of objects that have it (3 of 3). Outliers stand out at once, such as Zzinn instead of Zinn or a title with its label read into it (Gegenstand. Zinnteller mit Gravur). Where an object has no value, it says missing; here two cards still lack the inventory number. Clicking the value corrects it as in the step before.

    Fields preview: Erwerbungsvermerk, Inventarnummer, Material, Maßangabe, Objektbeschreibung and Objekttitel, each with the values of the three objects; for Inventarnummer 1 of 3 and missing twice, for Material Zzinn, gegossen, gedreht
  8. Create them through the Excel import. Continue to Excel import hands the result over as a table, one row per card, one column per field. Text without a field is in the column Without field (OCR). Check target fields and preview there as for any Excel file and import as described under Import Excel . Values that do not fit a field’s list, such as Zinn, gegossen, graviert in the field Material, are parked by the import; you settle them afterwards under Resolve references . Above the preview the Excel import checks the field conditions. If a required value such as the inventory number is still missing, it names the rows; cancel and add it in the OCR import.

    Excel import of the file ocr-import with 3 entries: above the preview Rows violating field conditions 2 of 3, Inventarnummer Must not be empty in rows 3 and 4; below the columns Datei (OCR), Erwerbungsvermerk and Inventarnummer with target field and preview, at the bottom 6 of 8 columns assigned, 3 new and Import 16 values

Nothing is saved until the Excel import writes it. Until then the review lives in the open tab: reloading or closing the tab discards it. If you cancel the Excel import, Restore last OCR import on the start page of the OCR import brings the state back.

When it looks different

What you seeWhat helps
Several cards on one page, or a catalogue with several entries per pageSet Objects to Several objects per page; the margin beside the page shows where an object begins (Object boundaries )
A card has its back as a second pageBetween the pages, Join with the page before
The cards are a ruled list, one work per rowThe Table tool; each row becomes an object (Tables )
The artist’s name only appears on the title pageIn Assign field, choose all objects under Applies to (For all objects )
The cards are typed in Fraktur or written by handSet Text recognition to On the server or With the AI service and Language to German + Fraktur; handwriting in Latin script is read only by the AI service (Settings )
Many sections still have no fieldSuggest fields with AI above the document, where an AI account is set up (Suggest fields with AI )

Further reading