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 | Description |
---|---|---|
id* | string | The ID of the reference image to find similar images |
certainty | number | Normalized similarity threshold between 0 (identical) and 1 (completely different) |
distance | number | Distance threshold for similarity matching |