Text Pattern Scanner Configuration
data class TextPatternScannerConfiguration(var ocrResolutionLimit: Int = 0, var inputHeightLimit: Int = 120, var maximumNumberOfAccumulatedFrames: Int = 3, var minimumNumberOfRequiredFramesWithEqualScanningResult: Int = 2, var optimizeSingleLine: Boolean = false, var validator: ContentValidator = DefaultContentValidator( )) : Parcelable
Configuration for the text pattern scanner.
Properties
Link copied to clipboard
Maximum image height for OCR processing. 0 - do not rescale.
Link copied to clipboard
Maximum number of accumulated frames to inspect before actual result is returned.
Link copied to clipboard
Minimum number of accumulated frames that have equal result.
Link copied to clipboard
The option will be ignored if inputHeightLimit is not 0. Maximum image size (height or width) for OCR process. 0 - do not rescale.
Link copied to clipboard
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.
Link copied to clipboard
Content validator.