Skip to content

Commit 6a5bf7c

Browse files
committed
Fixes after first commit
1 parent 5021d70 commit 6a5bf7c

File tree

8 files changed

+27
-10
lines changed

8 files changed

+27
-10
lines changed

articles/ai-services/computer-vision/how-to/call-analyze-image-40.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ This article demonstrates how to call the Image Analysis 4.0 API to return infor
3636

3737
::: zone-end
3838

39+
::: zone pivot="programming-language-java"
40+
41+
[!INCLUDE [Java SDK](../includes/how-to-guides/analyze-image-40-java.md)]
42+
43+
::: zone-end
44+
3945
::: zone pivot="programming-language-rest-api"
4046

4147
[!INCLUDE [REST API](../includes/how-to-guides/analyze-image-40-rest.md)]

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ Then, compile and run the application by selecting **Start Debugging** from the
6767

6868
## Output
6969

70+
The console output should show something similar to the following text:
71+
7072
```console
7173
Caption:
7274
"a person pointing at a screen", Confidence 0.489159

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ dotnet run
108108

109109
---
110110

111-
112-
113111
## Output
114112

113+
The console output should show something similar to the following text:
114+
115115
```console
116116
Caption:
117117
"a person pointing at a screen", Confidence 0.4892

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Use the Image Analysis client SDK for Java to analyze an image to read text and
2424
## Prerequisites
2525

2626
* A Windows 10 (or higher) x64, or Linux x64 machine.
27-
* [Java 8](https://www.java.com/download/) or newer installed. Run `java -version` from a command line to see your version and confirm a successful install. Make sure that the Java installation is native to the system architecture (e.g. Linux x64) and not running through emulation.
27+
* [Java 8](https://www.java.com/download/) or newer installed. Run `java -version` from a command line to see your version and confirm a successful install. Make sure that the Java installation is native to the system architecture and not running through emulation.
2828
* [Apache Maven](https://maven.apache.org/download.cgi) installed. On Linux, install from the distribution repositories if available. Run `mvn -v` to confirm successful installation.
2929
* An Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services/)
3030
* Once you have your Azure subscription, <a href="https://portal.azure.com/#create/Microsoft.CognitiveServicesComputerVision" title="create a Vision resource" target="_blank">create a 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, select **Go to resource**.
@@ -36,7 +36,7 @@ Use the Image Analysis client SDK for Java to analyze an image to read text and
3636

3737
Open a console window and create a new folder for your quickstart application.
3838

39-
1. Open a text editor and copy the content below to a new file. Save the file as `pom.xml` in your project directory
39+
1. Open a text editor and copy the following content to a new file. Save the file as `pom.xml` in your project directory
4040

4141
[!INCLUDE][](https://raw.githubusercontent.com/Azure-Samples/azure-ai-vision-sdk/main/docs/learn.microsoft.com/java/image-analysis/quick-start/pom.xml)]
4242

@@ -52,7 +52,7 @@ For more information, see the [SDK installation guide](../../sdk/install-sdk.md?
5252

5353
## Analyze Image
5454

55-
Open a text editor and copy the content below to a new file. Save the file as `ImageAnalysis.java`
55+
Open a text editor and copy the following content to a new file. Save the file as `ImageAnalysis.java`
5656

5757
[!code-java[](~/azure-ai-vision-sdk/docs/learn.microsoft.com/java/image-analysis/quick-start/ImageAnalysis.java?name=snippet_single)]
5858

@@ -67,7 +67,8 @@ java -cp ".;target\dependency\*" ImageAnalysis
6767

6868
## Output
6969

70-
The output should be similar to the following:
70+
The console output should show something similar to the following text:
71+
7172
```console
7273
Caption:
7374
"a person pointing at a screen", Confidence 0.4892

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ Use the Image Analysis client SDK for Python to analyze a remote image to read t
5959
python quickstart.py
6060
```
6161

62-
63-
6462
## Output
6563

64+
The console output should show something similar to the following text:
65+
6666
```console
6767
Caption:
6868
'a person pointing at a screen', Confidence 0.4892

articles/ai-services/computer-vision/quickstarts-sdk/image-analysis-client-library-40.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ Get started with the Image Analysis 4.0 REST API or client SDK to set up a basic
3838

3939
::: zone-end
4040

41+
::: zone pivot="programming-language-java"
42+
43+
[!INCLUDE [Java SDK quickstart](../includes/quickstarts-sdk/image-analysis-java-sdk-40.md)]
44+
45+
::: zone-end
46+
4147
::: zone pivot="programming-language-rest-api"
4248

4349
[!INCLUDE [REST API quickstart](../includes/image-analysis-curl-quickstart-40.md)]

articles/ai-services/computer-vision/sdk/install-sdk.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.topic: quickstart
1111
ms.date: 08/01/2023
1212
ms.author: pafarley
1313
ms.custom: devx-track-python, devx-track-csharp, devx-track-dotnet
14-
zone_pivot_groups: programming-languages-vision-40-sdk
14+
zone_pivot_groups: programming-languages-vision-40-sdk
1515
---
1616

1717
# Install the Vision SDK
@@ -31,7 +31,7 @@ zone_pivot_groups: programming-languages-vision-40-sdk
3131
::: zone-end
3232

3333
::: zone pivot="programming-language-java"
34-
[!INCLUDE [Python include](../includes/setup-sdk/java.md)]
34+
[!INCLUDE [Java include](../includes/setup-sdk/java.md)]
3535
::: zone-end
3636

3737
## Next steps

articles/zone-pivot-groups.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,8 @@ groups:
640640
title: C#
641641
- id: programming-language-python
642642
title: Python
643+
- id: programming-language-java
644+
title: Java
643645
- id: programming-language-cpp
644646
title: C++
645647
- id: programming-languages-ocr

0 commit comments

Comments
 (0)