Using Capture image by path action

Use the Capture image by path action to extract text from an image on a device or a folder in the Control Room. The extracted text can assigned as a variable.

Procedure

Follow these steps to use the Capture image by path action:

  1. In the Actions palette, double-click or drag the Capture image by path action from the OCR package.
  2. In the Image path field, select an option:
    • Control Room file: Uses a file that is available on the Control Room.
    • Desktop file: Uses a file that is available on a device.
    • Variable: Uses a file variable to specify the file location.
    Note: If you use a high resolution image, text extraction by OCR might be partial or inaccurate. For best results while extracting text from an image using OCR, ensure that you use images with lower resolution (such as 200 dpi or 300 dpi).
  3. Select the Filter the captured text check box to filter the captured text.
    Specify the text to filter out in the Before and After fields. For example, if the extracted text is Name: ABC Inc. Location:, to retrieve ABC Inc., you must specify Location: in the Before field and Name: in the After field.
  4. Select the Trim the captured text check box to trim the extra spaces.
  5. Select the Load Profile check box and select an option to load the locale based on the ABBYY profile:
    Note: ABBYY FineReader 12.2.27.12 is installed along with A2019 and does not require any additional setup.
    • Control Room file: Uses a file that is available on the Control Room.
    • Desktop file: Uses a file that is available on a device.
    • Variable: Uses a file variable to specify the file location.
  6. In the Select locale list, select the language of the device.
    Note: Currently, only English, Japanese, and Russian locales are supported. If you have selected an option from the Select locale list and the Load Profile option, the system considers the locale based on the Load Profile selection.
  7. In the Assign value to variable list, select a string variable.
  8. Click Save.