asked on October 8, 2018
Hello,
We've written a Laserfiche Integration and are having an issue with OCR'ing the PDF's we are saving into Laserfiche. When calling the OCR engine we are getting the following error.
System.InvalidOperationException: The specified OCR engine could not be loaded.
at Laserfiche.DocumentServices.OcrEngine.LoadEngine(String progID)
Using the following code (where doc is a valid document):
using (OcrEngine ocrEngine = OcrEngine.LoadEngine())
{
ocrEngine.AutoOrient = true;
ocrEngine.Decolumnize = true;
ocrEngine.OptimizationMode = OcrOptimizationMode.Accuracy;
ocrEngine.Run(doc);
}
0
0