Re: [Sikuli-driver] [Question #247134]: "from org.sikuli.script.natives import Vision" statement not working

2021-07-23 Thread RaiMan
Question #247134 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/247134

RaiMan posted a new comment:
--- 2.0.5

vision is no longer supported since many versions (not sure since when).

It was no longer relevant with the new implementation of OpenCV at the
Java level.

Just remove the 2 lines

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #247134]: "from org.sikuli.script.natives import Vision" statement not working

2021-07-23 Thread Richard Chubb
Question #247134 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/247134

Richard Chubb posted a new comment:
also does not work for 2.0.5.

Where is vision now located?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #247134]: "from org.sikuli.script.natives import Vision" statement not working

2018-10-26 Thread Michael Bvhm
Question #247134 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/247134

Michael Bvhm posted a new comment:
from org.sikuli.natives import Vision
Vision.setParameter("MinTargetSize", 6) # the default is 12.

returns error:
in  from org.sikuli.natives import Vision ImportError: cannot import 
name Vision 

..using Sikulix 1.1.4

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #247134]: "from org.sikuli.script.natives import Vision" statement not working

2016-11-07 Thread RaiMan
Question #247134 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/247134

RaiMan posted a new comment:
@Dmitry
thanks, but the docs for SikuliX 1.1.0+ are here:
http://sikulix-2014.readthedocs.io/en/latest/globals.html#advanced-settings-for-speed-and-robustness

... were it is correct.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #247134]: "from org.sikuli.script.natives import Vision" statement not working

2016-11-06 Thread Dmitry
Question #247134 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/247134

Dmitry posted a new comment:
for SikuliIDE 1.1.0 both imports are incorrect
"from org.sikuli.script.natives import Vision"
"from org.sikuli.basics.proxies import Vision"

the working one is "from org.sikuli.natives import Vision"
pls update docs

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #247134]: from org.sikuli.script.natives import Vision statement not working

2014-04-18 Thread Rafiq Mohammed
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.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #247134]: from org.sikuli.script.natives import Vision statement not working

2014-04-18 Thread RaiMan
Question #247134 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/247134

RaiMan proposed the following answer:
thanks for explanation of your experiences.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #247134]: from org.sikuli.script.natives import Vision statement not working

2014-04-18 Thread RaiMan
Question #247134 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/247134

Status: Open = Answered

RaiMan proposed the following answer:
You have overseen the changed import in the question ;-)

import org.sikuli.basics.proxies.Vision;

so instead of 
from org.sikuli.script.natives import Vision

use
from org.sikuli.basics.proxies import Vision

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #247134]: from org.sikuli.script.natives import Vision statement not working

2014-04-17 Thread Rafiq Mohammed
New question #247134 on Sikuli:
https://answers.launchpad.net/sikuli/+question/247134

Hi,
I am using the following code to enhance the robustness of sikuli.

from org.sikuli.script.natives import Vision
Vision.setParameter(MinTargetSize, 18)

My scripts were running fine with the previous version of Sikuli. After 
formatting my system, i installed the latest version of sikuli on my windows 7 
computer. This version of sikuli is giving me the following error when I am 
running the same script.

[error] script [ Register-Files ] stopped with error in line 18
[error] ImportError ( No module named natives )

Please advise on how to resolve this error.

Thanks,
Rafiq

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #247134]: from org.sikuli.script.natives import Vision statement not working

2014-04-17 Thread RaiMan
Question #247134 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/247134

Status: Open = Answered

RaiMan proposed the following answer:
see https://answers.launchpad.net/sikuli/+question/234821

Be aware: this will change again with version 1.1.0 later this year.
(see related bug)

What are your experiences with the usage of this parameter?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp