> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IEmptyPageDetectionOptions

> IEmptyPageDetectionOptions tunes empty page detection in Scanning Station scripts: kernel rectangle plus limits on barcodes, black squares, text, and blackness.

## What it does

Stores the options for detecting empty pages.

## Properties

| **Name**               | **Type**                                                             | **Access** | **Description**                                                                                                                                        |
| ---------------------- | -------------------------------------------------------------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| KernelRect             | [IPageRect](/flexi-capture/scanning-station/shared/scripts/pagerect) | Read/write | A relative rectangle of the page kernel (measured in twips). If all dimensions are equal to "0", the rectangle is defined automatically.               |
| MaxBarcodesCount       | int                                                                  | Read/write | The maximum amount of barcodes that can be located on an empty page. If the value is "-1", the property is not used.                                   |
| MaxBlackSquaresCount   | int                                                                  | Read/write | The maximum amount of black squares that can be located on an empty page. If the value is "-1", the property is not used.                              |
| MaxTextObjectsCount    | int                                                                  | Read/write | The maximum amount of text objects that can be located on an empty page. If the value is "-1", the property is not used.                               |
| MaxBlacknessPercentage | int                                                                  | Read/write | The maximum relative amount of black space (in percentage terms) that can be located on an empty page. If the value is "-1", the property is not used. |
