New question #142168 on Sikuli:
https://answers.launchpad.net/sikuli/+question/142168
Hi all,
I've tried to extend a found region to the right, but I got a result which
seems to be a strange to me. Let assume code snipet:
w = find(image)
print 'Found: %s' % w
w = find(image).left(10)
print 'Left: %s' % w
w = find(image).right(10)
print 'Right: %s' % w
and printed output:
Found: Match[720,395 211x26] score=1,00, target=center
Left: Region[710,395 10x26]@Screen(0) E:Y, T:3,0
Right: Region[931,395 10x26]@Screen(0) E:Y, T:3,0
I'd expect, that setting right border of region should result in
Right: Region[720,395 10x26]@Screen(0) E:Y, T:3,0
and I've no no idea where the value 931 came from. On the top of it, when I
extend the region to the right, the X value is always 931 regarding a value of
the argument passed to right() method.
Please, could somebody shed light on?
Thx, pf
--
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 : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp