IMAGESEARCH
Top  Previous  Next


Searches for the the input image specified via the IMAGE attribute. The input image is searched on the currently displayed website using image recognition algorithms. CONFIDENCE specifies how close the found image must match the input image. A value of 100 means exact match. This command is only available if the Image Recognition Plugin is installed. If the input image is not found at the given confidence level, an error occurs.
If the image is found,
!IMAGEX and !IMAGEY hold the coordinates of where it was found.

Syntax

IMAGESEARCH IMAGE=image_file CONFIDENCE=n  


Parameters

IMAGE
The path to the image to be searched.

CONFIDENCE
The confidence level, i.e. level of similarity between the input and the remote picture. Must between 1 and 100.


Examples

Example macro: Demo-ImageRecognition


See Also

WINLCLICK, IMAGECLICK



Page URL http://www.iopus.com/imacros/help/cmd_imagesearch.htm