← 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 is it possible to set
sortedMatches = sorted(matches, key=lambda m:m.yx)
to sort matches from top left, to bottom 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

Is this possible? How can I achieve this?

I tried searching in this docs,
http://sikulix-2014.readthedocs.org/en/latest/region.html

Thanks Advanced.

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