Setting up the OCR module

To enable text recognition on images and documents, enable the Text recognition policy.

  1. Go to the Policies tab.

  2. Open the Policies folder.

  3. In the Content Analysis folder, activate the Text Recognition engine. The policy settings window will open.

  4. Select the Policy is active checkbox.

Illustration 1 — Setting up the OCR module Illustration 2 — Setting up the OCR module
  1. Select policy application options:

    • Apply and Continue will start recognizing events that will occur after the scheduled launch of policies;

    • Apply to new events will start analyzing new events;

    • Apply to all events will rebuild the server to analyze both old and new events.

  2. Select a server for image processing:

Built-in OCR

Processes images on the iBatyr Monitor server.

Includes options:

  • Inverted Image Recognition: Recognizes text in upside-down images. Increases recognition time.

  • Languages: Russian, English. The more languages are selected, the greater the load and recognition time.

Recognition Server

When you select this option, iBatyr Monitor will send images to a separate server, so the load will be evenly distributed between the two servers. The server recognizes passports, stamps and faces. Requires additional resources, as it processes images separately from the main server.

Recognition server module — Tesseract: a simple, flexible and free library for basic OCR.

To enable the option Recognition server, set recognition server.

  1. Configure the file format for recognition. By default, application/pdf recognition is enabled. You can enable recognition of image/jpeg, image/png, or other document types such as screenshots.

Go to the Filters tab, then to Files → Content Type and select the file format in the search field:

Illustration 3 — Setting up the OCR module

Note

When recognizing, do not overload the server. Image recognition takes about 15s, a number of images in the queue will reduce the processing speed.