The OCR technology allows you to convert hand-written, typed or printed text to text data. By default, the technology is disabled for all services, event types, and related protocols. OCR is OCR is used for analysis of: - analyzing intercepted Intercepted images,;
- analyzing images Images loaded as sample documents.
For the first case, iw_warpd is extracting The following processes are used for the technology operation: iw_warpd extracts data from containers , - included into intercepted objects
. As per analyzing images, compiler is creating digital traces compilercreates digital prints from downloaded sample documents. OCR enabling and configuring is performed within its configuration filesUsing the configuration files of these processes, you can configure OCR technology usage. For details, see Настройка OCR-экстракторов. If necessary, you can configure OCR to analyze intercepted images. The following methods of configuring OCR are available: Configuring interception at the level of:Interception level | Settings apply to the content of events | Priority of the setting |
|---|
| Service | Received | by | via 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 | via protocol of this event type (if OCR settings are not specified for these protocols) | Medium | | Protocol for a particular event type | Received | by | via the selected protocol for the specified event type | High |
OCR settings are specified in the directory of iw iw_bookworm daemon, in /opt/iw/tm5/etc/config-perm/bookworm catalogue: ocr.xml - – preset settings;ocr_custom.xml - – custom settings for a specific type of implementation.
| Предупреждение |
|---|
| 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 remain within the ocr_custom.xml file. |
Enabling OCR technology when implementing the SystemYou can enable using OCR technology when you implement the System. For this, modify the ocr_custom.xml file (for details see Конфигурационный файл ocr_custom.xml) the following way: Select required objects: services, protocols, and event types1. - Set identifiers for service directory objects and event types (files with a description are located in the
/opt/iw/tm5/etc/config/bookworm/ catalogue). Enable OCR (ocr_enabled="true").
| Информация |
|---|
| 1 New event types registered via plugins are added to /opt/iw/tm5/etc/config/bookworm/services.xml. They can be processed or moved to the ocr_custom.xml file. | Set identifiers for service directory objects and event types (files with a description are located in the /opt/iw/tm5/etc/config/bookworm/ catalogue).Enable OCR (ocr_enabled="true").Configuring OCR on several nodesIf you need to enable OCR on several server instances (for a distributed installation), you should set rules for each instance. For this: - In catalogue
/opt/iw/tm5/etc/config-perm/bookworm, create a new XML file that will describe the node. - Specify created xml-the created XML file in
CustomNodeXMLPath section of configuration file /opt/iw/tm5/etc/bookworm.confSpecify . - In
<ocr_option node> parameter, specify instance name from file /opt/iw/tm5/node_namein <ocr_option node> parameter file. - Define overridable rules for the instance as described above.
| Информация |
|---|
| In this case, settings have the following priority (in descending order): a directory - Catalogue with settings for the server instance
-> a directory - ;
- Catalogue 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 remain within the ocr_custom.xml file. - ;
- Catalogue with preset settings.
|
|