Skip to content
Research into Perceptual Hashing for Archives
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


For instructions, check out this blog post!

Current Notes

Must have FFmpeg and MySQL installed.

From the project directory, run ./ and follow all directions. This will generate a database and user, create the config file and provide the command that must be entered to create the login profile.

The database can then be added to and queried with the included scripts.

Current experiments store only the first hash of the bagofwords rough hashes and then use hamming distance to search for matches.


Default Mac or Homebrew installations may cause an error. If you receive the error Column count of mysql.user is wrong.:

It means you need to update MySQL. Run mysql_upgrade -u root -p and re-open your window if necessary. MySQL may need to be manually restarted as a system service.

You can’t perform that action at this time.