12. Menu OCR
add chapter

12.1 OCR Attributes
add section

Depending on the OCR engine used (ABBYY or Tessseract), you specify the OCR attributes that BCS-2 uses to process an image.

Set global OCR attributes: BCS-2 always uses this configuration when no job or page-specific settings are made or the OCR settings are controlled by the job index.

 Set OCR attributes for current Job: BCS-2 uses the configuration for the OCR processing of the current job.

 Set OCR attributes for current page: BCS-2 uses the configuration only for OCR processing of the current page.

Reset global OCR attributes: BCS-2 resets the OCR attributes to the application’s original default values.

Reset OCR Attributes of current Job: BCS-2 resets the OCR attributes to the global settings.

Reset OCR Attributes of current Job-Page: Resets the OCR attributes to the job-specific or global settings.

12.2 Configure OCR Attributes
add section

Since the OCR engines offer a wide range of configuration options, use the drop-down list below the “OCR attributes” to select an experience level (beginner, intermediate, expert). This is how you limit the number of configuration options.

The attributes for the OCR engines are preconfigured, so you usually only need to specify the language and, in the case of ABBYY, the font.

 If you do not select the correct font and language, the result of the OCR will be correspondingly poor.


 When configuring Tesseract, note that "Run LSTM only." is selected as "OcrEngineMode". In addition, in the OCR settings for the workflow, activate the mode "when performing OCR for the whole page: keep the resulting OCR-Doc-Object for later use (zoned OCR...)".


12.3 Perform OCR
add section

 Perform OCR for marked area: BCS-2 only performs text recognition for the selected area on the image.

 Perform OCR for current page: BCS-2 carries out the text recognition for the entire page.

OCR Current Job-Page and show OCR-Segments: BCS-2 performs text recognition for the entire page and then displays the segments (areas) recognized by the OCR engine.

Edit OCR text of current page: Calls the text editor to correct or copy the OCR full text.

 Only the runningy text is corrected, errors remain in the other output formats (e.g. PDF, Alto, IWCOCR-eL).

12.4 Zoned OCR
add section

The function “zoned OCR to clipboard” is available in the context menu of the viewer for the direct transfer of texts to the clipboard.

With this technique it is easy to generate OCR data and assign corresponding objects (nodes) or indices:

  • In the structure tree: Right-click on the respective node and select “Insert text from ClipBoard”.
  • In the job index: Transfer to the last active field.
  • Anywhere: Select the element and use CONTROL-V to insert the text content of the clipboard.

12.5 Speech output of OCR texts
add section

BCS-2 reads OCR texts aloud.

Voice output is possible at the following points:

  • Zoned OCR to clipboard: Press CTRL while dragging, then BCS-2 will read the text.
  • OCR editor (OCR result dialog): There is a corresponding button that opens the text-to-speech dialog.
  • OCR editor (displayed): There is a corresponding button that opens the text-to-speech dialog.

In the open text-to-speech dialog, it is possible to change the language, provided it has been installed in the respective Windows system.

Furthermore, the text itself can also be changed, i.e. you can insert any texts via copy and paste in the open text-to-speech dialog as a test, in order to output texts in other languages via the speech function.

12.6 OCR additional functions
add section

The additional OCR functions are only available after a successful OCR run.

Highlight OCR Blocks: Displays blocks recognized by the OCR on the image.

Highlight OCR ParagraphsDisplays paragraphs recognized by the OCR on the image.

Highlight OCR Lines: Displays lines of text recognized by the OCR on the image.

Highlight OCR words: Displays words recognized by the OCR.

The following applies to all additional OCR functions: With a mouseover over the marked areas, BCS-2 displays the determined OCR information.

Highlight OCR Characters: Highlights all symbols and letters recognized by the OCR.

Search in OCR texts: The prerequisite is that the OCR text is available in IWC-DOK format. This is the case with OCR texts that you generate via the shortcut “O” or via the “Job” menu > “Execute operations on the job”. You can open the search form by clicking on the shortcut “ctrl + F”.

BCS-2 marks the matching entries found in yellow:

 ABBYY 10/12: When creating PDFs from OCRs, make sure that the "Overwrite Image Resolution" and "Correct Skew" functions are disabled in the "PrepareImageMode" section of the OCR settings. This prevents the OCR engine from resizing scans configured via BCS-2. Also note that fracture clicks are not visible in BCS-2.To check the remaining number of fracture clicks, open "ABBYYLicenceManager.exe" in the directory "C:\Program Files (x86)\ImageWareComponents\Abbyy_12_Engine\fr12\Bin64" or
"C:\Program Files (x86)\ImageWareComponents\Abbyy_10_Engine\fr12\Bin64". The OCR for black letter must be licensed by ABBYY for a fee. The black letter clicks are deducted separately from the stick. As soon as Gothic type is stored as a font in the OCR attributes, blck letter clicks are deducted for each OCR run!

12.7 OCR processing with ABBYY of large or many jobs
add section

When using ABBYY-OCR, the OCR run is aborted and BCS-2 is terminated if you are processing many jobs or jobs with very large and many images at the same time. The cause is the memory not fully released by the OCR engine.

With smaller (up to 100 pages) and few OCR jobs per day, this does not lead to restrictions.

But are you editing

  1. large and many OCR jobs,
  2. large images with black letter OCR,
  3. or OCR for bad/difficult originals (e.g. yellowed paper, smeared print, stains or microfilm scans)

crashes will happen occasionally.

To avoid this, we recommend:

  1. Close all other programs when processing such jobs.
  2. Only batch process a limited number of OCR jobs at a time. Split large OCR jobs into small chunks of 100 or 250 pages for batch processing.
  3. Make sure that your PC has “at least” twice the amount of storage space available for the largest job so that ABBYY can swap out the interim result.
  4. Start BCS-2 or have it restarted regularly.

If you frequently carry out data-intensive job operations, please contact our support. We would be happy to advise you on automatic OCR overnight without operators.

In general, ABBYY does not recommend a maximum job size. However, the OCR engine was designed for clients and typical client applications. As a rule of thumb, jobs with up to 100 pages run without problems. ABBYY offers a server solution for data-intensive jobs.

12.8 Remove OCR Breaks
add section

If the OCR recognizes breaks, then these are usually also contained in the OCR text.

However, this does not apply if the OCR text is subsequently fetched from the internally available IW OcrDoc object:

Only the word list is searched in this case and all words belonging to an area are returned, separated by blanks.

It depends on the way the specific OCR text is obtained in the application.

If it is fetched by direct OCR, i.e. without the IW-OcrDoc (by a direct ABBYY run), then the breaks are present.

Adjustments concerning release 6.4.6:

  • If an OCR text from an area is assigned to an index using the area properties dialog, line breaks are replaced by spaces.

A general removal of breaks does not make sense.

What else can be done:

If OCR results are used in scripts, you can make the appropriate substitutions in the script.


If the script variable “str” ​​contains a character string that also contains breaks, these can be removed by using str.replace(„\n“, “ „).

Instead of the expression str, use str.replace(“\n”, ” “).