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

Blockhash or perceptual hash? #21

Open
eeerrrttty opened this issue Apr 1, 2019 · 1 comment
Open

Blockhash or perceptual hash? #21

eeerrrttty opened this issue Apr 1, 2019 · 1 comment

Comments

@eeerrrttty
Copy link

which algorithimn is used here? Because by

https://content-blockchain.org/research/testing-different-image-hash-functions/

We have two TYPES OF ALG. --->

BLOCKHASH - PERCEPTUAL HASH

ok, the name of this repo is blockhash-js, which one may think it is a blockhash based alg. But in the description it says "This is a perceptual image hash", which one may think it is a perceptual hash. (Of course, all both are for perception diff.)

But which of these two is the alg. used here? (Need some clarification on docs, because i got confused)

@artfwo
Copy link
Member

artfwo commented Apr 1, 2019

@eeerrrttty blockhash is a particular implementation of perceptual hashing. The latter term can apply to any algorithm that calculates fingerprints for various kinds of digital media. The blockhash implementation referenced in the article is https://github.com/commonsmachinery/blockhash-python, which is basically identical to this library (algorithm-wise). Does this answer your question?

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