Skip to content

Commit

Permalink
why image hashing is a special case
Browse files Browse the repository at this point in the history
  • Loading branch information
mynameisvinn committed May 6, 2017
1 parent 661ed50 commit c009a70
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ A image hashing library written in Python. ImageHash supports:

|Travis|_ |Coveralls|_

Rationale
---------
Why can’t we use md5, sha-1, etc.?

Unfortunately, we cannot use cryptographic hashing algorithms in our implementation. Due to the nature of cryptographic hashing algorithms, very tiny changes in the input file will result in a substantially different hash. In the case of image fingerprinting, we actually want our similar inputs to have similar output hashes as well.

Requirements
-------------
Based on PIL/Pillow Image, numpy and scipy.fftpack (for pHash)
Expand Down

0 comments on commit c009a70

Please sign in to comment.