title: Perceptual Hash Algorithms in Python or PHP?
body: <p>I've been exposed <a href="https://stackoverflow.com/questions/75891/algorithm-for-finding-similar-images/774916#774916">via StackOverflow</a> to <a href="http://www.phash.org/" rel="nofollow noreferrer">pHash</a>, a C++ perceptual hash library for audio, video, images, and text fingerprinting - recently with preliminary bindings for PHP, C# and Java.</p>
  
  <p>I'm interested in studying these algorithms and I'm wondering if there are any <strong>open-source pure Python or PHP implementations</strong> of the same / similar algorithm? This would make my life a lot easier.</p>