This is an old revision of the document!
Table of Contents
Find image
This action allows you to search for an image on the screen, on a window or on another image.
[Added in Actionaz 3.2.0.]
Standard parameters
Input parameters
Source
The source of the image where to search.
- Screenshot (search on the screen)
- Window (search on a window)
- Image (search in another image)
Window title
The title of the window where to search. You can use wildcards here like * (any character) or ? (one character).
Image where to seach
The path of the image where to search.
Output parameters
Position
The name of the variable where to search for the image. If the image cannot be found an exception is triggered.
Advanced parameters
Input parameters
Window relative position
The position is relative to the window. If this parameter is set to false (not checked) then the position is absolute.
Confidence minimum
The minimum confidence percentage required to select a possible matching image.
Maximum matches
The maximum matching images count. Setting this parameter higher will increase the duration of the search.
Down pyramid count
The number of down pyramids to use. A pyramid is a subdivision of the image used to accelerate the search. Enter 1 here if the searched image is not very different from the source image.
Search expansion
The number of pixels to shift when searching for another matching image.
Exceptions
Error while searching
<BOOKMARK:errorwhilesearching>
This exception is thrown when an error occured while searching.
- Default action: stop the script execution
Cannot find the image
<BOOKMARK:cannotfindimage>
This exception is thrown when the image cannot be found.
- Default action: stop the script execution