Hello,

I am processing a BalckAndWhite images with SDK in Java. When i parse results Page Layout to find words, words box and confidence i got with some images the following error:

Exception in thread "main" com.abbyy.FREngine.EngineException: Internal program error: /media/frengine/fre11R3.build/svn/Platform/PortLayer/Inc/atlcom.h, 217. at com.abbyy.FREngine.IWord.getText(Native Method) or on GetCharParams(NativeMethod)

Any Advice? I use the following code.

engine = Engine.Load(config.System.ABBY_BIN, config.System.ABBY_SERIAL);
engine.LoadPredefinedProfile( "TextExtraction_Accuracy" ); doc = engine.CreateFRDocument();
doc.AddImageFile(sourceOCR, null, null);
//IDocumentProcessingParams pars = engine.CreateDocumentProcessingParams();
//IPageProcessingParams pagePars = engine.CreatePageProcessingParams(); IRecognizerParams recParams = engine.CreateRecognizerParams(); recParams.SetPredefinedTextLanguage("Italian"); pagePars.setRecognizerParams(recParams); doc.Process(pars);

and the i cycle on

doc.getPages() getLayout().getBlocks(); block.GetAsTextBlock(); text.getParagraphs(); para.getWords()

and son on...

asked 03 Jul '15, 13:31

Alessandro's gravatar image

Alessandro
112


Hello!

I've tried to reproduce this behavior, and there were no errors in FineReader Engine 11 with Demo-image (Demo.tif). Could you, please, contact technical support and send them the input document, the version of your FREngine distribution package, and the code snippet which will help to reproduce the issue.

link

answered 05 Jul '15, 22:45

Natalia%20Karaseva's gravatar image

Natalia Kara...
3214

Did you receive any resolution , Alessandro?

link

answered 03 Sep '15, 10:39

Sourav's gravatar image

Sourav
111

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:

×43

Asked: 03 Jul '15, 13:31

Seen: 1,377 times

Last updated: 03 Sep '15, 10:39

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