many matched components, how to decide which to click?
Asked by
Yadong Yu
For example, there are 5 matched compontes which are the same actually in the full screen and their similarities are all bigger than 0.99.
I konw that sikuli will click the compont which has the biggest similarity by matchTemplate method.
But i need to click the compont closest to the center of the screen. It may has similarity like 0.9901, less than another compont which has 0.9909 in similarity.
Is there any method in sikuli can do that?
Should this requirement need to change the source code? If so, please give me some advice, and i will try to do that myself.
Thank in advance!
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Yadong Yu for more information if necessary.
To post a message you must log in.