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/ai-services/computer-vision/includes/quickstarts-sdk/image-analysis-java-sdk-40.md
+51-5Lines changed: 51 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ Use the Image Analysis client SDK for Java to analyze an image to read text and
24
24
## Prerequisites
25
25
26
26
* 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 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 installation. Make sure that the Java installation is native to the system architecture and not running through emulation.
28
28
*[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.
29
29
* An Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services/)
30
30
* Once you have your Azure subscription, <ahref="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**.
@@ -38,14 +38,52 @@ Open a console window and create a new folder for your quickstart application.
38
38
39
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
> You can also analyze a local image or an image from memory buffer. See the [sample code](https://github.com/Azure-Samples/azure-ai-vision-sdk/blob/main/samples/java/image-analysis/src/azure/ai/vision/imageanalysis/samples/Samples.java) repository for these and other scenarios.
98
+
> The code shows analyzing an image URL. You can also analyze a local image file, or an image from a memory buffer. For more information, see the [Analyze Image how-to guide](../../how-to/call-analyze-image-40.md).
99
+
100
+
To compile the Java file, run the following:
61
101
62
-
Build and run the application by running the following in the project directory:
0 commit comments