When using the following code I get the this error message: "Message: Retrieving the COM class factory for component with CLSID {46918080-746B-40A4-824B-85D91B1F3D68} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))."
string docPath = "\\Test";
DocumentInfo docInfo = Document.GetDocumentInfo(docPath, LFSession);
docInfo.Lock(LockType.Exclusive);
using (OcrEngine ocrEngine = OcrEngine.LoadEngine())
{
ocrEngine.AutoOrient = true;
ocrEngine.Decolumnize = true;
ocrEngine.OptimizationMode = OcrOptimizationMode.Accuracy;
ocrEngine.Run(docInfo);
}
docInfo.Unlock();
I just upgraded to SDK 9.2 thinking that would fix my issue. It didn't. Which reference/assembly files do I need to check?