Tutorial Abbyy Recognition Server (en)

Aus Kallimachos
Version vom 18. August 2017, 10:23 Uhr von Jonathan (Diskussion) (Specifics of print type Gothic when drawing a new text box)
Wechseln zu:Navigation, Suche
[bearbeiten]

Tutorial Abbyy Recognition Server

Installation and Configuration of Recognition Server

Please note: This documentation concerns to the prerequisites and specifics wich aren't described comprehensively in the Abbyy Recognition Servers manual, regarding to the magazine "Daheim" and comparable digitized media.

Installationsdialog.png


These settings can be accepted as provided. It saves time-consuming troubleshooting.

Minimal prerequisites are:

  • Server Manager
  • Verification Station

Choosing the user account the server is running

Benutzerkonto.png


The Recognition Server manual is related to a Windows environment and Windows network shares. If the OCR results should be saved onto a network share, you need to select a user with privileges on accessing the network. The local system account has comprehensive privileges on the local machine, but none on the network. It's advisable to choose the network service account. In our case we had Novell domain and Novell network shares. These seem to be incompatible in this case. The error message of Recognition Server was cannot access drive xxx (the network share). Thus we saved the OCR results on the local server and copied them onto a network share by using a synchronizing programm.

Creating a Workflow

Creating the folder structure

It's advisable to create a folder structure like the following:

Ordnerstruktur.PNG


  • _Input
    • Scans are copied or moved into this folder
  • _Output
    • OCR results are saved in these subfolders with the corresponding file format

Share the Daheim-folder

  • right button click on the folder
    • share -> extended share
    • extended share
    • set checkbox on share this folder
    • privileges
      • choose the user(s) that may have access to


These users have to be an account with password on the server

  • remove everyone
    • add
      • extended
        • search now
        • choos user
        • OK -> OK
      • activate privileges
        • change
        • read


Mount the higher folder, e.g.Daheim as network share on computers installed with Verification Station.

  • open Windows-Explorer
    • extras
    • mount network share
      • choose drive letter
      • insert the path to the server, e.g. IP-address\shared folder
      • reconnect during login
      • finish

Workflow settings

Erweiterte Workfloweinstellungen.png


Explanation of "Entzerren/dewarping"

This option arranges the picture on the basis of straight lines. If they are like in this example, a trapeze-shaped flag, the result looks like this:


Daheim-Titelseite gerade.png



Daheim-Titelseite schief.png


That's why you should deactivate the checkbox Entzerren/dewarping

Quality check

Documents with simple text formatting, e.g. continuous text, you may choose "Keine Überprüfung/No check".


Fließtextseite.png


Documents with more sophisticated formatting the option "Alle Dokumente überprüfen/Check all documents" should be activated.


Komplexe Formatierung.png

Insert training data

Create training file for characters

If the Abbyy Recognition Server doesn't recognize certain characters, a training file can be created in FineReader, exported as .fbt-file and imported in the Recognition Server. A demo version of FineReader can be downloaded on the Abbyy-homepage.

In order to create a training file, e.g. for the Gothic type, set the checkbox "Use training in order to recognize new characters and ligatures". Now click on "read page". A dialog field opens.


Training Benutzermuster.png


In this case the letter "M" wasn't recognized properly. Extend the box by using the open double arrow >> until the M is completely covered. Following click on "Training". If there is more than one letter boxed, execpt on ligatures, you can shrink the box by using the closing double arrow << until the single letter is covered on it's own.


Mustertraining.png


Mustertraining 2.png


The training can be finished at anytime. When you are finished, click on Close

The trained letters can be reviewed by

  • Tools
    • Pattern Editor


Their properties like bold or italic style can be set as well.


Benutzermuster.png


In order to check it the accuracy of the OCR you can OCR some documents with and without your custom training.

The training file can be exported to Recognition Server by clicking on

  • Tools
    • OCR
      • userdefined pattern
        • save language


and then add this file like described in the workflow settings.


Benutzermuster Explorer.png
Benutzermuster hinzufügen.png

Specifics

Page numbers not displayed

If there's a text box without page numbers, even though it is enclosed, the font color is often too similar to the background color. Click on the double arrow like shown in the picture to open the menu, click into the color box and choose black.

Nicht eingelesene Seitenzahlen Schriftfarbe.png


Specifics of print type Gothic when drawing a new text box

Everytime a new text box is created, the print type is set to default, which only includes "normal" print types. If there is gothic to be recognized, the check on Gothic has to be set.

Neue Textbox.png


After this you need to check the reading order and correct it.

Settings in Verification Station

Spell Checking

The verification station has a built-in spell check, that can be invoked by clicking the corresponding button. As the spell check is quite faulty, sooner or later error messages appear (see Error messages). Alternatively, a regular text-file with UTF-16 can act as dictionary when you apply it in the workflow settings (see W'orkflow settings 2nd tab -> Benutzerdefiniertes Wörterbuch verwenden/add user defined dictionary)

It's added on tab 2 Verarbeitung/Processing.

Rechtschreibprüfung.PNG

Error messages ...

occur when:

  • using the clipboard (copy & paste)
  • using the spell checking
  • quite rarely during the runtime

These are bugs in the program.


Abbyy Fehlermeldungen 1.png