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.

Action icon 

Settings 

Property Description Type Filling example Mandatory field
Parameters
Template ImageThe 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.ImageC:\doc\img.pngYes
Similarity rateRequired coefficient of similarity between the template image and the target area. The maximum value is «1»Robin.Numeric
Yes
Give centerIf 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 imageRobin.BooleantrueNo
Timeout (ms)The time during which the appearance of the specified object will be expected. Timeout is set in millisecondsRobin.Numeric
Yes
Results
CoordinatesA 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

  • Нет меток