How to automatically remove "almost" blank pages?
Use script stage in the workflow to check the page blackness percentage and delete the pages with the blackness percentage value less than certain threshold.
1. In the batch type settings, switch to "Advanced" workflow scheme and add a custom automatic script step right after the recognition:
2. Add the following script:
foreach (IDocument document in Batch.Documents)
foreach (IPage page in document.Pages)
IPictureObjectsInfo buf = page.Picture.AnalyzePageObjects();
if (buf.BlacknessPercentage <=2)
Make sure to use it for a batch processing:
3. If the page was not deleted, try to raise the value:
buf.BlacknessPercentage <= 2