{"categories":[{"label":"Graphics","url":"https://skillfed.io/packages/category/multimedia-graphics"}],"enrichment":{"capability":"ImageHash computes perceptual fingerprints of images using multiple hashing algorithms, allowing you to detect visually similar images even when they differ in compression, size, or minor edits.","skillfed_tags":["image-processing","similarity-detection","computer-vision"],"use_cases":["Deduplicate image libraries by computing hashes and finding images with Hamming distance below a threshold","Build reverse image search by storing hashes in a database and querying for visually similar images","Detect near-duplicate user uploads in content moderation or social media platforms","Find cropped or slightly modified versions of images using crop-resistant hashing","Analyze color distribution similarity between images using colorhash for palette-based matching"],"what_it_does":"ImageHash is a Python library that generates perceptual hashes from images\u2014compact fingerprints that remain similar when images are visually alike but differ in compression, scaling, or minor edits. Unlike cryptographic hashes (MD5, SHA-1), where tiny changes produce completely different outputs, perceptual hashes are designed so that similar images produce similar hashes, measurable by Hamming distance. The library supports six hashing strategies: average hashing, perceptual hashing, difference hashing, wavelet hashing, HSV color hashing, and crop-resistant hashing. Each can be tuned for sensitivity by adjusting hash size or other parameters.\n\nThe package is built on pillow for image handling, numpy for numerical operations, scipy for Fourier transforms, and PyWavelets for wavelet analysis. It's commonly used to find duplicate or near-duplicate images in collections, implement reverse image search, detect manipulated images, and deduplicate media libraries. Hashes can be stored as hex strings, persisted in databases, and compared using fast Hamming distance queries.","worth_installing":"Yes. ImageHash is mature, well-maintained, permissive-licensed, and has no known vulnerabilities. Install friction is low and it solves a specific, well-defined problem. Use it if you need to detect visually similar images; skip it if you only need exact image matching or cryptographic integrity checking."},"id":"imagehash","links":{"html":"https://skillfed.io/packages/imagehash","md":"https://skillfed.io/packages/imagehash.md","pypi":"https://pypi.org/project/imagehash/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-02-01","license_spdx":null,"license_treatment":"permissive","name":"ImageHash","python_support":"unspecified","summary":"Image Hashing library"},"popularity":{"monthly_downloads":6039544,"position":1978,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"4.3.2"}
