setSimilarity

format

void setSimilarity(double similarity)

description

Sets the degree of similarity between the search result and the target image. Similarity is a value between 0 (zero) and 1 representing the target image's combined raw distance scores.

parameters

similarity - represents the degree of similarity between the search result and the target image

returns

nothing (void)

throws

The setSimilarity() method does not throw any exceptions.