commonsmachinery / blockhash-js

Image perceptual hash calculation in javascript
http://blockhash.io/
MIT License
172 stars 49 forks source link

How to decide/determine # of bits? #13

Open brandonmp opened 8 years ago

brandonmp commented 8 years ago

Im not familiar w/ image or file handling, so the language about the bits param in the docs is unclear to me. Can someone elaborate on what is meant by "number of bits in a row"?

nmrshll commented 7 years ago

After reading a little bit about perceptual hashing, my guess would be it's the number of bits of the output (hash) you want to get. But it's just a guess. Better docs are really needed here.