Image-Similarity-in-Percentage
Image-Similarity-in-Percentage copied to clipboard
Add usage instruction
Could you describe about the usage instructions?
-
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.
how can i compare 2 image with vgg16