A group of actions: Vision
This action is intended to wait for the appearance of an object that matches the specified template, and get its coordinates. If the transmitted image matches the image (s) on the screen, the coordinates of all found matches are returned.
Settings
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Template Image | The path to the image for recognition. The most effective use of files with the extension «.png» Valid extensions: «.jpeg», «.jpg», «.bmp», «.png», «.tif», «.tiff» If the algorithm did not find the file extension or the file type is not applicable, a warning will be displayed. | Robin.Image | C:\doc\img.png | Yes |
Similarity rate | Required coefficient of similarity between the template image and the target area. The maximum value is «1» | Robin.Numeric | Yes | |
Give center | If the parameter is «false», the action will return coordinates of the upper left corner of the image found on the screen, otherwise it returns coordinates of the center of the found image | Robin.Boolean | true | No |
Timeout (ms) | The time during which the appearance of the specified object will be expected. Timeout is set in milliseconds | Robin.Numeric | Yes | |
Results | ||||
Coordinates | A variable that will contain the coordinates of all found objects. The order in which the result collection is populated: first comes the object found closest to the top-left corner of the search area. If the object did not appear within the specified period of time, the error «Image not found» will be displayed. | Robin.Collection |
Обзор
Инструменты контента