Skip to content
Discussion options

You must be logged in to vote

I've published Image version 0.38.4 that fixes this issue.

Image hashes for your test images

Each image now correctly generates a dhash. However note the limitations of image hashing. Whilst the human eye can detect the similarities between the first two images, hashing does sees quite a big difference.

# Open images
iex> i1 = Image.open!("/Users/kip/Desktop/image_1.png")
%Vix.Vips.Image{ref: #Reference<0.513719039.295043093.140240>}
iex> i2 = Image.open!("/Users/kip/Desktop/image_2.png")
%Vix.Vips.Image{ref: #Reference<0.513719039.295043093.140245>}
iex> i3 = Image.open!("/Users/kip/Desktop/image_3.png")
%Vix.Vips.Image{ref: #Reference<0.513719039.295043094.141349>}

# Calculate image ha…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@jhonathas
Comment options

Comment options

You must be logged in to vote
1 reply
@jhonathas
Comment options

Comment options

You must be logged in to vote
1 reply
@jhonathas
Comment options

Answer selected by jhonathas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #116 on November 08, 2023 12:28.