← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #270374]: Questions on functional capabilities of Sikuli

 

Question #270374 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/270374

    Status: Open => Answered

RaiMan proposed the following answer:
--- As far as I can understand, not only I can manipulate the image
recognition code but also I can set the system to use another algorithm,
is that correct?

no, that is not correct: the "image recognition code" is fixed by the implementation. Am image search with a given image either succeeds (found) or fails (not found) with the given minimal wanted similarity.
About the magic behind the scenes read:
http://sikulix-2014.readthedocs.org/en/latest/basicinfo.html#sikulix-how-does-it-find-images-on-the-screen

--- image recognition failure mitigation
the image search functions in the API either throw an exception (wait, find) or return a null match (exists). For the actions in case of not found you are completely responsible yourself by providing code, to handle these situations.
The implementation currently does nothing else, then repeatedly retry the search until the given maximum wait time is reached.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.