Package io.scanbot.generictext
Class NativeGenericTextRecognizerConfig
-
- All Implemented Interfaces:
public final class NativeGenericTextRecognizerConfig
Native representation of the config for generic text recognizer
-
-
Field Summary
Fields Modifier and Type Field Description public final Integer
minimumNumberOfRequiredFramesWithEqualRecognitionResult
public final Integer
maximumNumberOfAccumulatedFrames
public final Integer
ocrResolutionLimit
public final Boolean
matchSubstringForPattern
public final String
allowedSymbols
public final String
validator
public final NativeGenericTextValidationCallback
callback
public final NativeGenericTextCleanerCallback
callbackCleaner
-
Constructor Summary
Constructors Constructor Description NativeGenericTextRecognizerConfig(Integer minimumNumberOfRequiredFramesWithEqualRecognitionResult, Integer maximumNumberOfAccumulatedFrames, Integer ocrResolutionLimit, Boolean matchSubstringForPattern, String allowedSymbols, String validator, NativeGenericTextValidationCallback callback, NativeGenericTextCleanerCallback callbackCleaner)
-
Method Summary
Modifier and Type Method Description -
-
Constructor Detail
-
NativeGenericTextRecognizerConfig
NativeGenericTextRecognizerConfig(Integer minimumNumberOfRequiredFramesWithEqualRecognitionResult, Integer maximumNumberOfAccumulatedFrames, Integer ocrResolutionLimit, Boolean matchSubstringForPattern, String allowedSymbols, String validator, NativeGenericTextValidationCallback callback, NativeGenericTextCleanerCallback callbackCleaner)
- Parameters:
minimumNumberOfRequiredFramesWithEqualRecognitionResult
- Minimum number of accumulated frames that have equal resultmaximumNumberOfAccumulatedFrames
- Maximum number of accumulated frames to inspect before actual result is returnedocrResolutionLimit
- The image will be downscaled to the given value during the processing.validator
- Simple validation string pattern: ?
-
-
-
-