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

Latest commit

Files

Permalink
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
README.md Remove paper. Sep 2, 2014
blockhash.py Fix median calculation (closes #8) Oct 24, 2017
setup.py Tests and packaging. Aug 26, 2014

README.md

blockhash-python

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.

Usage

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

Run blockhash.py [list of images] for calculating hashes.

Run blockhash.py --help for the list of options.

License

Copyright 2014 Commons Machinery http://commonsmachinery.se/

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

Contact: dev@commonsmachinery.se

You can’t perform that action at this time.