Visual Similarity
This method can be particularly useful when you want to find images that have a similar aesthetic, color scheme, or subject matter. It works by comparing the visual characteristics of the images and determining how similar they are.
Syntax
Visual similarity search can be performed on any ‘imageBlock’. Here’s how:
Usage
Example 1 - image blocks
Arguments
Name | Type | Default | Description |
---|---|---|---|
image | string | Image url or base64 | |
certainty | float | Normalized Distance between the result item and the search vector. Normalized to be between 0 (identical vectors) and 1 (perfect opposite). | |
distance | float | The required degree of similarity between an image’s visual characteristics and the provided filter values |