Skip to content

Commit 79ba4af

Browse files
authored
Updated for clarity
1 parent 61bf049 commit 79ba4af

File tree

1 file changed

+13
-21
lines changed

1 file changed

+13
-21
lines changed

Vision/ComputerVision/README.md

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,29 @@ platforms: java
44
author: milismsft
55
---
66

7-
# Computer Vision SDK Sample ##
7+
# Computer Vision SDK Sample
88

9-
Sample code for image classification and object detection for Computer Vision, an Azure Cognitive Service.
10-
- Send a resource image and retrieve a description of it
11-
12-
## Features
13-
14-
This project framework provides examples for the **Computer Vision SDK** for the [Computer Vision API](https://azure.microsoft.com/en-us/services/cognitive-services/computer-vision/)
9+
This sample code uses image classification and object detection on an image with the Computer Vision Cognitive Service. It will retrieve and print information from the image. Maven is used.
1510

1611
## Getting Started
1712

1813
### Prerequisites
14+
- If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212).
15+
- Get an [Azure Computer Vision](https://azure.microsoft.com/en-us/services/cognitive-services/computer-vision/) account to get your subscription key and endpoint.
16+
- Add COMPUTER_VISION_SUBSCRIPTION_KEY and COMPUTER_VISION_ENDPOINT to your environment variables with your key and endpoint as values.
1917

20-
- An Azure Computer Vision account to get your subscription key and endpoint
21-
- Maven
22-
23-
### Quickstart
24-
25-
To run these samples locally:
18+
### Clone and run
2619

27-
1. git clone https://github.com/Azure-Samples/cognitive-services-java-sdk-samples.git
28-
2. cd cognitive-services-java-sdk-samples/Vision/ComputerVision
29-
3. set environment variable COMPUTER_VISION_SUBSCRIPTION_KEY with your subscription key
30-
4. set environment variable COMPUTER_VISION_ENDPOINT with your endpoint
31-
4. mvn compile exec:java
20+
Execute from the command line:
3221

33-
## More information ##
22+
1. `git clone https://github.com/Azure-Samples/cognitive-services-java-sdk-samples.git`
23+
1. `cd cognitive-services-java-sdk-samples/Vision/ComputerVision`
24+
1. `mvn compile exec:java -Dexec.cleanupDaemonThreads=false`
3425

35-
[http://azure.com/java](http://azure.com/java)
26+
## More information
3627

37-
If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212)
28+
- [Build and deploy Java apps on Azure](http://azure.com/java)
29+
- The [Computer Vision documentation](https://docs.microsoft.com/en-us/azure/cognitive-services/computer-vision/index)
3830

3931
---
4032

0 commit comments

Comments
 (0)