We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Throwing exception while running the code

Hi,

I have written the sample program as suggested in youtube for extracting text from the Image, but while running this program was throwing the following error:
Exception : Error occurred during recognition

I have downloaded all the required .NET component and the program was building successfully, But I am not sure like why it was throwing the error.
Mainly the error is throwing by the following line of code:
ocrEngine.Process()

I have created the new image with 4 letters “ABCD”. This is saved as .tiff.



Can you please help me out to resolve this issue.

Thanks,
Rajesh.

Hi Rajesh,

I was unable to reproduce the mentioned issue. Can you please confirm if you are using version 1.1.0 of the product and you have downloaded the resource file for version 1.1.0 from http://www.aspose.com/community/files/51/.net-components/aspose.ocr_for_.net/default.aspx

Best Regards,

Hi,

I was using version 1.1.0 of the product and I have downloaded
the resource file for version 2011.07.02 v1.0 Aspose.OCR.Resources.

Thanks,
Rajesh

I need to fix this issue as soon as possible. Can anyone please help me out to resolve this issue, because I need this immediately.

Thanks,
Rajesh.

Hi Rajessh,

Please download latest Aspose.OCR for .NET examples from http://www.aspose.com/community/files/51/.net-components/aspose.ocr_for_.net/category1405.aspx or https://github.com/asposeocr/Aspose_OCR_NET/downloads

You just need to change the resource file path.

Best Regards,