[Sikuli-driver] [Question #275295]: Finder returns matches no matter the color of the image

2015-11-23 Thread LuisBow
New question #275295 on Sikuli:
https://answers.launchpad.net/sikuli/+question/275295

I have been using a couple of SIkuli functionalities to automate GUI testing. I 
learned about the Finder class recently and have been testing, but I think the 
returned matches do not take color into consideration. I try to match an image 
with a green background to the same image but with a white background and it 
returns 0.949 similarity, making it very difficult to come up with a way to 
determine which match is the correct one. 

Is there a work-around to this or a way I can bring color into the decision 
process?

Thanks

-- 
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 #274068]: Is Sikulix 1.1 using the latest version of Tesseract OCR?

2015-11-23 Thread RaiMan
Question #274068 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/274068

Status: Open => Answered

RaiMan proposed the following answer:
Yes it uses the latest version.

The problem: the implementation is unchanged since 4 years and will only
be optimized in version 2 of SikuliX.

You might either try with the Tesseract from command line or enhance the
respective image according to Tesseract's rules before trying to read
the text.

Since you are talking about Finder windows: you can access the file
system directly with python features (list directories e.g.) - no need
to do that visually.

-- 
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


[Sikuli-driver] [Bug 1518895] Re: [1.1.0] Linux: JXGrabkey: [xcb] Unknown sequence number while processing queue

2015-11-23 Thread RaiMan
This is still pending, but again looking into the debug output in the
issue, I now realized this:

[error] Hot key conflicts
[error] HotkeyManager: addHotkey: failed

so in the issue case, this might be the problem.

I remember jxgrabkey having some problems with this.

Is there a way to check what hotkeys are implemented and conditionally
add the hot keys with try except?

not with the SikuliX builtin features.

But if this error happens, the addHotkey() should return false.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1518895

Title:
  [1.1.0] Linux: JXGrabkey: [xcb] Unknown sequence number while
  processing queue

Status in Sikuli:
  New

Bug description:
  I keep getting the following error irregularly while running sikuli
  tests:

  [xcb] Unknown sequence number while processing queue
  [xcb] Most likely this is a multi-threaded client and XInitThreads has not 
been called
  [xcb] Aborting, sorry about that.
  java: ../../src/xcb_io.c:274: poll_for_event: Assertion 
`!xcb_xlib_threads_sequence_lost' failed.
  Aborted (core dumped)

  I am importing a class from a module and it uses the __init__ method
  to call  a function that adds hotkeys and the complementary __del__
  method to remove the hotkeys.

  I noticed this issue on github
  (https://github.com/RaiMan/SikuliX-2014/issues/144), but I am running
  1.0.1 because I haven't migrated to 1.1.x yet.

  Is there an alternative for 1.0.1 to runsikulix?
  Or /
  Do you just know how to fix this problem?

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1518895/+subscriptions

___
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 #273859]: How can I bypass: AttributeError ( 'reflectedfunction' object has no attribute 'from_iterable' ) ?

2015-11-23 Thread RaiMan
Question #273859 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273859

RaiMan proposed the following answer:
I guess, that the itertools module is not compatible with the Jython
used in 1.0.1 (2.5.4).

try with 1.1.0 or simply try with plain Jython before investing in such
special code.

-- 
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 #274798]: Use of the additional .py file created on export executable

2015-11-23 Thread RaiMan
Question #274798 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/274798

Status: Open => Needs information

RaiMan requested more information:
what version of SikuliX ?

BTW: why do you use this feature (simply a zipped version of the
respective .sikuli folder)?

-- 
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 #274798]: Use of the additional .py file created on export executable

2015-11-23 Thread Ruben
Question #274798 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/274798

Status: Needs information => Open

Ruben gave more information on the question:
We are using 1.1.0 (2015-10-05_17:07) version of Sikulix, we just
downloaded the last version in
https://launchpad.net/sikuli/sikulix/1.1.0

We use this feature just because Sikuli IDE allows us to and it's an
automated process (creating the zipped version of the respective .sikuli
folder and changing its extension to .skl), it's easier to our QA team
to execute those tests out of the IDE.

-- 
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 #272748]: [xcb] Unknown sequence number while processing queue

2015-11-23 Thread RaiMan
Question #272748 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/272748

Linked to bug: #1518895
https://bugs.launchpad.net/bugs/1518895
"[1.1.0] Linux: JXGrabkey: [xcb] Unknown sequence number while processing 
queue"

-- 
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 #272748]: [xcb] Unknown sequence number while processing queue

2015-11-23 Thread RaiMan
Question #272748 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/272748

Status: Answered => Solved

RaiMan changed the question status:
I made it a bug.

-- 
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


[Sikuli-driver] [Bug 1518895] [NEW] [1.1.0] Linux: JXGrabkey: [xcb] Unknown sequence number while processing queue

2015-11-23 Thread RaiMan
Public bug reported:

I keep getting the following error irregularly while running sikuli
tests:

[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been 
called
[xcb] Aborting, sorry about that.
java: ../../src/xcb_io.c:274: poll_for_event: Assertion 
`!xcb_xlib_threads_sequence_lost' failed.
Aborted (core dumped)

I am importing a class from a module and it uses the __init__ method to
call  a function that adds hotkeys and the complementary __del__ method
to remove the hotkeys.

I noticed this issue on github
(https://github.com/RaiMan/SikuliX-2014/issues/144), but I am running
1.0.1 because I haven't migrated to 1.1.x yet.

Is there an alternative for 1.0.1 to runsikulix?
Or /
Do you just know how to fix this problem?

** Affects: sikuli
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1518895

Title:
  [1.1.0] Linux: JXGrabkey: [xcb] Unknown sequence number while
  processing queue

Status in Sikuli:
  New

Bug description:
  I keep getting the following error irregularly while running sikuli
  tests:

  [xcb] Unknown sequence number while processing queue
  [xcb] Most likely this is a multi-threaded client and XInitThreads has not 
been called
  [xcb] Aborting, sorry about that.
  java: ../../src/xcb_io.c:274: poll_for_event: Assertion 
`!xcb_xlib_threads_sequence_lost' failed.
  Aborted (core dumped)

  I am importing a class from a module and it uses the __init__ method
  to call  a function that adds hotkeys and the complementary __del__
  method to remove the hotkeys.

  I noticed this issue on github
  (https://github.com/RaiMan/SikuliX-2014/issues/144), but I am running
  1.0.1 because I haven't migrated to 1.1.x yet.

  Is there an alternative for 1.0.1 to runsikulix?
  Or /
  Do you just know how to fix this problem?

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1518895/+subscriptions

___
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 #273706]: Couldn't able to extract exact text from image

2015-11-23 Thread RaiMan
Question #273706 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273706

RaiMan posted a new comment:
Be aware of the current problematic implementation of the Text/OCR
feature and hence many oddities and bugs.

Many Q's on that.

-- 
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 #274811]: screen/graphics issue when running from terminal

2015-11-23 Thread RaiMan
Question #274811 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/274811

Status: Open => Answered

RaiMan proposed the following answer:
The recommended way, to switch between different installed Java versions
on OS X when running in a Terminal session still is to use the command
/usr/libexec/java_home

- list all installed Javas
/usr/libexec/java_home -V

- switch to a specific java version (Java 7 in this case)
export JAVA_HOME=`/usr/libexec/java_home -v 1.7`

-- your problem
use this on command line to get a more specific startup debug

./runsikulix -d 3 -c -r /Users/apple/Downloads/sikuli.skl

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 #274798]: Use of the additional .py file created on export executable

2015-11-23 Thread Ruben
Question #274798 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/274798

Ruben posted a new comment:
Your wellcome and thank you :)

-- 
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 #132445]: Reading / writing to a file in sikuli

2015-11-23 Thread RaiMan
Question #132445 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/132445

RaiMan posted a new comment:
@Rick
thanks for feedback and all the best.

-- 
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 #274798]: Use of the additional .py file created on export executable

2015-11-23 Thread RaiMan
Question #274798 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/274798

Status: Open => Solved

RaiMan changed the question status:
ok, thanks.

I made it a bug and will check it asap.
Please follow the bug.

-- 
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 #274798]: Use of the additional .py file created on export executable

2015-11-23 Thread RaiMan
Question #274798 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/274798

Linked to bug: #1518948
https://bugs.launchpad.net/bugs/1518948
"[1.1.0] creating .skl: additional .py file created"

-- 
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 #274970]: [error] TextRecognizer: init: export tessdata not possible - run setup with option 3

2015-11-23 Thread RaiMan
Question #274970 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/274970

RaiMan proposed the following answer:
you have to also download the Tesseract data files.

Take care, that setup does not produce any error messages with offline
setup.

go back to
 http://www.sikulix.com/quickstart.html#qs3

and read carefully.

Best: delete all you have until now including SikuliX's app data folder
and start from scratch again.

-- 
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 #275137]: How to Scroll down in a Screen and search for a Particular Image using Sikuli

2015-11-23 Thread masuo
Question #275137 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/275137

Status: Needs information => Answered

masuo proposed the following answer:
First of all you should find where Sikuli  find specified image at . 
In this case highlight() is useful.
I am not using Java, so if a syntax error occurs , I want you to suitably 
modified .

[code for investigation:]
  Match m = screen.exists(clip);
  if(m != null)
Region r = Region(m.getX(),m.getY(),m.getW(),m.getH())
r.highlight(3);

[As one of the solution:]
Since similar string a lot on screen , it might be solved by increasing the 
degree of similarity .

  screen.exists(Pattern(clip).similar(0.90))

-- 
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


[Sikuli-driver] [Bug 1518948] [NEW] [1.1.0] creating .skl: additional .py file created

2015-11-23 Thread RaiMan
Public bug reported:

When my team exports an executable of a .sikuli script, besides creating
the .skl file, the IDE creates a .py file with its named being a
composition of the .sikuli folder complete name and the .sikuli folder
without the .sikuli extension. It contains the exact python script of
the sikuli script created by the user.

For example:
TestSomething.sikuli (project)
TestSomething.sikuliTestSomething.py (generated file)

I've seen the code and the export action creates that file, we tried to
execute our tests deleting that files and we found they are, in our
terms, useless, so maybe that files were created to be used in
development phase.

So my question is, this files are needed by sikuli, if they are useless,
can you, please, remove the line in the IDE code were they are created?

Thank you very much and keep working.

** Affects: sikuli
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1518948

Title:
  [1.1.0] creating .skl: additional .py file created

Status in Sikuli:
  New

Bug description:
  When my team exports an executable of a .sikuli script, besides
  creating the .skl file, the IDE creates a .py file with its named
  being a composition of the .sikuli folder complete name and the
  .sikuli folder without the .sikuli extension. It contains the exact
  python script of the sikuli script created by the user.

  For example:
  TestSomething.sikuli (project)
  TestSomething.sikuliTestSomething.py (generated file)

  I've seen the code and the export action creates that file, we tried
  to execute our tests deleting that files and we found they are, in our
  terms, useless, so maybe that files were created to be used in
  development phase.

  So my question is, this files are needed by sikuli, if they are
  useless, can you, please, remove the line in the IDE code were they
  are created?

  Thank you very much and keep working.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1518948/+subscriptions

___
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 #274944]: Modules do not need to import

2015-11-23 Thread RaiMan
Question #274944 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/274944

Status: Open => Answered

RaiMan proposed the following answer:
yes, they are already imported during the startup of the Jython runtime
environment by Sikuli, since they are needed there.

So it is not really a feature, but only something that works by accident
;-)

But it does not do any harm, if you import the same module more than
once - the second and more times are simply ignored by Python.

-- 
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 #274250]: SIKULI API - How to use type with special combination keys like ALT+TAB

2015-11-23 Thread RaiMan
Question #274250 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/274250

RaiMan proposed the following answer:
@Elaine
sikuli-api-1.0.2-standalone.jar is not API compatible to SikuliX (the IDE you 
are using also).

If you want to program in Java and yes SikuliX features, you have to
setup according to http://sikulix.com

-- 
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 #274511]: How do you say sikuli?

2015-11-23 Thread RaiMan
Question #274511 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/274511

Status: Answered => Solved

RaiMan changed the question status:
I always say sikuli emphasizing the first syllable, but I met people
emphasizing the second syllable.

But IMHO: the u should be pronounced as a plain u as in languages like
German (Umleitung, Wunder), Swedish (Upsala) and not as with 

The first i like in big and the final one like in bee.

But I make this a bug, with the solution intention, to find an expert
about Huichol Indian language, who might make the correct suggestion.

-- 
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 #274511]: How do you say sikuli?

2015-11-23 Thread RaiMan
Question #274511 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/274511

Linked to bug: #1518900
https://bugs.launchpad.net/bugs/1518900
"[general] How do you say sikuli?"

-- 
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 #274001]: Web page image matching, thumbnail similarity

2015-11-23 Thread RaiMan
Question #274001 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/274001

Status: Open => Answered

RaiMan proposed the following answer:
yes, it is all about pixels and how they are rendered by the different
browser engines to the screen, which finally is relevant for the usage
of SikuliX as a visual tool.

Either follow the suggestion of masuo in comment #1 or use different
image sets for different browsers where needed.

-- 
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


[Sikuli-driver] [Bug 1518900] Re: [general] How do you say sikuli?

2015-11-23 Thread RaiMan
I always say sikuli emphasizing the first syllable, but I met people
emphasizing the second syllable.

But IMHO: the u should be pronounced as a plain u as in languages like
German (Umleitung, Wunder), Swedish (Upsala) and not as with 

The first i like in big and the final one like in bee.

But I make this a bug, with the solution intention, to find an expert
about Huichol Indian language, who might make the correct suggestion.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1518900

Title:
  [general] How do you say sikuli?

Status in Sikuli:
  New

Bug description:
  My colleagues and I had an argument about the pronunciation of sikuli.
  Could you help us?

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1518900/+subscriptions

___
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] [Bug 1518900] [NEW] [general] How do you say sikuli?

2015-11-23 Thread RaiMan
Public bug reported:

My colleagues and I had an argument about the pronunciation of sikuli.
Could you help us?

** Affects: sikuli
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1518900

Title:
  [general] How do you say sikuli?

Status in Sikuli:
  New

Bug description:
  My colleagues and I had an argument about the pronunciation of sikuli.
  Could you help us?

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1518900/+subscriptions

___
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 #273706]: Couldn't able to extract exact text from image

2015-11-23 Thread siddu
Question #273706 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273706

Status: Expired => Open

siddu is still having a problem:
Will these issues(Text/OCR) fixed in next release of sikuli and may i
know when will be the next release of sikuli?

thanks and regards
Siddu

-- 
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 #274970]: [error] TextRecognizer: init: export tessdata not possible - run setup with option 3

2015-11-23 Thread krishna
Question #274970 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/274970

krishna posted a new comment:
Yes, Thanks. Installation is successful.

but my query as i already mentioned in the question is - 
"How to find the text from the screen and that text should be assigned to the 
variable, then the assigned text should be searched again in the another window 
of the screen. if there is a match in another window, that text should be 
selected by clicking".

I have written a code as below :
==

click (img ) #click the image which has the text format in 1st window.
type ('a',KeyModifier.CTRL )
type('c', KeyModifier.CTRL)
selection = App.getClipboard()

click (img2) # which click the image of drop down in another window,
there the text which is copied from the 1st window will be displayed in
the drop down.

text = selection
match = find(text)
click (match)
==

Output :
[error] Env.getClipboard: IOException: system clipboard data unavailable

[error] Image: Image not valid, creating empty Image
[error] script [ demo ] stopped with error in line 21
[error] FindFailed ( Region: doFind: Image not loadable: )

=

Its basically throwing error for the code  " match = find(text) " in
line no 21.

I'am stuck with this problem, Not able to load the text into the variable and 
to find that text in another window.
So, can you please do the needful :(.


Regards,
Krishna.

-- 
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


[Sikuli-driver] [Question #275379]: There is NO 100% reliability for matching raw strings extracted by OCR.

2015-11-23 Thread srinivasulu
New question #275379 on Sikuli:
https://answers.launchpad.net/sikuli/+question/275379

There is  NO  100% reliability  for matching  raw strings extracted by OCR.

For example, the word “system” might be incorrectly recognized as “systen”.

Could you please let us know what all text fronts are supported with the Sikuli?
How to get 100% accuracy.  

-- 
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