Get your API key from Plate Recognizer. Replace MY_API_KEY with your API key in the file recognize.java
This java client uses the unirest library.
If you are using maven, it is very easy to setup, Just add following line in your pom.xml
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-java</artifactId>
<version>3.1.00</version>
<classifier>standalone</classifier>
</dependency>
Update the file
variable in recognize.java and run your project, it will automatically download the library!