Skip to content

Commit 0a623fe

Browse files
Merge pull request #250067 from dargilco/dargilco/8-31/updates-to-vision-setup-page
[Azure AI svcs] Some updates to Vision SDK setup page
2 parents 0f731e2 + 2a13ba5 commit 0a623fe

13 files changed

+116
-37
lines changed

articles/ai-services/.openpublishing.redirection.cognitive-services.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6119,6 +6119,11 @@
61196119
"source_path_from_root": "/articles/cognitive-services/Translator/quickstart-translator-sdk.md",
61206120
"redirect_url": "/azure/ai-services/Translator/quickstart-text-sdk",
61216121
"redirect_document_id": false
6122+
},
6123+
{
6124+
"source_path_from_root": "/articles/ai-services/computer-vision/how-to/install-sdk.md",
6125+
"redirect_url": "/articles/ai-services/computer-vision/sdk/install-sdk",
6126+
"redirect_document_id": false
61226127
}
61236128
]
61246129
}

articles/ai-services/computer-vision/includes/quickstarts-sdk/image-analysis-cpp-sdk-40.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ms.author: pafarley
1616

1717
Use the Image Analysis client SDK for C++ to analyze an image to read text and generate an image caption. This quickstart defines a function `AnalyzeImage()`, which uses the client object to analyze a remote image and print the results to the console.
1818

19-
[Reference documentation](/cpp/cognitive-services/vision) | Packages (NuGet): [ImageAnalysis](https://www.nuget.org/packages/Azure.AI.Vision.ImageAnalysis) | [Samples](https://github.com/Azure-Samples/azure-ai-vision-sdk)
19+
[Reference documentation](/cpp/cognitive-services/vision) | [Package (NuGet)](https://www.nuget.org/packages/Azure.AI.Vision.ImageAnalysis) | [Samples](https://github.com/Azure-Samples/azure-ai-vision-sdk)
2020

2121
> [!TIP]
2222
> The Analysis 4.0 API can do many different operations. See the [Analyze Image how-to guide](../../how-to/call-analyze-image-40.md) for examples that showcase all of the available features.
@@ -41,11 +41,11 @@ Open Visual Studio, and under **Get started** select **Create a new project**. S
4141

4242
### Install the client SDK
4343

44-
Once you've created a new project, install the client SDK by right-clicking on the project solution in the **Solution Explorer** and selecting **Manage NuGet Packages**. In the package manager that opens select **Browse**, check **Include prerelease**, and search for `Azure.AI.Vision.ImageAnalysis`. Select **Install**. For more information, see the [SDK installation guide](../../how-to/install-sdk.md).
44+
Once you've created a new project, install the client SDK by right-clicking on the project solution in the **Solution Explorer** and selecting **Manage NuGet Packages**. In the package manager that opens select **Browse**, check **Include prerelease**, and search for `Azure.AI.Vision.ImageAnalysis`. Select **Install**. For more information, see the [SDK installation guide](../../sdk/install-sdk.md?pivots=programming-language-cpp).
4545

4646
#### [Linux](#tab/linux)
4747

48-
Follow the [SDK installation guide](../../how-to/install-sdk.md) to install the Vision SDK for Linux.
48+
Follow the [SDK installation guide](../../sdk/install-sdk.md?pivots=programming-language-csharp) to install the Vision SDK for Linux.
4949

5050
---
5151

articles/ai-services/computer-vision/includes/quickstarts-sdk/image-analysis-csharp-sdk-40.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ms.author: pafarley
1616

1717
Use the Image Analysis client SDK for C# to analyze an image to read text and generate an image caption. This quickstart defines a method `AnalyzeAsync()`, which uses the client object to analyze a remote image and print the results to the console.
1818

19-
[Reference documentation](/dotnet/api/azure.ai.vision.imageanalysis) | Packages (NuGet): [ImageAnalysis](https://www.nuget.org/packages/Azure.AI.Vision.ImageAnalysis) | [Samples](https://github.com/Azure-Samples/azure-ai-vision-sdk)
19+
[Reference documentation](/dotnet/api/azure.ai.vision.imageanalysis) | [Packages (NuGet)](https://www.nuget.org/packages/Azure.AI.Vision.ImageAnalysis) | [Samples](https://github.com/Azure-Samples/azure-ai-vision-sdk)
2020

2121
> [!TIP]
2222
> The Analysis 4.0 API can do many different operations. See the [Analyze Image how-to guide](../../how-to/call-analyze-image-40.md) for examples that showcase all of the available features.
@@ -41,7 +41,7 @@ Open Visual Studio, and under **Get started** select **Create a new project**. S
4141

4242
### Install the client SDK
4343

44-
Once you've created a new project, install the client SDK by right-clicking on the project solution in the **Solution Explorer** and selecting **Manage NuGet Packages**. In the package manager that opens select **Browse**, check **Include prerelease**, and search for `Azure.AI.Vision.ImageAnalysis`. Select **Install**. For more information, see the [SDK installation guide](../../how-to/install-sdk.md).
44+
Once you've created a new project, install the client SDK by right-clicking on the project solution in the **Solution Explorer** and selecting **Manage NuGet Packages**. In the package manager that opens select **Browse**, check **Include prerelease**, and search for `Azure.AI.Vision.ImageAnalysis`. Select **Install**. For more information, see the [SDK installation guide](../../sdk/install-sdk.md?pivots=programming-language-csharp).
4545

4646
#### [CLI](#tab/cli)
4747

@@ -75,7 +75,7 @@ Within the application directory, install the Azure AI Vision client SDK for .NE
7575
dotnet add package Azure.AI.Vision.ImageAnalysis --prerelease
7676
```
7777

78-
For more information, see the [SDK installation guide](../../how-to/install-sdk.md).
78+
For more information, see the [SDK installation guide](../../sdk/install-sdk.md?pivots=programming-language-csharp).
7979

8080
---
8181

articles/ai-services/computer-vision/includes/quickstarts-sdk/image-analysis-python-sdk-40.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Use the Image Analysis client SDK for Python to analyze a remote image to read t
4444
python -m pip install azure-ai-vision
4545
```
4646

47-
For more information, see the [SDK installation guide](../../how-to/install-sdk.md).
47+
For more information, see the [SDK installation guide](../../sdk/install-sdk.md?pivots=programming-language-python).
4848

4949
1. Copy the following code into *quickstart.py*:
5050

articles/ai-services/computer-vision/includes/setup-sdk/cpp-linux.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ Installing the Vision SDK package requires your device to support the APT/Debian
1010

1111
### Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04, Debian 10 (Buster)
1212

13-
1. **By installing the Azure AI Vision SDK package you acknowledge the [Azure AI Vision SDK license agreement](https://aka.ms/azai/vision/license)**.
14-
1513
1. The Debian package is hosted on a Microsoft feed. To install the package, you first need to add the Microsoft feed to your device's package manager. To do that, run the following commands:
1614

1715
* For Ubuntu 18.04 (Bionic Beaver)
@@ -53,25 +51,21 @@ Installing the Vision SDK package requires your device to support the APT/Debian
5351
* _azure-ai-vision-dev-common_
5452
* _azure-ai-vision-dev-image-analysis_
5553
* _azure-ai-vision-runtime-common_
56-
* _azure-ai-vision-runtime-common-media_
5754
* _azure-ai-vision-runtime-image-analysis_
5855

5956
### Other Linux platforms
6057

61-
1. **By installing the Azure AI Vision SDK package you acknowledge the [Azure AI Vision SDK license agreement](https://aka.ms/azai/vision/license)**.
62-
6358
1. Directly download the following five packages to your device:
6459
```sh
6560
wget https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod/pool/main/a/azure-ai-vision-dev-common/azure-ai-vision-dev-common-0.13.0~beta.1-Linux.deb
6661
wget https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod/pool/main/a/azure-ai-vision-dev-image-analysis/azure-ai-vision-dev-image-analysis-0.13.0~beta.1-Linux.deb
6762
wget https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod/pool/main/a/azure-ai-vision-runtime-common/azure-ai-vision-runtime-common-0.13.0~beta.1-Linux.deb
68-
wget https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod/pool/main/a/azure-ai-vision-runtime-common-media/azure-ai-vision-runtime-common-media-0.13.0~beta.1-Linux.deb
6963
wget https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod/pool/main/a/azure-ai-vision-runtime-image-analysis/azure-ai-vision-runtime-image-analysis-0.13.0~beta.1-Linux.deb
7064
```
7165
1. Install the five packages:
7266
```sh
7367
sudo apt update
74-
sudo apt install ./azure-ai-vision-dev-common-0.13.0~beta.1-Linux.deb ./azure-ai-vision-dev-image-analysis-0.13.0~beta.1-Linux.deb ./azure-ai-vision-runtime-common-0.13.0~beta.1-Linux.deb ./azure-ai-vision-runtime-common-media-0.13.0~beta.1-Linux.deb ./azure-ai-vision-runtime-image-analysis-0.13.0~beta.1-Linux.deb
68+
sudo apt install ./azure-ai-vision-dev-common-0.13.0~beta.1-Linux.deb ./azure-ai-vision-dev-image-analysis-0.13.0~beta.1-Linux.deb ./azure-ai-vision-runtime-common-0.13.0~beta.1-Linux.deb ./azure-ai-vision-runtime-image-analysis-0.13.0~beta.1-Linux.deb
7569
```
7670

7771
### Verify installation

articles/ai-services/computer-vision/includes/setup-sdk/cpp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ ms.date: 08/01/2023
66
ms.author: pafarley
77
---
88

9-
[Reference documentation](/cpp/cognitive-services/vision) | Packages (NuGet): [ImageAnalysis](https://www.nuget.org/packages/Azure.AI.Vision.ImageAnalysis) | [Samples](https://github.com/Azure-Samples/azure-ai-vision-sdk)
9+
[Reference documentation](/cpp/cognitive-services/vision) | [Packages (NuGet)](https://www.nuget.org/packages/Azure.AI.Vision.ImageAnalysis) | [Samples](https://github.com/Azure-Samples/azure-ai-vision-sdk)
1010

11-
This guide shows how to install the Vision SDK for C++.
11+
This guide shows how to install the Vision SDK for C++.
1212

1313
## Platform requirements
1414

articles/ai-services/computer-vision/includes/setup-sdk/csharp.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.date: 08/01/2023
66
ms.author: pafarley
77
---
88

9-
[Reference documentation](/dotnet/api/azure.ai.vision.imageanalysis) | Packages (NuGet): [ImageAnalysis](https://www.nuget.org/packages/Azure.AI.Vision.ImageAnalysis) | [Samples](https://github.com/Azure-Samples/azure-ai-vision-sdk)
9+
[Reference documentation](/dotnet/api/azure.ai.vision.imageanalysis) | [Packages (NuGet)](https://www.nuget.org/packages/Azure.AI.Vision.ImageAnalysis) | [Samples](https://github.com/Azure-Samples/azure-ai-vision-sdk)
1010

1111
This guide shows how to install the Vision SDK for C#.
1212

@@ -21,15 +21,15 @@ The Vision SDK for C# is available as a NuGet package and implements .NET Standa
2121

2222
# [Terminal](#tab/dotnetcli)
2323

24-
The Vision SDK for C# can be installed from the [.NET CLI](https://dotnet.microsoft.com/download/dotnet/). To add a package reference in your project file, run this command in the folder where your .csproj` file is located:
24+
The Vision SDK for C# can be installed from the [.NET CLI](https://dotnet.microsoft.com/download/dotnet/). To add a package reference in your project file, run this command in the folder where your `.csproj` file is located:
2525

2626
```dotnetcli
2727
dotnet add package Azure.AI.Vision.ImageAnalysis --prerelease
2828
```
2929

3030
# [PowerShell](#tab/powershell)
3131

32-
The Vision SDK for C# can be installed from the [.NET CLI](https://dotnet.microsoft.com/download/dotnet/). To add a package reference in your project file, run this command in the folder where your .csproj` file is located:
32+
The Vision SDK for C# can be installed from the [.NET CLI](https://dotnet.microsoft.com/download/dotnet/). To add a package reference in your project file, run this command in the folder where your `.csproj` file is located:
3333

3434
```powershell
3535
Install-Package Azure.AI.Vision.ImageAnalysis --prerelease
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Vision SDK license terms
3+
titleSuffix: Azure AI services
4+
description: This page shows links to license terms and third-party notice.
5+
author: PatrickFarley
6+
ms.service: cognitive-services
7+
ms.subservice: computer-vision
8+
ms.topic: include
9+
ms.date: 12/04/2021
10+
ms.author: pafarley
11+
---
12+
13+
> [!IMPORTANT]
14+
> By installing the Azure AI Vision SDK, you acknowledge its license. For more information, see:
15+
> - <a href="https://aka.ms/azai/vision/license" target="_blank">Microsoft software license terms for the Vision SDK <span class="docon docon-navigate-external x-hidden-focus"></span></a>
16+
> - <a href="https://aka.ms/azai/vision/TPN" target="_blank">Third-party software notices for the Vision SDK<span class="docon docon-navigate-external x-hidden-focus"></span></a>
17+

articles/ai-services/computer-vision/includes/setup-sdk/python-requirements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The Vision SDK for C# only supports **Ubuntu 18.04/20.04/22.04** and **Debian 9/
2525

2626
---
2727

28-
Install a version of [Python from 3.7 or later](https://wiki.python.org/moin/BeginnersGuide/Download).
28+
Install a version of [Python from 3.8 or later](https://wiki.python.org/moin/BeginnersGuide/Download).
2929

3030
To check your installation, open a terminal and run the command `python --version`. If it's installed properly, you'll get a response like "Python 3.8.10". If you're using Linux, you might need to run the command `python3 --version` instead. To enable use of `python` instead of `python3`, run `alias python='python3'` to set up an alias. The Vision SDK quickstart samples specify `python` usage.
3131

articles/ai-services/computer-vision/includes/setup-sdk/python.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.author: pafarley
88

99
[Reference documentation](/python/api/azure-ai-vision) | [Package (PyPi)](https://pypi.org/project/azure-ai-vision/) | [Samples](https://github.com/Azure-Samples/azure-ai-vision-sdk)
1010

11-
This guide shows how to install the Vision SDK for Python.
11+
This guide shows how to install the Vision SDK for Python.
1212

1313
## Platform requirements
1414

@@ -60,22 +60,19 @@ To install the Vision SDK for Python:
6060

6161
1. Select **Terminal** > **New Terminal** to open a terminal within Visual Studio Code.
6262
1. At the terminal prompt, run the following command to install the Vision SDK for Python package.
63-
6463
```console
6564
python -m pip install azure-ai-vision
6665
```
6766

68-
To upgrade to the latest Vision SDK, run this command in a terminal:
69-
70-
```console
71-
python -m pip install --upgrade azure-ai-vision
72-
```
73-
74-
You can check which Vision SDK for Python version is currently installed by running this command:
67+
1. To upgrade to the latest Vision SDK, run this command in a terminal:
68+
```console
69+
python -m pip install --upgrade azure-ai-vision
70+
```
7571

76-
```console
77-
pip list
78-
```
72+
1. You can check which Vision SDK for Python version is currently installed by running this command:
73+
```console
74+
pip list
75+
```
7976

8077
For more information about Visual Studio Code and Python, see the [Visual Studio Code documentation](https://code.visualstudio.com/docs) and the [Visual Studio Code Python tutorial](https://code.visualstudio.com/docs/python/python-tutorial).
8178

0 commit comments

Comments
 (0)