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: | | |
|---|
| 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 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: Select required objects (services, protocols, and event types). - 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). Enable OCR (ocr_enabled="true"). | Информация |
|---|
| 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 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. - Specify xml file within
CustomNodeXMLPath section of /opt/iw/tm5/etc/bookworm.conf file. - Specify the node name from
/opt/iw/tm5/node_name file file within <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 (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. |
|