Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space TMAG and version 6.10

...

Sv translation
languageen

The OCR technology allows you to convert hand-written, typed or printed text to printed data. By default, the technology is disabled for all services, event types, and related protocols. OCR is used for:

  • analyzing intercepted images,
  • analyzing images loaded as sample documents.

For the first case, iw_warpd is extracting data from containers, included into intercepted objects. As per analyzing images, iw_sample_compiler is creating digital traces from downloaded sample documents. OCR enabling and configuration is performed within its configuration files. For details, see "Configuring OCR Extractors".

If necessary, you can configure OCR to analyze intercepted images. The following methods of configuring OCR are available:

Configuring interception at the level of:
Settings apply to the content of events
Priority of the setting
ServiceReceived by protocols of event types which belong to this service (if OCR settings are not specified for these event types or protocols)Low
Event type for a particular serviceReceived by protocol of this event type (if OCR settings are not specified for these protocols)Medium
Protocol for a particular event typeReceived by the selected protocol for the specified event typeHigh

OCR settings are specified in the directory of iw_bookworm daemon, in /opt/iw/tm5/etc/config-perm/bookworm catalog catalogue:

  • ocr.xml  - preset settings;
  • ocr_custom.xml  - custom settings for a specific type of implementation.

You can To enable using OCR technology when you implement the System . For this, modify the you should amend the file ocr_custom.xml (for more details, please see. "Configuration file ocr_custom.xml file the following way") namely: 

  1. Select required objects (services, protocols, and event types).

     

    Информация
    titleNote:

    New event types registered via plugins are added automatically to /opt/iw/tm5/etc/config/bookworm/services.xml. They can be processed or moved to the ocr_custom.xml file.

  2. Set identifiers IDs for service directory objects and event types (files with a description are located in the /opt/iw/tm5/etc/config/bookworm/ catalog catalogue).
  3. Enable OCR (ocr_enabled="true").

    Информация
    titleNote:

    To enable OCR for all the levels at once (service, event type for a particular service and protocol for a particular event type) it is required replacing <ocr_options node="*" ocr_enabled="false"> with <ocr_options node="*" ocr_enabled="true"> within the lower line of ocr_custom.xml.

If you need to enable OCR on several server instances (for a distributed installation), you should set rules for each instance. For this:

  1. In instanceCtreate new xml file or use ocr_custom.xml to describe the node in /opt/iw/tm5/etc/config-perm/bookworm , create a new XML file that will describe the server. In the <ocr_option node> parameter, specify the server instance from the catalogue.
  2. Specify xml file within CustomNodeXMLPath section of /opt/iw/tm5/etc/bookworm.conf file.
  3. Specify the node name from /opt/iw/tm5/node_name file file within <ocr_option node> parameter.
  4. Define overridable rules for the instance as described above.
Информация
titleNote:

In this case, settings have the following priority (in descending order): a directory with settings for the server instance -> a directory with custom settings -> a directory with preset settings.

Предупреждение
titleImportant!

When you update the System to current version (6.10), OCR parameters are reset to preset ones. In case you add or change OCR functional capacity, the new settings to will be available within the ocr.xml file. User settings are remain within the ocr_custom.xml file.