[pHash-support] Retrieving hash for database

Evan Klinger eklinger at phash.org
Fri May 6 07:40:10 PDT 2011


Cliff,
pHash does not work with standard SQL databases. You will need to use the
mvptree storage mechanism to store the hashes and for fast lookup and
retrieval of similar hashes.
The MVPTree package is available on the main pHash website and includes
examples in C on how to store, search and retrieve and similar hashes.

Thanks
Evan

On Fri, May 6, 2011 at 6:24 AM, Cliff <phash at obro.nl> wrote:

> Hey,
>
> I am currently working on a image database.
> Now I want to check whether there are duplicate images in my database.
> After searching the internet I came to the pHash library.
> I already build it on a debian virtual machine with the php library.
> But I can't figure out how to get a hash in my database to check.
>
> Is it possible to retrieve the hash with the C++ library?
> Is there a php function that returns the hash?
> Can you do the ph_hamming_distance compare logic within a database?
> I'm using mysql, monetdb and mongodb so there are lot's of possibilities.
>
> Hope you can help me
>
> Cliff
> _______________________________________________
> pHash-support mailing list
> pHash-support at lists.phash.org
> http://lists.phash.org/listinfo.cgi/phash-support-phash.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phash.org/pipermail/phash-support-phash.org/attachments/20110506/d0e2e64c/attachment-0001.htm>


More information about the pHash-support mailing list