Sikuli has few statically defined variables that have default values assigned to them but can be changed to fit specific needs. Below I will list the most useful settings:
ImagePath.setBundlePath
Sets the default path where the images are located.
Java:
ImagePath.setBundlePath("C:/temp/");
Python:
bundlePath = "C:\\temp"
Settings.MinSimilarity
Sets the minimal similarity score.
The default is 0.7. I recommend to change that to at least 0.9.
Java:
Settings.MinSimilarity = 0.90;
Python:
MinSimilarity = 0.90
Comments
Post a Comment