← Back to team overview

sikuli-driver team mailing list archive

[Question #403961]: ''Extract''Coordinate of Image

 

New question #403961 on Sikuli:
https://answers.launchpad.net/sikuli/+question/403961

Hi!

Sorry for bad English....

I haven't code since a while, I'm a bit lost :

I want to extract the coordinate x and y of multiple images to compare their place in space, I found this :

p = Pattern(Image).targetOffset(x,y)
m = find(p)
print m. getTarget()

It returns :
L(335,609)@S(0)[0,0 1920x1080]

How to get 335 & 609 and assign them to variables

Thanks !

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