Comments (5)
Interesting !
In what way are the results from pHash better than ImageHash?
from imagehash.
Thank you for the response.
I use pHash to compare similar images for a a service I try to automate. With the result of pHash I take the image and submit it to the service. For some reason, the results from this library are almost always incorrect.
It confuses me on why exactly they are incorrect if they are both based off the same library. I will provide some data so you can test for yourself, shortly.
from imagehash.
Maybe @pgrho could look into this whenever they have free time on their hands.
More context, I compare images with all colors made black. The only white part is the transparency if that makes any sense.
from imagehash.
@developervariety My pHash creates an intermediate image of 32x32 pixels to calculate DCT, but 64x64 in the ImageHash. So they seems to be incompatible.
ImageHash/src/ImageHash/HashAlgorithms/PerceptualHash.cs
Lines 18 to 81 in ae66ced
from imagehash.
Thank you for looking into this @pgrho. Very much appreciated, I'll stick to what works for my project for now.
from imagehash.
Related Issues (12)
- Always 32 bits set HOT 2
- DifferenceHash and PerceptualHash fails to compute hash HOT 5
- How to create hash from a bitmap... HOT 4
- System.AggregateException using TPL HOT 1
- Zip download is missing files and won't build HOT 2
- Memory leak in PerceptualHash? HOT 3
- PerceptualHash and differences in computed hash value between Net5 and Net6 HOT 3
- Improve github release generation
- Improve Pull Request builds using devops
- Remove support for netstandard1.3
- Update readme example HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imagehash.