Skip to content

Commit b26ddf9

Browse files
committed
Minor
1 parent 1468490 commit b26ddf9

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

articles/cognitive-services/Computer-vision/includes/quickstarts-sdk/image-analysis-cpp-sdk-40.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ From the project directory, open the _ImageAnalysisQuickstart.cpp_ file that was
6262
[!code-cpp[](~/azure-ai-vision-sdk/docs/learn.microsoft.com/cpp/image-analysis/2/2.cpp?name=snippet_single)]
6363

6464

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.
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.
6666

6767
> [!div class="nextstepaction"]
6868
> <a href="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>

articles/cognitive-services/Computer-vision/includes/quickstarts-sdk/image-analysis-csharp-sdk-40.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Use the Image Analysis client library for C# to analyze an image to read text an
2525
## Prerequisites
2626

2727
* 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.
2929
* Once you have your Azure subscription, <a href="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**.
3030
* You will need the key and endpoint from the resource you create to connect your application to the Computer Vision service.
3131
* 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.
3939

4040
#### [Visual Studio IDE](#tab/visual-studio)
4141

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.
4343

4444
### Install the client library
4545

@@ -49,13 +49,13 @@ Once you've created a new project, install the client library by right-clicking
4949

5050
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*.
5151

52-
```console
52+
```dotnet
5353
dotnet new console -n image-analysis-quickstart
5454
```
5555

5656
Change your directory to the newly created app folder. You can build the application with:
5757

58-
```console
58+
```dotnet
5959
dotnet build
6060
```
6161

@@ -73,7 +73,7 @@ Build succeeded.
7373

7474
Within the application directory, install the Computer Vision client library for .NET with the following command:
7575

76-
```console
76+
```dotnet
7777
dotnet add package Azure.AI.Vision.ImageAnalysis --prerelease
7878
```
7979

@@ -101,11 +101,8 @@ Build and run the application by selecting **Start Debugging** from the **Debug*
101101

102102
Build and run the application from your application directory with these commands:
103103

104-
```console
105-
dotnet build
106-
```
107-
108104
```dotnet
105+
dotnet build
109106
dotnet run
110107
```
111108

articles/cognitive-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
@@ -50,7 +50,7 @@ Use the Image Analysis client library for Python to analyze a remote image to re
5050
> [!TIP]
5151
> 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.
5252

53-
[!code-python[](~/azure-ai-vision-sdk/docs/learn.microsoft.com/python/image-analysis/2/main.py?name=snippet_single)]
53+
[!code-python[](~/azure-ai-vision-sdk/docs/learn.microsoft.com/python/image-analysis/2/main.py?name=snippet_single)]
5454

5555
1. Then run the application with the `python` command on your quickstart file.
5656

0 commit comments

Comments
 (0)