Class ProcessByTileConfiguration

Configuration for processing image by tiles. This can be used to make the document quality analyzer processing faster with lower memory consumption, but prediction can be less accurate.

Constructors

Properties

enabled: boolean

Enable processing by tiles.

Default Value

true;
maxProcessedFraction: number

At most this fraction of the image will be processed, range is from 0 to 1. Decreasing this value below 1.0 can lead to faster processing but may result in less accurate prediction, as only a subset of the image tiles will be analyzed.

Default Value

1.0;
minNumberOfRequiredSymbols: number

If this number of symbols is found and minProcessedFraction of the image is processed, the processing stops.

Default Value

100;
minProcessedFraction: number

At least this fraction of the image will be processed, range is from 0 to 1. Decreasing this value below 1.0 can lead to faster processing but may result in less accurate prediction, as only a subset of the image tiles will be analyzed.

Default Value

1.0;
tileSize: number

Image will be processed in tiles of this size; will be ignored if image is small.

Default Value

300;

Generated using TypeDoc