{ "info": { "author": "Zhengbao Jiang", "author_email": "rucjzb@163.com", "bugtrack_url": null, "classifiers": [], "description": "ImageHashCache\n===========\n\nA image hashing library written in Python. ImageHashCache supports:\n\n* average hashing (`aHash`_)\n* perception hashing (`pHash`_)\n* difference hashing (`dHash`_)\n* caching resized images\n\nRequirements\n-------------\nBased on PIL/Pillow Image, numpy and scipy.fftpack (for pHash)\nEasy installation through `pypi`_.\n\nBasic usage\n------------\n::\n\n\t>>> from PIL import Image\n\t>>> import imagehash\n\t>>> hash = imagehash.average_hash(Image.open('test.png'))\n\t>>> print(hash)\n\td879f8f89b1bbf\n\t>>> otherhash = imagehash.average_hash(Image.open('other.bmp'))\n\t>>> print(otherhash)\n\tffff3720200ffff\n\t>>> print(hash == otherhash)\n\tFalse\n\t>>> print(hash - otherhash)\n\t36\n\nThe demo script **find_similar_images** illustrates how to find similar images in a directory.\n\nSource hosted at github: https://github.com/jzbjyb/imagehash\n\n.. _aHash: http://www.hackerfactor.com/blog/index.php?/archives/432-Looks-Like-It.html\n.. _pHash: http://www.hackerfactor.com/blog/index.php?/archives/432-Looks-Like-It.html\n.. _dHash: http://www.hackerfactor.com/blog/index.php?/archives/529-Kind-of-Like-That.html\n.. _pypi: https://pypi.python.org/pypi/ImageHash", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jzbjyb/imagehash", "keywords": null, "license": "LICENSE", "maintainer": null, "maintainer_email": null, "name": "ImageHashCache", "package_url": "https://pypi.org/project/ImageHashCache/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ImageHashCache/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/jzbjyb/imagehash" }, "release_url": "https://pypi.org/project/ImageHashCache/1.0/", "requires_dist": null, "requires_python": null, "summary": "Image Hashing Library with Cache", "version": "1.0" }, "last_serial": 2128778, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "08b1c7ed9537ce702d7bec7d4319eef2", "sha256": "41a96c200fcdaed73468a55c43c8c55c18a451e6077961331f42c395663c063f" }, "downloads": -1, "filename": "ImageHashCache-0.1.0.tar.gz", "has_sig": false, "md5_digest": "08b1c7ed9537ce702d7bec7d4319eef2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4546, "upload_time": "2016-05-23T09:00:30", "url": "https://files.pythonhosted.org/packages/af/90/10591b01fa0821e589aa00dccf8e9e97ec60dddb2b7b02bf6ec705fc72a1/ImageHashCache-0.1.0.tar.gz" } ], "1.0": [] }, "urls": [] }