A small lightweight Java client library for the open-ocr project.
You need is a running instance of open-ocr. Also to run an application you need Tomcat Server and War archive of the application
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.
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"