adding getSimilarity between two images