Skip to content

Commit e832a23

Browse files
Merge pull request #229850 from PatrickFarley/comvis-4
[cog svcs] try fix table
2 parents 34367ba + a3e9f74 commit e832a23

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

articles/cognitive-services/Computer-vision/concept-background-removal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The following example images illustrate what the Image Analysis service returns
3434

3535

3636
|Original image |With background removed |Alpha matte |
37-
|---------|---------|---------|
37+
|:---------:|:---------:|:---------:|
3838

3939
| | | |
4040
|---------|---------|---------|

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

articles/cognitive-services/Computer-vision/overview-image-analysis.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ These APIs are only available in the following geographic regions: East US, Fran
132132

133133
Image Analysis 4.0 (preview) offers the ability to remove the background of an image. This feature can either output an image of the detected foreground object with a transparent background, or a grayscale alpha matte image showing the opacity of the detected foreground object. [Background removal](./concept-background-removal.md)
134134

135+
|Original image |With background removed |Alpha matte |
136+
|:---------:|:---------:|:---------:|
137+
138+
| | | |
139+
|---------|---------|---------|
140+
| :::image type="content" source="media/background-removal/person-5.png" alt-text="Photo of a group of people using a tablet."::: | :::image type="content" source="media/background-removal/person-5-result.png" alt-text="Photo of a group of people using a tablet; background is transparent."::: | :::image type="content" source="media/background-removal/person-5-matte.png" alt-text="Alpha matte of a group of people."::: |
135141

136142
## Image requirements
137143

0 commit comments

Comments
 (0)