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

imprecise error message if image is too large #169

Closed
svettwer opened this issue Sep 3, 2020 · 0 comments · Fixed by #170
Closed

imprecise error message if image is too large #169

svettwer opened this issue Sep 3, 2020 · 0 comments · Fixed by #170
Assignees
Labels
enhancement Enhancement to existing features

Comments

@svettwer
Copy link
Contributor

svettwer commented Sep 3, 2020

Short overview
If you search for an image using find using an image that is too large, the error message is Searching for test.png failed. Reason: 'No match with required confidence 0.99. Best match: 0 at (0, 0, 810, 500)'.

In sakuli/sakuli#326 we discussed, that we would like to inform the user that his/hers sample was too large. We agreed that this is something that should be done in the upstream project. We'd like to introduce an Error object to the image recognition iterations (iterated via scales) to provide more detailed information why nut.js could not find a match especially when the image is too large.

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

Successfully merging a pull request may close this issue.

1 participant