Skip to content

Commit a3e9f74

Browse files
committed
improve image ret concept
1 parent 842cba4 commit a3e9f74

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

articles/cognitive-services/Computer-vision/concept-image-retrieval.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,11 @@ Vector embeddings are a way of representing content—text or images—a
4343
4444
## How does it work?
4545

46+
:::image type="content" source="media/image-retrieval.png" alt-text="Diagram of image retrieval process.":::
47+
4648
1. Vectorize Images and Text: the Image Retrieval APIs, **VectorizeImage** and **VectorizeText**, can be used to extract feature vectors out of an image or text respectively. The APIs return a single feature vector representing the entire input.
47-
- Measure similarity: Vector search systems typically use distance metrics, such as cosine distance or Euclidean distance, to compare vectors and rank them by similarity. The [Vision studio](https://portal.vision.cognitive.azure.com/) demo uses [cosine distance](./how-to/image-retrieval.md#calculate-vector-similarity) to measure similarity.
48-
- Retrieve Images: Use the top _N_ vectors similar to the search query and retrieve images corresponding to those vectors from your photo library to provide as the final result.
49+
1. Measure similarity: Vector search systems typically use distance metrics, such as cosine distance or Euclidean distance, to compare vectors and rank them by similarity. The [Vision studio](https://portal.vision.cognitive.azure.com/) demo uses [cosine distance](./how-to/image-retrieval.md#calculate-vector-similarity) to measure similarity.
50+
1. Retrieve Images: Use the top _N_ vectors similar to the search query and retrieve images corresponding to those vectors from your photo library to provide as the final result.
4951

5052
## Next steps
5153

140 KB
Loading

0 commit comments

Comments
 (0)