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/cognitive-services/Computer-vision/includes/quickstarts-sdk/image-analysis-cpp-sdk-40.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ ms.author: pafarley
16
16
17
17
Use the Image Analysis client library for C++ to analyze an image to read text and generate captions. This quickstart defines a method, `AnalyzeImage`, which uses the client object to analyze a remote image and print the results.
> You can also analyze a local image. See the [reference documentation](/cpp/cognitive-services/vision) for alternative **Analyze** methods. Or, see the sample code on [GitHub](https://github.com/Azure-Samples/azure-ai-vision-sdk/blob/main/samples/cpp/image-analysis/samples.cpp) for scenarios involving local images.
@@ -27,7 +27,7 @@ Use the Image Analysis client library for C++ to analyze an image to read text a
27
27
## Prerequisites
28
28
29
29
* An Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services/)
30
-
* The [Visual Studio IDE](https://visualstudio.microsoft.com/vs/).
30
+
* The [Visual Studio IDE](https://visualstudio.microsoft.com/vs/) with workload **Desktop development with C++** enabled.
31
31
* Once you have your Azure subscription, <ahref="https://portal.azure.com/#create/Microsoft.CognitiveServicesComputerVision"title="Create a Computer Vision resource"target="_blank">create a Computer Vision resource</a> in the Azure portal. In order to use the captioning feature in this quickstart, you must create your resource in one of the following Azure regions: East US, France Central, Korea Central, North Europe, Southeast Asia, West Europe, West US. After it deploys, click **Go to resource**.
32
32
* You will need the key and endpoint from the resource you create to connect your application to the Computer Vision service.
33
33
* You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
@@ -41,9 +41,7 @@ Create a new C++ application.
41
41
42
42
#### [Windows](#tab/windows)
43
43
44
-
In Visual Studio, open the **File** menu and choose **New** -> **Project** to open the **Create a new Project** dialog. Create a new **C++ Console application** and then choose **Next**.
45
-
46
-
In the **Configure your new project** dialog, enter _ImageAnalysisQuickstart_ in the **Project name** edit box. Choose **Create** to create the project.
44
+
Open Visual Studio, and under **Get started** select **Create a new project**. Set the template filters to _C++/Windows/Console_. Select **Console App** and choose **Next**. Update the project name to _ImageAnalysisQuickstart_ and choose **Create** to create the project.
47
45
48
46
### Install the client library
49
47
@@ -64,7 +62,7 @@ From the project directory, open the _ImageAnalysisQuickstart.cpp_ file that was
Then, run the application by clicking the **Debug**button at the top of the IDE window.
65
+
Then, compile run the application by selecting **Start Debugging** from the **Debug**menu at the top of the IDE window (or press **F5**). You should see output similar to the one below.
68
66
69
67
> [!div class="nextstepaction"]
70
68
> <ahref="https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=CPP&Pillar=Vision&Product=Image-analysis&Page=quickstart4&Section=Analyze-image"target="_target">I ran into an issue</a>
Copy file name to clipboardExpand all lines: articles/cognitive-services/Computer-vision/includes/quickstarts-sdk/image-analysis-csharp-sdk-40.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ ms.author: pafarley
17
17
Use the Image Analysis client library for C# to analyze an image to read text and generate captions. This quickstart defines a method, `AnalyzeAsync`, which uses the client object to analyze a remote image and print the results.
> You can also analyze a local image. See the [reference documetation](/dotnet/api/azure.ai.vision.imageanalysis) for alternative **Analyze** methods. Or, see the sample code on [GitHub](https://github.com/Azure-Samples/azure-ai-vision-sdk/blob/main/samples/csharp/image-analysis/dotnetcore/Samples.cs) for scenarios involving local images.
@@ -28,7 +28,7 @@ Use the Image Analysis client library for C# to analyze an image to read text an
28
28
## Prerequisites
29
29
30
30
* An Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services/)
31
-
* The [Visual Studio IDE](https://visualstudio.microsoft.com/vs/)or current version of [.NET Core](https://dotnet.microsoft.com/download/dotnet-core).
31
+
* The [Visual Studio IDE](https://visualstudio.microsoft.com/vs/)with workload **.NET desktop development** enabled, or [.NET 6.0](https://dotnet.microsoft.com/download/dotnet-core) SDK or above installed.
32
32
* Once you have your Azure subscription, <ahref="https://portal.azure.com/#create/Microsoft.CognitiveServicesComputerVision"title="Create a Computer Vision resource"target="_blank">create a Computer Vision resource</a> in the Azure portal. In order to use the captioning feature in this quickstart, you must create your resource in one of the following Azure regions: East US, France Central, Korea Central, North Europe, Southeast Asia, West Europe, West US. After it deploys, click **Go to resource**.
33
33
* You will need the key and endpoint from the resource you create to connect your application to the Computer Vision service.
34
34
* You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
@@ -42,7 +42,7 @@ Create a new C# application.
42
42
43
43
#### [Visual Studio IDE](#tab/visual-studio)
44
44
45
-
Using Visual Studio, create a new **Console app (.NET Framework)** application.
45
+
Open Visual Studio, and under **Get started** select **Create a new project**. Set the template filters to _C#/All Platforms/Console_. Select **Console App** (command-line application that can run on .NET on Windows, Linux and macOS) and choose **Next**. Update the project name to _ImageAnalysisQuickstart_ and choose **Next**. Select **.NET 6.0** or higher, and choose **Create** to create the project.
46
46
47
47
### Install the client library
48
48
@@ -91,15 +91,19 @@ From the project directory, open the *Program.cs* file that was created previous
0 commit comments