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/paste the .java file into your IDE or text editor,
add the example-ink-strokes.json file as a resource to your project or working directory,
create a lib folder in your working directory (or IDE project) and add the Java jar libraries needed:
httpclient-4.5.11+
slf4j-jdk14-1.7.28+
httpcore-4.4.13+
commons-logging-1.2+
jackson-databind-2.10.2+
jackson-annotations-2.10.2+
jackson-core-2.10.2+
Add your key and endpoint from your Azure resource to your environment variables with the variable names suggested in the sample.
Running the samples
If trying the Android app, upload the Recognizer repo into Android Studio, add environment variables for key/endpoint, and run.
For the quickstart, run from your IDE or using the below commands from the command line: javac RecognizeInk.java -cp .;lib\* -encoding UTF-8 java -cp .;lib\* RecognizeInk