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

Allow golden image comparison tolerance #614

Open
TheMostDiligent opened this issue Aug 18, 2024 · 0 comments
Open

Allow golden image comparison tolerance #614

TheMostDiligent opened this issue Aug 18, 2024 · 0 comments
Assignees

Comments

@TheMostDiligent
Copy link
Contributor

There is currently a way to specify the threshold when comparing golden images. However, when driver or other software updates, pixel positions may change slightly due to rasterization differences.
To allow tests pass in this case, add option to specify the search radius (radius 1 corresponding to 3x3 search radius should be good option) in most cases.

The comparison should pass if there is a pixel within the threshold in the search area.

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

2 participants