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

Eugene Maslov proposed the following answer:
Edmundo,
It's possible to write your own text recognizer with Sikuli and teach it 
yourself.

Make little screenshots of your letters without left and right margins, and 
write some code transferring the characters into png file names, e.g. 
"b":"b.png",
"B":"b_up.png",
":":"colon.png",
" ":"space.png"
...

Take the string you want to find.
findAll the first character of the string and put it into an array A of small 
regions.
Then, with each of the found regions, offset to the right for a distance a bit 
greater than the next letter, plus extend a bit up and down, and try to find 
there the second character. If not found - remove the item from A array of 
found items. But if it's found, then fix new right border of found region, it 
will be the basis for the next offset.
Then make again the offset to the right for third, fourth etc. characters, 
removing items where the last character is not found.
By the end of the string, you will have your string found on the screen.

Before this procedure, set AutoWaitTimeot to zero, else the search will
be slow.

I use such one, it is quite reliable.

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

Reply via email to