Aspose-ocr-1.1.0 jar missing

Hi

I have cloned OCR java examples from https://github.com/asposeocr/Aspose_OCR_Java.git
I have imported the project into eclipse.
It keeps complaining about missing ocr library aspose-ocr-1.1.0.
Where should I get this from?
Thanks, Thiagu

Hi Thiagu,


Thank you for considering Aspose APIs.

In order to get the examples work, you need to add the reference of Aspose.OCR for Java API in your Eclipse project. First of all, please download the Aspose.OCR for Java 2.0.0 (instead of v1.1.0) and its corresponding resources. Once the download process is complete, please extract the contents of the aspose-ocr-2.0.0-java.zip anywhere on your machine. Now you need to add the reference to aspose-ocr-2.0-jdk1x.jar (present on [download path]\aspose-ocr-2.0.0-java\lib) in your Eclipse project by following these simple steps.

  1. Right click on project and select Properties.
  2. Select Java Build Path from left hand pane.
  3. At the Libraries tab, first remove the existing reference of aspose-ocr-1.1.0.jar then click Add External JARs button to add the reference of aspose-ocr-2.0-jdk1x.jar.
  4. Click OK and you are good to go.

Important point to note here is that the OcrEngine.setResource method should point to the freshly downloaded resource archive (Aspose.OCR.Resources.zip).

Please feel free to contact us back in case you need further assistance.