3 ms·
I’ve used them for regression testing web apps: https://github.com/python-needle/needle https://github.com/python-needle/needle Depending on your needs, detec
by acdha 6y ago
I’ve used them for regression testing web apps:
https://github.com/python-needle/needle https://github.com/python-needle/needle
Depending on your needs, detecting duplicates can also be useful – especially if you’re using some kind of CV tool which quickly assesses similarity and you want a second check to confirm that the highly similarity matches aren’t hitting some edge case failure mode.
One challenge is that you sometimes want to allow minor differences - think things like text aliasing or slight differences in the pixel values produced by different compression/color handling/etc. implementations - so there are some neat tools like pdiff which try to emphasize differences which the human visual system is sensitive to:
https://github.com/hectorgon/perceptual-diff https://github.com/hectorgon/perceptual-diff