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 Name | Description |
|---|---|---|
| 1 | Step Name | Name of the step. This name has to be unique in a single workflow. |
| 2 | Match 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). |
| 3 | Click Types | Click Type has five options as below: |
| i. | Click | It performs left click action. |
| ii. | Right Click | It performs right click action. |
| iii. | Double Click | It performs double-click action. |
| iv. | Middle Click | It performs left Middle click action. |
| v. | Mouse Move | It performs Mouse Move action. |
| 4 | Position | It 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. |
| 5 | Image Index | Image index is generated by the image locator of surface spy. |
| 6 | Folder Path | Click Browse button and select the path where you want to save the image file. |
| 7 | File Name | Specify the name of the file. Select the type of file. For example, .jpg or .png. |
| 9 | Timeout(in seconds) | Specify a timeout in seconds to locate the image. |
| 10 | Image | View the selected image. |