Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Vision REST API samples

These samples are quickstarts that show how to use various Vision APIs, such as Face.

Prerequisites

  • Create an Azure resource for the service you'd like to try, for example a Face resource.
  • Add your key and endpoint from your resource to your environment variables with the variable names suggested in the sample.
  • Add these jar libraries to your project or create a lib folder in your working directory and add them there:
    • commons-logging-4.0.6+
    • httpclient-4.5.3+
    • httpcore-4.4.13+
    • json-20190722+

Running the samples

Build/run in your IDE or from the command line, for example:
javac Main.java -cp .;lib\*
java -cp .;lib\* Main

Resources