Use the Capture image by url
action to extract text from an online image. You can filter the extracted text
and assign it to a string variable.
Procedure
Follow these steps to use the Capture image by url
action:
-
In the
Actions
palette, double-click or drag the
Capture image by url
action from the
OCR
package.
-
In the Image url field, specify the URL.
Note: A URL of an image on a shared drive or an FTP server is not supported.
-
Select the Filter the captured text check box to extract a
specific substring from the captured text.
In the After field, enter the text that precedes your
target string. In the Before field, enter the text that
follows your target string. For example, if the extracted text is Name:
ABC Inc. Location:, and you want to retrieve ABC
Inc., you must specify Name: in the
After field and Location: in
the Before field.
-
Select the Trim the captured text check box to remove
leading and trailing spaces from the extracted text.
-
Select the Load Profile check box and specify the location
of the ABBYY profile file.
Note: ABBYY FineReader 12.5.15.7 is
installed along with Automation 360 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.
-
In the Assign value to variable list, select a string
variable.
-
Click Save.