← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #253637]: Different region geometry?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
ok, you are the guy with the onChange observation on the map.

… but I'd have to use a region that has much more area than the watchbox
and if a track goes outside the watchbox, it will most likely still be
within the region and I would still see it as an observation.

that is true.
But you might ignore matches, that are reported outside such a non-rectangular shape (matchbox) by some algorithm.
I am sure, there are some available libraries, that allow to define such shapes and check, wether a point lies inside or outside.

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