Unable to read text from an Image file using Java OCR

Hi,I have Downloaded Aspose Java OCR component today and also got the code snippet provided on site for reading text from an image fle. I am not able to run this program. We have also downloaded the resources zip file for Java and set the same in Java program. We are currently facing following issue. Please help as we are working on a POC for our client demo.

Image Type checked - bmp and tiff. We are facing this issue on both types of images.

com.aspose.ocr.OcrException

: Error occurred during recognition.

at com.aspose.ocr.OcrEngine.a(Unknown Source)

at com.aspose.ocr.OcrEngine.process(Unknown Source)

at TIFFAnnotation.main(

TIFFAnnotation.java:39)

Caused by: com.aspose.ocr.internal.bx: Error while loading 0 net (Network_12netsFS_Arial_BigAlphabet_18x18_8pt_468-26_v4L): Invalid version of serialized data

at com.aspose.ocr.aU.(Unknown Source)

at com.aspose.ocr.ae.c(Unknown Source)

at com.aspose.ocr.aK.(Unknown Source)

at com.aspose.ocr.an.a(Unknown Source)

... 3 more

Caused by: class com.aspose.ocr.internal.cu: Invalid version of serialized data

com.aspose.ocr.internal.rY.a(Unknown Source)

com.aspose.ocr.internal.ta.a(Unknown Source)

com.aspose.ocr.internal.sa.a(Unknown Source)

com.aspose.ocr.aU.(Unknown Source)

com.aspose.ocr.ae.c(Unknown Source)

com.aspose.ocr.aK.(Unknown Source)

com.aspose.ocr.an.a(Unknown Source)

com.aspose.ocr.OcrEngine.a(Unknown Source)

com.aspose.ocr.OcrEngine.process(Unknown Source)

TIFFAnnotation.main(

TIFFAnnotation.java:39)

at com.aspose.ocr.internal.rY.a(Unknown Source)

at com.aspose.ocr.internal.ta.a(Unknown Source)

at com.aspose.ocr.internal.sa.a(Unknown Source)

... 7 more

com.aspose.ocr.OcrException

Hi Amit,

Thank you for contacting Aspose support.

As discussed in your [compatible resource file](https://forum.aspose.com/t/1417). In case the problem persists, please share your sample image so we could properly investigate the problem cause on our end.

Looking forward to your test results.