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
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.
65
+
Then, compile and 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.
66
66
67
67
> [!div class="nextstepaction"]
68
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
+6-9Lines changed: 6 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Use the Image Analysis client library for C# to analyze an image to read text an
25
25
## Prerequisites
26
26
27
27
* An Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services/)
28
-
* 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.
28
+
* 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.
29
29
* 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**.
30
30
* You will need the key and endpoint from the resource you create to connect your application to the Computer Vision service.
31
31
* You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
@@ -39,7 +39,7 @@ Create a new C# application.
39
39
40
40
#### [Visual Studio IDE](#tab/visual-studio)
41
41
42
-
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.
42
+
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 above, and choose **Create** to create the project.
43
43
44
44
### Install the client library
45
45
@@ -49,13 +49,13 @@ Once you've created a new project, install the client library by right-clicking
49
49
50
50
In a console window (such as cmd, PowerShell, or Bash), use the `dotnet new` command to create a new console app with the name `image-analysis-quickstart`. This command creates a simple "Hello World" C# project with a single source file: *Program.cs*.
51
51
52
-
```console
52
+
```dotnet
53
53
dotnet new console -n image-analysis-quickstart
54
54
```
55
55
56
56
Change your directory to the newly created app folder. You can build the application with:
57
57
58
-
```console
58
+
```dotnet
59
59
dotnet build
60
60
```
61
61
@@ -73,7 +73,7 @@ Build succeeded.
73
73
74
74
Within the application directory, install the Computer Vision client library for .NET with the following command:
Copy file name to clipboardExpand all lines: articles/cognitive-services/Computer-vision/includes/quickstarts-sdk/image-analysis-python-sdk-40.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
@@ -50,7 +50,7 @@ Use the Image Analysis client library for Python to analyze a remote image to re
50
50
> [!TIP]
51
51
> You can also analyze a local image. See the [sample code](https://github.com/Azure-Samples/azure-ai-vision-sdk/blob/main/samples/python/image-analysis/samples.py) repository for scenarios involving local images.
0 commit comments