How to avoid slowdown of reading recognized data

Description of the issue

When you read recognized data from Layout object by iterating layout blocks, you get noticeable slowdown.

Cause of the issue

The issue is caused by overhead of calls, because they use so-called COM interface. The overhead may be especially high when you use OutprocLoader to load the FREngine.

How to avoid

There are several approaches to avoid this overhead:

  • load the FREngine using "naked" way ("Guided Tour" → "Advanced Techniques" → "Programming Aspects" → "Different Ways to Load the Engine Object");
  • export to either XML or ALTO format (and then parse it, if need).

 

 

Was this article helpful?

1 out of 1 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.

Recently viewed