Skip to content
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

locateOnScreen has some accuracy issues #885

Open
11522514 opened this issue Sep 22, 2024 · 1 comment
Open

locateOnScreen has some accuracy issues #885

11522514 opened this issue Sep 22, 2024 · 1 comment

Comments

@11522514
Copy link

11522514 commented Sep 22, 2024

I am working with very small fixed regions so any tiny differences should give large accuracy errors, but despite that, I am finding matches with very high confidence levels. The attached two images have a 0.981 confidence difference between them. Below is the command I am using.
pyautogui.locateOnScreen("test.png", region=(794, 765, 3, 3))
might500-795,766,3,3
might500-795,766,3,3

@11522514
Copy link
Author

Also the following fails with a 1.000 highest confidence.
pyautogui.locateOnScreen("test.png", region=(848, 762, 3, 5))
might900-849,764,3,5
might900-849,764,3,5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant