Skip to main content

Perceptual image hash calculation tool

Project description

This is a fork of the original, stale project to fix some of the issues, add CI verification, and push to PyPI.

Build Status Coverage Status


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.


Either download/clone the project directly, or install the "phash-blockhashio" package from PyPI.


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

Run blockhash [list of images] for calculating hashes.

Run blockhash --help for the list of options.


Copyright 2014 Commons Machinery

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


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phash-blockhashio-0.1.4.tar.gz (5.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page