-
Notifications
You must be signed in to change notification settings - Fork 2
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
Compare two images of different versions of a page #15
Comments
Here is some details about what I've done so far. I've been using SSIM (https://ieeexplore.ieee.org/document/1284395 and https://ece.uwaterloo.ca/~z70wang/publications/ssim.pdf). Here is the Python code used:
Here is another try with perceptual hash:
And here is another algorithm named VQI and used by Switzerland:
For that implementation, I just copy the function because I haven't yet finished the implementation. Hope this help! |
This Python implementation of e.g. pHash might be helpful: https://github.com/JohannesBuchner/imagehash |
While ImageMagick can be used for pixel-level diffs, https://github.com/myint/perceptualdiff is a great tool to measure perceptible differences. |
There's also https://github.com/commonsmachinery/blockhash-python/ (via @zuups) |
We would like to compare e.g. crawl-time or current-live site with the archival-playback version. One way to compare them is to compare the images using standard image comparison techniques.
This could also be applied to same-site-over-time etc.
Related work:
The text was updated successfully, but these errors were encountered: