Count number of same images that are horizontally parallel in the screen
Asked by
eduardobedoya
I would like to count the number of same images that are horizontally parallel in the screen and sort them so the foremost left is 0 (first) and the foremost right is -1 (last)
right know Im using this
count = 0
try:
matches = list(findAll(
count = len(matches)
except FindFailed:
pass #nothing to do
print "found:", count
if count > 0:
sortedMatches = sorted(matches, key=lambda m:m.y) # sorts top to bottom
hover(
but don't know why it does not click in the lastone
Thanks advanced
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was reopened
Can you help with this problem?
Provide an answer of your own, or ask eduardobedoya for more information if necessary.
To post a message you must log in.