← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #264958]: Count number of same images that are horizontally parallel in the screen

 

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

eduardobedoya gave more information on the question:
Thanks RainMan

so I guess 
sortedMatches = sorted(matches, key=lambda m:m.y)
sorts the matches from top left, to bottom right, am I right?
so if the images are inside a table's cells, the result will be sorted in this order...
1. Top row left image
2. Top row right image
3. Middle row right image
4. Bottom row left image

am I right? How can I achieve this?

Thanks Advanced.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.