andry-tino / phash

Perceptual hash based on phash.org with bindings for C#
GNU General Public License v3.0
7 stars 0 forks source link

gm.exe #1

Open korhun opened 6 years ago

korhun commented 6 years ago

I tried with png and jpg images, this error occured: 'gm.exe' is not recognized as an internal or external command, operable program or batch file.

How can we solve this?

andry-tino commented 6 years ago

I need more information about this. Do you have a call stack? What command did you use? Can you show me the powershell session?

andry-tino commented 6 years ago

As an alternative way, try using IPH.NET. This is a comprehensive library for C# which integrates PHash as one of the algorithms for perceptual comparison.

Look at the code and see how to activate PHash instead of Resemble.js. This repository will soon be closed in favor of the one I linked you!

korhun commented 6 years ago

Hi, thanks for the fast response. I'm new to C++ so this might not be a bug but a missing library or insallation on my computer: This question made me think like that. Sorry that I didn't and cannot send a call stack now. IPH.NET project is very nicely implemented and works good on my tries.

If you are interested, my problem is: Finding similar images of an image from millions of images. My tires showed me that PHashing is successful on finding near duplicate images. However I need some semantic similarity. I have tried some feature extractions for that and see that features extracted from a VGG-16 caffe model was very successful. However its extraction performance is poor with respect to hashing and the result is a float vector of 4096 dimensions. I am trying to find a way to store and search fast for the neighbours from this large data. My first tries on LSH-minhashing was not successful.