Re: [Sikuli-driver] [Question #676036]: Trying to extract Date from the region and getting garbage values

2018-11-26 Thread Launchpad Janitor
Question #676036 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676036

Status: Open => Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.

-- 
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 #676036]: Trying to extract Date from the region and getting garbage values

2018-11-10 Thread monicar
Question #676036 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676036

Status: Answered => Open

monicar is still having a problem:
Thanks, I'll check it out.

On Sat, Nov 10, 2018, 9:12 AM masuo  Your question #676036 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/676036
>
> Status: Open => Answered
>
> masuo proposed the following answer:
> The extract result changes depending on the region surrounding characters.
> I recommend you to examine what region is suitable to extract characters.
>
> I tested this code by SikuliX1.1.4.
> [example as python:]
> tr = TextOCR.start()
> tr.setLanguage("eng")
> while True:
> r = selectRegion()
> s = r.text()
> App.setClipboard(s)
> popup(s)
> ans = popAsk("continue?")
> if ans == False:
> break
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/sikuli/+question/676036/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/sikuli/+question/676036
>
> You received this question notification because you asked the question.
>

-- 
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 #676036]: Trying to extract Date from the region and getting garbage values

2018-11-10 Thread masuo
Question #676036 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676036

Status: Open => Answered

masuo proposed the following answer:
The extract result changes depending on the region surrounding characters.
I recommend you to examine what region is suitable to extract characters.

I tested this code by SikuliX1.1.4.
[example as python:]
tr = TextOCR.start()
tr.setLanguage("eng")
while True:
r = selectRegion()
s = r.text()
App.setClipboard(s)
popup(s)
ans = popAsk("continue?")
if ans == False:
break

-- 
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 #676036]: Trying to extract Date from the region and getting garbage values

2018-11-09 Thread monicar
New question #676036 on Sikuli:
https://answers.launchpad.net/sikuli/+question/676036

Here is my code in Java:  
   Settings.OcrTextRead= true;
Settings.OcrTextSearch= true;
screen.wait(TextExtract,20);
String extractText = screen.find(TextExtract).text();
System.out.println(extractText);

Result:
11i09;’2018

Expected:
11/09/2018

Please help


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