A small example package
Project description
image-hashing
facial-extractor
PyPi: flare-image-hashing
API
-
hash_image
- Average Hash computation of the given image.
- Parameters
image_path
- A string specifying where the image in located.
- Return:
- An imagehash
ImageHash
object on success.None
otherwise.
- An imagehash
-
image_difference
- Checks if the Average Hash of two images is equal. Here the definition of equal is using computed hashes and not raw pixel values. Meaning two different images could be 'equal'.
- Parameters
reference_image_path
- A string specifying where the first image in located.other_time_path
- A string specifying where the second image in located.
- Return:
- True if equal. False otherwise.
Publishing the package
- Install packages in
requirements.txt
- Bump the version number in setup.cfg
- Building (Now run this command from the same directory where pyproject.toml is located):
python3 -m build
- Get the PyPI API token
- Run Twine to upload all the archives under
dist
:python3 -m twine upload dist/*
- username:
__token__
- password: the PyPi token including the
pypi-
prefix
Helpful links
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 Distribution
Close
Hashes for flare-image-hashing-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2d9ff3a9241e75a07d15c6e0a0137bdaa0f143d35a80440b292a401456a486c |
|
MD5 | ce3c1a615b44535f6f55268d86d39b53 |
|
BLAKE2b-256 | e4e0e7e2d6a8ec83136cdab09ebfaef87cde00dda7b18edb6ab6e8da6553d571 |
Close
Hashes for flare_image_hashing-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b25b815653011b326d7a9afe3bd1969ab39a6b4cd08bd3c96b5003fd5d890a2 |
|
MD5 | a2b5aad8dba07ed9e3df050542df62e1 |
|
BLAKE2b-256 | 2150681a3bab2aa613ab64bbb4951d50dba2d339927d958d5d4696c97283f13c |