Blank pages in Runtime FR OCR engine 11

  • 2.1K Views
  • Last Post 21 May 2014
dece posted this 21 May 2014

With developer license (with usb key) recognition work fine. When OCR is running on Runtime licence on client machine (with instaled and activated runtime licence - standalone) result OCR is blank page. Size of page is recognized fine but page is empty.

After enabled logging : 6652 :11:03:28.575, Logging stopped. 6652 :11:03:28.649, Logging started. ABBYY FineReader Engine build number: 11.1.4.118 6652 :11:03:28.653, 1 ms, IEngine::CreateDocumentProcessingParams( (IDocumentProcessingParams)0xd85e378 ) 6652 :11:03:28.658, 0 ms, IDocumentProcessingParams::get_PageProcessingParams( (IPageProcessingParams)0xd85e378 ) 6652 :11:03:28.663, 0 ms, IPageProcessingParams::get_RecognizerParams( (IRecognizerParams)0xd85e378 ) 6652 :11:03:28.667, 1 ms, IRecognizerParams::SetPredefinedTextLanguage( (BSTR)"Polish" ) 6652 :11:03:28.673, 41 ms, IFRDocument::AddImageFile( (BSTR)"C:\Windows\TEMP\Sputnik\Proton\fbb50500-f5e9-4511-8564-b65e3a9deb1520987286\5.png", (IPrepareImageMode)0, (IIntsCollection)0 ) 6652 :11:03:28.719, 21 ms, IFRDocument::Process( (IDocumentProcessingParams*)0x159015c ) 6652 :11:03:28.749, 1 ms, IEngine::CreateRTFExportParams( (IRTFExportParams)0xd85e378 ) 6652 :11:03:28.754, 0 ms, IRTFExportParams::put_PageSynthesisMode( 2 ) 6652 :11:03:28.759, 12 ms, IFRDocument::Export( (BSTR)"C:\Windows\TEMP\tmp4CB8.tmp.rtf", 0, (structIUnknown*)0x159021c ) 6652 :11:03:28.776, Logging stopped.

Code c#: engineLoader.Engine.LoadPredefinedProfile("DocumentConversion_Accuracy");

        FREngine.FRDocument document = engineLoader.Engine.CreateFRDocument();

        try
        {
            engineLoader.Engine.StartLogging("AbbyyFineReaderLog.txt");
            outputFilePath = Path.GetTempFileName() + ".rtf";
            FREngine.DocumentProcessingParams dpp = engineLoader.Engine.CreateDocumentProcessingParams();
            FREngine.PageProcessingParams ppp = dpp.PageProcessingParams;

            ppp.RecognizerParams.SetPredefinedTextLanguage("Polish");

            document.AddImageFile(inputFilePath, null, null);
            document.Process(dpp);

            FREngine.RTFExportParams rtfParams = engineLoader.Engine.CreateRTFExportParams();
            rtfParams.PageSynthesisMode = RTFPageSynthesisModeEnum.PSM_RTFExactCopy;

            document.Export(outputFilePath, FREngine.FileExportFormatEnum.FEF_RTF, rtfParams);

SDK_support posted this 21 May 2014

Can you please send to SDK_Support@abbyy.com the processing image and your serial number for further investigations?

Close