← 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

    Status: Open => Answered

RaiMan proposed the following answer:
to sort horizontally one needs to use the x value:

 sortedMatches = sorted(matches, key=lambda m:m.x) # sorts left to right

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