Python bindings for the pHash (perceptual hashing) library.
Project description
pHashPy
Python bindings for the pHash (perceptual hashing) library.
Copyright (c) Dries007 2020.
Licensed under GPLv3 (or later), as is pHash itself.
The project uses cppyy to create a small wrapper around pHash functions.
Features
Working:
- Video hashing
- Image hashing (dct & mh)
Missing:
- Audio
- Text
Usage
As a Command Line Tool
You can use the tool as a command line utility to generate a list of hashes from a list of files.
Run python -m pHashPy --help
for more info.
As a Library
Import functions from the package's __init__
, this will automatically load the required library files.
If you import the functions from the individual py files, you must call helper.init
yourself.
Background Info
For more info on pHash:
- https://github.com/aetilius/pHash
- https://www.phash.org/
- https://www.phash.org/docs/design.html (Theory.)
- https://www.phash.org/docs/howto.html (Help for developers, archived as DevelopmentGuide.md.)
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
Built Distributions
Hashes for pHashPy-0.1.0-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da7dac60b177bfac091d2d486b7a4dd8e394a17544d8e1ba5c8a0b16ec933a39 |
|
MD5 | 47d012eea1baff7f3b00c72edf2546cb |
|
BLAKE2b-256 | 4324187f21b3a6ea6fae90a7d4a115b4290b971fa44990534d56d23247cd551d |
Hashes for pHashPy-0.1.0-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26aa52a48612fadb0bb132f6fdafa1f724714946ad28af50b268bd92ce56dc5b |
|
MD5 | f51d7a67582d82aa385026fbd6142058 |
|
BLAKE2b-256 | 1f06afd73cc750cd3ab203912e3e9e19eaf943a41ddd17bbf95ae0fa2aaa31c1 |
Hashes for pHashPy-0.1.0-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70fe032d5e2e835f7ee83ded81b5bc8d7c6c4dda4617ecb5232c17a732adf7ea |
|
MD5 | 96b9acc17d6643fec4f8e4192804490c |
|
BLAKE2b-256 | 0c57fbdb10f5d8eb397f8ad52f150793db38ebfda5c7fac24b41cccf79b3fca1 |