UMass-Rescue / UMass-Rescue/RescueBox

Plugin: Enable exact image/video matches using perceptual hashes

Open
#93 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

hackathon
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:

  1. 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).
  2. 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.
  3. Support import and export of hashed databases.

Optimize performance after the initial implementation is complete.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.