Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I got a result of 0.9871965646743774.... #1

Open
c-yn opened this issue Apr 18, 2022 · 2 comments
Open

I got a result of 0.9871965646743774.... #1

c-yn opened this issue Apr 18, 2022 · 2 comments

Comments

@c-yn
Copy link

c-yn commented Apr 18, 2022

Hello, I ran your code and printed a result of 0.9871965646743774...

@mayorx
Copy link
Owner

mayorx commented Apr 20, 2022

Hi, morgen-star,

This huge gap may be due to the compression/change of the picture?
After reading these images, try this:

import hashlib

print(hashlib.md5(inp).hexdigest())
print(hashlib.md5(tgt).hexdigest())

and there is my output:

802d2bbf31c45c0f9fc5c3d3457e48f1
a94cbc92fd389b10f33757f55d0a6ee8

@c-yn
Copy link
Author

c-yn commented Apr 20, 2022

12e93f9a8650872d55755d6e3ac8bfc3
fced9ad1fd7ebe101217cac30bbd20a3

Thanks for your reply. Above is my output.
As you said, maybe the performance gap is due to the change of downloaded pictures.
I will test on other data and compare the outcome with matlab version.
Anyway, thanks for your code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants