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

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

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: 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.

To enable OCR technology when you implement the System you should amend the file ocr_custom.xml (for more details, please see. "Configuration file ocr_custom.xml") 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 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").

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

  1. Ctreate new xml file or use ocr_custom.xml to describe the node in /opt/iw/tm5/etc/config-perm/bookworm 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 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 will be available within the ocr.xml file. User settings are remain within the ocr_custom.xml file.