UMass-Rescue / UMass-Rescue/RescueBox
Plugin: Enable exact image/video matches using perceptual hashes
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6
- Forks
- 15
- Avg merge
- 14h 42m
- Merged PRs (30d)
- 7
Description
Implement a perceptual hashing plugin using the Thorn Perception library (feel free to use a different library if needed) to detect duplicate and near-duplicate media in forensic investigations. The library supports various hashing algorithms. Start by supporting a few or even a single hash and support more if possible.
Key operations:
- Given a directory of images/videos, create a database of hashes for all the images/videos in the directory (similar to the face-match plugin).
- Given a directory of images/videos, and a database of hashes (generated from the above endpoint), check each image/video against the database of hashes. For each image/video, return zero or more images/videos from the database that match the query image/video.
- Support import and export of hashed databases.
Optimize performance after the initial implementation is complete.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the existing face-match plugin, then review the Thorn Perception library and its supported hashing algorithms. Implement the three described operations: build hashes for directory media, query a hash database for matching media, and import or export hashed databases. Done means the plugin supports the initial hash workflow for images or videos and returns matching media; performance optimization follows afterward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-vision
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100