grabbing location details of matches out of a list
Hi,
I am trying to get the location (x,y) of a series of matches. I followed the suggestion from the Sikuli Match Documentation:
findAll(image1)
list1 = list(getLastMat
which now provides me with a list that prints:
print list1 =
[Match[735,298 17x17 score=1.00 target=center], Match[735,390 17x17 score=0.99 target=center], Match[827,390 17x17 score=0.99 target=center], Match[920,575 17x17 score=0.99 target=center], Match[966,390 17x17 score=0.99 target=center], Match[643,390 17x17 score=0.99 target=center], Match[781,483 17x17 score=0.98 target=center], Match[920,483 17x17 score=0.97 target=center], Match[643,483 17x17 score=0.97 target=center]]
my question is: how do i extract the location values out of that into another list? Preferably something along the lines of
[x1,y1,
Thank you for your help, this forum is brilliant and sorry if my question is a stupid one,
JD
Thank you for your help
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
This question was reopened
- by JD