JavaOpenOCR
January 31, 2019 ยท View on GitHub
A small lightweight Java client library for the open-ocr project.
Prerequisites
You need is a running instance of open-ocr. Also to run an application you need Tomcat Server and War archive of the application
Usage
Firstly you need to configure the host url for remote and local image processing accordingly. Beside that, for uploading images from local machine you must set directory where you are going to save them.
Required
public static final String URI_JSON = "YOUR_URL_FOR_REMOTE_UPLOAD";
public static final String URI_FILE = "YOUR_URL_FOR_FILE_UPLOAD";
public static final String PATH_TO_FILE = "YOUR_PATH_TO_FILE"
Analyze image from Url

Analyze image from PC

Eventually we'll get appropriate result
