Image-Similarity-in-Percentage icon indicating copy to clipboard operation
Image-Similarity-in-Percentage copied to clipboard

Add usage instruction

Open GopinathCool opened this issue 3 years ago • 2 comments

Could you describe about the usage instructions?

GopinathCool avatar May 27 '21 08:05 GopinathCool

  • 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.

XingLiangLondon avatar May 28 '21 15:05 XingLiangLondon

how can i compare 2 image with vgg16

thanghp2711 avatar Feb 22 '23 10:02 thanghp2711