The OCR technology allows you to convert hand-written, typed or printed text to printed text 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 configuring 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: | | |
|---|
| Service | Received 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 service | Received by protocol of this event type (if OCR settings are not specified for these protocols) | Medium | | Protocol for a particular event type | Received by the selected protocol for the specified event type | High |
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 enable using OCR technology when you implement the System. For this, modify the ocr_custom.xml file (for details see "Configuration File ocr_custom.xml file ") the following way: Select required objects (: services, protocols, and event types). - Set identifiers for service directory objects and event types (files with a description are located in the
/opt/iw/tm5/etc/config/bookworm/ catalog catalogue). Enable OCR (ocr_enabled="true"). | Информация |
|---|
title | Note: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: - In instancecatalogue
/opt/iw/tm5/etc/config-perm/bookworm, create a new XML file that will describe the servernode. - In the
<ocr_option node> parameter, specify the server instance from the Specify created xml-file in CustomNodeXMLPath section of configuration file /opt/iw/tm5/etc/bookworm.conf - Specify instance name from file
/opt/iw/tm5/node_name filein <ocr_option node> parameter. - Define overridable rules for the instance as described above.
| Информация |
|---|
| 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. |
| Предупреждение |
|---|
| When you update the System to current version, OCR parameters are reset to preset ones. In case you add or change OCR functional capacity, the new settings to be available within the ocr.xml file. User settings are remain within the ocr_custom.xml file. |
|