Skip to main content

Surface Retrieve Image

Description

The Surface Retrieve Image gets or fetches the selected region of the screen as an image using the default surface choices, that is, captured or provided image and relative position attributes in step.

It will generate an image in different formats, including jpg, jpeg, png, and BMP, in a provided filename and location.

This retrieved image is further used in other OCR steps to get or fetch text from the image.

Configurations

No.Field NameDescription
1Step NameName of the step. This name has to be unique in a single workflow.
2Match Pattern
- Retrieve Single closest match: It searches for and retrieves a single closest match. If the image is not found or multiple matches are found, then it throws an error.
- Retrieve Multiple close matches: It searches for matching patterns and retrieves the closest matches.
- Retrieve All matches: It searches for and retrieves all matches (not below 50% or above 150% of the original size).
3Click TypesClick Type has five options as below:
i.ClickIt performs left click action.
ii.Right ClickIt performs right click action.
iii.Double ClickIt performs double-click action.
iv.Middle ClickIt performs left Middle click action.
v.Mouse MoveIt performs Mouse Move action.
4PositionIt is the position on the selected image to perform the action.The only position that is available is, Custom.Custom is the relative position from the entire image.
5Image IndexImage index is generated by the image locator of surface spy.
6Folder PathClick Browse button and select the path where you want to save the image file.
7File NameSpecify the name of the file. Select the type of file. For example, .jpg or .png.
9Timeout(in seconds)Specify a timeout in seconds to locate the image.
10ImageView the selected image.