Class TextPatternScannerConfiguration

Configuration for the text pattern scanner.

Constructors

Properties

maximumNumberOfAccumulatedFrames: number

Maximum number of accumulated frames to inspect before actual result is returned.

Default is 3

minimumNumberOfRequiredFramesWithEqualScanningResult: number

Minimum number of accumulated frames that have equal result.

Default is 2

ocrResolutionLimit: number

Maximum image size (height or width) for OCR process. 0 - do not rescale.

Default is 0

optimizeSingleLine: boolean

Optimize for scanning a single line or a single word. Enable this option when scanning a single line or single word that are hard to scan reliably.

Default is false

validator: ContentValidator

Content validator.