You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/computer-vision/Tutorials/storage-lab-tutorial.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -374,9 +374,9 @@ Now you have a way to view the images you uploaded. The next step is to do more
374
374
<aname="Exercise5"></a>
375
375
## Use Azure AI Vision to generate metadata
376
376
377
-
### Create a Vision resource
377
+
### Create a Vision resource
378
378
379
-
You'll need to create a Vision resource for your Azure account; this resource manages your access to Azure's Azure AI Vision service.
379
+
You'll need to create a Computer Vision resource for your Azure account; this resource manages your access to Azure's Azure AI Vision service.
380
380
381
381
1. Follow the instructions in [Create an Azure AI services resource](../../multi-service-resource.md?pivots=azportal) to create a multi-service resource or a Vision resource.
Copy file name to clipboardExpand all lines: articles/ai-services/computer-vision/concept-background-removal.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ It's important to note the limitations of background removal:
53
53
54
54
## Use the API
55
55
56
-
The background removal feature is available through the [Segment](https://centraluseuap.dev.cognitive.microsoft.com/docs/services/unified-vision-apis-public-preview-2023-02-01-preview/operations/63e6b6d9217d201194bbecbd) API (`imageanalysis:segment`). You can call this API through the REST API or the Vision SDK. See the [Background removal how-to guide](./how-to/background-removal.md) for more information.
56
+
The background removal feature is available through the [Segment](https://centraluseuap.dev.cognitive.microsoft.com/docs/services/unified-vision-apis-public-preview-2023-02-01-preview/operations/63e6b6d9217d201194bbecbd) API (`imageanalysis:segment`). See the [Background removal how-to guide](./how-to/background-removal.md) for more information.
Copy file name to clipboardExpand all lines: articles/ai-services/computer-vision/how-to/background-removal.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,13 +16,15 @@ ms.custom: references_regions
16
16
17
17
This article demonstrates how to call the Image Analysis 4.0 API to segment an image. It also shows you how to parse the returned information.
18
18
19
+
> [!IMPORTANT]
20
+
> Background removal is only available through direct REST API calls. It is not available through the SDKs.
21
+
19
22
## Prerequisites
20
23
21
24
This guide assumes you have successfully followed the steps mentioned in the [quickstart](../quickstarts-sdk/image-analysis-client-library-40.md) page. This means:
22
25
23
26
* You have <ahref="https://portal.azure.com/#create/Microsoft.CognitiveServicesComputerVision"title="created a Vision resource"target="_blank">created a Vision resource </a> and obtained a key and endpoint URL.
24
-
* If you're using the client SDK, you have the appropriate SDK package installed and you have a running quickstart application. You modify this quickstart application based on code examples here.
25
-
* If you're using 4.0 REST API calls directly, you have successfully made a `curl.exe` call to the service (or used an alternative tool). You modify the `curl.exe` call based on the examples here.
27
+
* You have successfully made a `curl.exe` call to the service (or used an alternative tool). You modify the `curl.exe` call based on the examples here.
26
28
27
29
The quickstart shows you how to extract visual features from an image, however, the concepts are similar to background removal. Therefore you benefit from starting from the quickstart and making modifications.
28
30
@@ -31,13 +33,11 @@ The quickstart shows you how to extract visual features from an image, however,
31
33
32
34
## Authenticate against the service
33
35
34
-
To authenticate against the Image Analysis service, you need an Azure AI Vision key and endpoint URL.
36
+
To authenticate against the Image Analysis service, you need a Computer Vision key and endpoint URL.
35
37
36
38
> [!TIP]
37
39
> Don't include the key directly in your code, and never post it publicly. See the Azure AI services [security](../../security-features.md) article for more authentication options like [Azure Key Vault](../../use-key-vault.md).
38
40
39
-
The SDK example assumes that you defined the environment variables `VISION_KEY` and `VISION_ENDPOINT` with your key and endpoint.
40
-
41
41
<!--
42
42
#### [C#](#tab/csharp)
43
43
@@ -70,7 +70,7 @@ Where we used this helper function to read the value of an environment variable:
70
70
#### [REST API](#tab/rest)
71
71
-->
72
72
73
-
Authentication is done by adding the HTTP request header **Ocp-Apim-Subscription-Key** and setting it to your vision key. The call is made to the URL `https://<endpoint>/computervision/imageanalysis:segment?api-version=2023-02-01-preview`, where `<endpoint>` is your unique Azure AI Vision endpoint URL. See [Select a mode ](./background-removal.md#select-a-mode) section for another query string you add to this URL.
73
+
Authentication is done by adding the HTTP request header **Ocp-Apim-Subscription-Key** and setting it to your vision key. The call is made to the URL `https://<endpoint>/computervision/imageanalysis:segment?api-version=2023-02-01-preview`, where `<endpoint>` is your unique Computer Vision endpoint URL. See [Select a mode ](./background-removal.md#select-a-mode) section for another query string you add to this URL.
74
74
75
75
76
76
## Select the image to analyze
@@ -220,10 +220,9 @@ The following one-channel PNG image is the response for the `foregroundMatting`
220
220
221
221
The API returns an image the same size as the original for the `foregroundMatting` mode, but at most 16 megapixels (preserving image aspect ratio) for the `backgroundRemoval` mode.
0 commit comments