Open eight04 opened 4 months ago
I created a lib that fully replaces PyScreeze for all things template matching, and there are various reasons to use it over PyScreeze for that. I'll let it speak for itself; try it out and see if you like it. Note that it does not include screenshot functionality (bring your own library that, or even use them side-by-side). https://github.com/aentwist/gamedriver
So to explain... I debugged this and OpenCV actually returns those duplicates. They must be deduplicated - it is about a 2-line fix.
https://stackoverflow.com/questions/68965801/pyautogui-locateall-returns-hundrets-of-similar-positions-when-theres-only-1-i https://stackoverflow.com/questions/68042425/why-locate-all-on-screen-in-pyautogui-returns-multiple-similar-results
This should probably be documented.