← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #273957]: How to run sikuli script in slow motion using Command line

 

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

Dwarika posted a new comment:
i want the script to be robust ..it is giving intermittent error. some
time its working fine and some time not. i got below solution but not
sure where to add this parameter , i mean in which file.

Sikuli is too slow or not robust. What can I do?
You can tune a parameter of the vision algorithm, MinTargetSize, to speed up the matching process or make it more robust.

1from org.sikuli.script.natives import Vision
2
3Vision.setParameter("MinTargetSize", 6) # A small value such as 6 makes the matching algorithm be faster.
4Vision.setParameter("MinTargetSize", 18) # A large value such as 18 makes the matching algorithm be more robust.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.