Package io.scanbot.generictext
Class NativeGenericTextRecognizerConfig
-
- All Implemented Interfaces:
public final class NativeGenericTextRecognizerConfigNative representation of the config for generic text recognizer
-
-
Field Summary
Fields Modifier and Type Field Description public final IntegerminimumNumberOfRequiredFramesWithEqualRecognitionResultpublic final IntegermaximumNumberOfAccumulatedFramespublic final IntegerocrResolutionLimitpublic final BooleanmatchSubstringForPatternpublic final StringallowedSymbolspublic final Stringvalidatorpublic final NativeGenericTextValidationCallbackcallbackpublic final NativeGenericTextCleanerCallbackcallbackCleaner
-
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: ?
-
-
-
-