I would like to use the IsEmpty method in code but would like to define more properties. One of the properties I would like is the MaxBlacknessPercentage or any other properties that can help me fine tune the page removal. Here is an example of what I would like to achieve with the Abby Engine. http://knowledgebase.abbyy.com/article/1407

Thanks for you help! Below is a sample of how I am doing this.

if (!document.Pages[i].IsEmpty(null, recognizeParams, true) && !isBlank) {
documentPageIndicies.Add(i); _logger.DebugFormat("Page {0} is not blank.", i); } else { _logger.DebugFormat("Removing Page {0} from document.", i); }

asked 23 Jul '14, 03:51

JMisuraca's gravatar image

JMisuraca
112


Hi,

The IFRPage::IsEmpty method from your code snippet is not connected with MaxBlacknessPercentage property.

The empty pages detection was improved in last release of ABBYY FineReader Engine 11. Namely, new method IsEmptyEx was added:

IFRPage::IsEmptyEx(objectsExtractionParams, recognizerParams, emptyPageDetectionParams);

This method allows you to specify additional parameters during empty page detection, such as IEmptyPageDetectionParams::MaxBlackPercentage or IEmptyPageDetectionParams::MaxTextObjects.

link

answered 24 Jul '14, 10:28

Natalia%20Karaseva's gravatar image

Natalia Kara...
3214

That's awesome. Working my way through the channels to get a login so I can download Release 3.

(24 Jul '14, 20:59) JMisuraca
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:

×6
×1

Asked: 23 Jul '14, 03:51

Seen: 1,649 times

Last updated: 24 Jul '14, 20:59

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