OCR package
- Updated: 2023/05/24
OCR package
The OCR package contains actions that enable you to extract text from images or applications.
The
OCR
package enables you to:
- Extract text from a window or a specific area of an application.
- Extract text from images or files stored on a local machine, a website, or the Control Room folder.
- Filter extracted text and store it as a variable.Note: You can extract text from images in .jpeg, .jpg, .bmp, .gif, and .png formats.
ABBYY FineReader 12.2.27.12 is installed along with A2019 and does not require any additional setup.
Actions in the OCR package
The OCR package includes the following actions:
Action | Description |
---|---|
Capture image by path | See Using Capture image by path action. |
Capture image by url | See Using Capture image by URL action. |
Capture window | See Using Capture window action from OCR package. |
Capture area | See Using Capture area action from OCR package. |
Note:
Below is a sample .ini template file that you can use to load
profiles. You can use the parameters and set their values, as required. You can
also add new parameters supported by ABBYY Fine Reader
Engine.
For detailed information about pre-defined profiles
specifications, see ABBYY Profiles.;Sample parameter1
[BarcodeParams]
;Parameter value
EnableAdvancedExtractionMode=True
;Sample parameter2
[ObjectsExtractionParams]
;Parameter value
DetectTextOnPictures=True
Secure recording
When secure recording mode is enabled, bots do not display the target
object images after capture. This ensures that sensitive data is not shown.
Note: Although the bots do not display the target
images after capture, the images are still stored in the Control Room because they are required to run the bots.
When you record a task in secure recording mode, the Preview window temporarily shows an image of the captured area. This image is hidden after you navigate away from the Bot editor window or refresh it.
For new automations, when you capture
objects in secure recording mode, you can choose to automatically delete the values
of the unused object properties by enabling the Automatically delete
unused object properties on save option. When you enable this
option, the values of the object properties that are not a part of the search
criteria will be discarded when you save the automation and refresh it. This ensures
that personally identifiable information (PII) is not accidentally stored in the
automation. For more information on how to enable the secure recording settings, see
Secure recording.
Note: If you are using Generative Recorder to automate your
tasks, and you have enabled the Automatically delete unused object
properties on save option, then the Generative AI fallback is
not supported.
Note:
- This capability is supported with Recorder package (version 3.2.1-20240606-105427 and later) and Bot Agent (version 22.60.23 and later).
- If you want to use this option in your existing automation, you must recapture the controls.
- The value of the Left, right, height, and width properties will not be discarded.
A user with admin privileges must enable this setting. See Configure Settings.