← Back to team overview

sikuli-driver team mailing list archive

[Question #220076]: Best way to recognize an image

 

New question #220076 on Sikuli:
https://answers.launchpad.net/sikuli/+question/220076

Hi I am facing a strange behaviour on Sikuli, and don't know how to fix.
I am using a Sikuli script on a Citrix Environement to open a Java application. The script is on the citrx server and it is launched by an application that is on the same server. I tested the script from many laptops and it works fine.  When I launch the script from some PC, images on the Java application are not always recognized. So my questions are:

1) What is the best way to search image on a screen? Take all image or only a small part that has something that is different from the rest?

2) How to deal when it is not found but I know that image is there. If I use exists() I don't get error and the script go on?

3) If I restrict the search to a small region where I am sure image is there can I use smaller similarity to avoid problem recognition?

Thanks a lot
andrea

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