Skip to content
Implementation of perceptual image hash calculation in Python
Branch: master
Clone or download

Latest commit


Type Name Latest commit message Commit time
Failed to load latest commit information.
test Update test data using fixed median calculation Oct 24, 2017
.gitignore Output hex hashes instead of raw bits, and make method 3 the default Aug 27, 2014
LICENSE Initial commit Aug 19, 2014 Remove paper. Sep 2, 2014 Fix median calculation (closes #8) Oct 24, 2017 Tests and packaging. Aug 26, 2014


This is a perceptual image hash calculation tool based on algorithm descibed in Block Mean Value Based Image Perceptual Hashing by Bian Yang, Fan Gu and Xiamu Niu.


This script requires Python 2.x or Python 3 and Python Imaging (PIL) 1.1.6 or above.

Run [list of images] for calculating hashes.

Run --help for the list of options.


Copyright 2014 Commons Machinery

Distributed under an MIT license, please see LICENSE in the top dir.


You can’t perform that action at this time.