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);

asked 21 May '14, 13:30

dece's gravatar image

dece
112


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

link

answered 21 May '14, 14:55

SDK_support's gravatar image

SDK_support ♦♦
2763

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×100
×41
×15
×3
×2

Asked: 21 May '14, 13:30

Seen: 2,033 times

Last updated: 21 May '14, 14:55

© 2016 ABBYY. All rights Reserved. www.ABBYY.com | Privacy Policy | Legal