inputImageMargin property

double inputImageMargin
getter/setter pair

Defines the minimum required margin (in percentage) between the edge of the input image and the document.

The setting is applicable only when using images from Video source. The setting is not applicable if scanCroppedDocumentImage = true (it will be ignored). This setting is implemented to comply with regulations in certain countries that mandate documents to be stored with adequate margins in the image.

Default: 0.02 (also recommended value)

Implementation

double inputImageMargin = 0.02;