sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #25354
Re: [Question #247134]: "from org.sikuli.script.natives import Vision" statement not working
Question #247134 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/247134
Status: Answered => Open
Rafiq Mohammed is still having a problem:
Hi RaiMan,
I included the following code as suggested:
FileManager.loadLibrary("VisionProxy")
Vision.setParameter("MinTargetSize", 18)
I received the following error when executing this code:
[error] NameError ( name 'FileManager' is not defined )
Then I used the following code:
find(img)
Vision.setParameter("MinTargetSize", 18)
And again I received the same error:
[error] NameError ( name 'Vision' is not defined )
Could you please let me know what is that I am doing wrong.
Regarding my experience with the usage of MinTargetSize...I do not have any hard data to support my claim, but I feel that the robustness of sikuli script increased after I set the value 18. However, the script still occasionally fails to find images that it regularly finds otherwise. But after increasing MinTargetSize, I feel that the failure rate has decreased.
Thanks,
Rafiq
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.