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

Add usage instruction #1

Open
GopinathCool opened this issue May 27, 2021 · 2 comments
Open

Add usage instruction #1

GopinathCool opened this issue May 27, 2021 · 2 comments

Comments

@GopinathCool
Copy link

Could you describe about the usage instructions?

@XingLiangLondon
Copy link
Owner

XingLiangLondon commented May 28, 2021

  • You will need to run ResNet50_similarity_Xing.py for image similarity detection by ResNet50; and VGG16_similarity_Xing.py for image similarity detection by VGG16.

  • Image similarity is compared between a pair of images, which are located in your local folder. For example, in ResNet50_similarity_Xing.py, the folder directory can be modified from line 45.

  • Images are loaded as a list of array. To compared the similarity, you need to specify the index of an image @ line63 (cosine similarity) and @line61 (euclidean similarity)

Hope this helps.

@thanghp2711
Copy link

how can i compare 2 image with vgg16

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

3 participants