You are viewing limited content. For full access, please sign in.

Question

Question

The specified OCR engine could not be loaded

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

Replies

replied on October 9, 2018

Is OCR installed on the machine that is running the code?


1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.