-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Locate Improvement ability to give hints where to look for pattern #18
Comments
A nice idea, although there are many implementation concerns:
|
I think it would be best option to add kwargs args to locate. About when selector failed using hint i think i should do fallback to whole search sinice its hint only. There are also two other options that I notice when I start looking for some answers. There are to options that could be useful also |
Thanks for your input but we will measure the performance hits or gains empirically while implementing, as well as answer to the rest of the questions. Grayscale matching in pyautogui is next to useless. In my experience, it just leads to not being able to find anything. Pixel matching is completely different thing and the way I understand it, not applicable to reference image recognition in any way. |
I think in some big resolution to improve performance it would be nice to give option to give hints where to start looking for pattern, when hints failed resume using standard approach.
I see two solutions
first give rectangle where to start to search (10,10| 200|200)
or general information about sector like TOP, CENTER,BOTTOM, LEFT, RIGHT ex. BOTTOM -RIGHT or TOP-CENTER.
And Information about which display.
The text was updated successfully, but these errors were encountered: