Can the way ocr creates blocks be changed?

  • 55 Views
  • Last Post 19 September 2017
Ankit Kumar Sadangi posted this 12 September 2017

         

Order By: Standard | Newest | Votes
Ankit Kumar Sadangi posted this 12 September 2017

Can the way ocr creates blocks be changed?

Nikolay Krivchanskiy posted this 19 September 2017

Hi,

To influence on the way FineReader Engine extracts blocks, you can modify PageAnalysisParams object and pass it into Analyze method, or Process method. You can read about all options you can set with PageAnalysisParams in Help → API Reference → Parameter Objects → Preprocessing, Analysis, Recognition and Synthesis Parameters → PageAnalysisParams.

If that doesn’t suit you, you can create blocks for analysis manually, or modify the blocks created by FREngine.

To get access to blocks collection, please call Layout::Blocks. Each block can be deleted or modified.

To add blocks, please use LayoutBlocks::AddNew. LayoutBlocks is a collection, returned by Layout::Blocks and Layout::VisualBlocks methods, therefore you can add blocks conveniently.

Close