JohannesBuchner/imagehash

A tutorial on creating a reverse image search

KDJDEV opened this issue · 1 comments

I worked on a project in which I wanted to store hashes generated with this library in a database and use fast hamming distance searches to create a reverse image search.

I saw that you said that if someone were to write a blog post on how to do this it would be a great contribution. So, I did.

https://github.com/KDJDEV/imagehash-reverse-image-search-tutorial

In this tutorial I use PostgreSQL and this extension, and I show how you can create a reverse image search using hashes generated by this library.

Unfortunately this tutorial does not explain how to use variable hashes like the CropResistantHash, as is asked about in this issue. However, most of the hashes in this library are not variable, so I think it could still be useful.

Anyways, I thought I would mention that I created this so that hopefully it can be of some use to someone.