Free Support Forum - aspose.com

Aspose OCR 19.8.0

nhandled Exception: Aspose.OCR.OcrException: Error occurred during recognition. ---> System.Exception: Folder doesn't contains any suitable checkpoint.

at .(String , String )
at .(IEnumerable1 ) at ..ctor(IEnumerable1 )
at …ctor()
at …ctor()
at …ctor? , Boolean )
at ? .? , Boolean )
at Aspose.OCR.OcrEngine.()
— End of inner exception stack trace —
at Aspose.OCR.OcrEngine.()
at Aspose.OCR.OcrEngine.Process()
at OCRText.Program.ReadText(String file) in

I am receiving this error when trying to read text from a tiff file.

Here is the sample code i am using.

 // The path to the documents directory.
        string dataDir = file;

        // Initialize an instance of OcrEngine
        OcrEngine ocrEngine = new OcrEngine();

        // Set Image property by loading an image from file path
        ocrEngine.Image = ImageStream.FromFile(dataDir);

        // Run recognition process
        if (ocrEngine.Process())
        {
            Console.WriteLine(ocrEngine.Text);
        }

@smooney1234

Would you kindly try using Aspose.OCR for .NET 20.8 which is latest and more stable. In case you still face any issue, please feel free to let us know by sharing a sample image. Please make sure to use the latest version with 4.7 .NET Framework or Higher targeting x86 mode of debugging. Also, please follow below example to perform OCR on an image: