public class NativeGenericTextRecognizerConfig
Native representation of the config for generic text recognizer
@JvmField public int minimumNumberOfRequiredFramesWithEqualRecognitionResult
Minimum number of accumulated frames that have equal result
@JvmField public int maximumNumberOfAccumulatedFrames
Maximum number of accumulated frames to inspect before actual result is returned
@JvmField public int ocrResolutionLimit
The image will be downscaled to the given value during the processing.
If the quality of the scanning is not enough, try to increase the limit.This variable affects the performance of the scanning process.Higher the size limit - better the quality, but the recognition is slower 0 - do not rescale.
@JvmField public boolean matchSubstringForPattern
@JvmField @Nullable public java.lang.String allowedSymbols
@JvmField @NotNull public java.lang.String languages
Supported languages
@JvmField @Nullable public java.lang.String validator
Simple validation string pattern
: ? - any character, # - any digit, all other characters represent themselves
@JvmField public int textFilterStrategy
additional parameter to set the type of the scanned object
@JvmField @Nullable public NativeGenericTextValidationCallback callback
@JvmField @Nullable public NativeGenericTextCleanerCallback callbackCleaner
public NativeGenericTextRecognizerConfig(int minimumNumberOfRequiredFramesWithEqualRecognitionResult,
int maximumNumberOfAccumulatedFrames,
int ocrResolutionLimit,
boolean matchSubstringForPattern,
@Nullable
java.lang.String allowedSymbols,
@NotNull
java.lang.String languages,
@Nullable
java.lang.String validator,
int textFilterStrategy,
@Nullable
NativeGenericTextValidationCallback callback,
@Nullable
NativeGenericTextCleanerCallback callbackCleaner)
Native representation of the config for generic text recognizer
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.If the quality of the scanning is not enough, try to increase the limit.This variable affects the performance of the scanning process.Higher the size limit - better the quality, but the recognition is slower 0 - do not rescale.languages - Supported languagesvalidator - Simple validation string pattern: ? - any character, # - any digit, all other characters represent themselvestextFilterStrategy - additional parameter to set the type of the scanned objectpublic int component1()
Minimum number of accumulated frames that have equal result
public int component2()
Maximum number of accumulated frames to inspect before actual result is returned
public int component3()
The image will be downscaled to the given value during the processing.
If the quality of the scanning is not enough, try to increase the limit.This variable affects the performance of the scanning process.Higher the size limit - better the quality, but the recognition is slower 0 - do not rescale.
public boolean component4()
@Nullable public java.lang.String component5()
@NotNull public java.lang.String component6()
Supported languages
@Nullable public java.lang.String component7()
Simple validation string pattern
: ? - any character, # - any digit, all other characters represent themselves
public int component8()
additional parameter to set the type of the scanned object
@Nullable public NativeGenericTextValidationCallback component9()
@Nullable public NativeGenericTextCleanerCallback component10()
@NotNull public NativeGenericTextRecognizerConfig copy(int minimumNumberOfRequiredFramesWithEqualRecognitionResult, int maximumNumberOfAccumulatedFrames, int ocrResolutionLimit, boolean matchSubstringForPattern, @Nullable java.lang.String allowedSymbols, @NotNull java.lang.String languages, @Nullable java.lang.String validator, int textFilterStrategy, @Nullable NativeGenericTextValidationCallback callback, @Nullable NativeGenericTextCleanerCallback callbackCleaner)
Native representation of the config for generic text recognizer
validator - Simple validation string pattern: ? - any character, # - any digit, all other characters represent themselvesmaximumNumberOfAccumulatedFrames - Maximum number of accumulated frames to inspect before actual result is returnedminimumNumberOfRequiredFramesWithEqualRecognitionResult - Minimum number of accumulated frames that have equal resulttextFilterStrategy - additional parameter to set the type of the scanned objectocrResolutionLimit - The image will be downscaled to the given value during the processing.
If the quality of the scanning is not enough, try to increase the limit.
This variable affects the performance of the scanning process.
Higher the size limit - better the quality, but the recognition is slower 0 - do not rescale.languages - Supported languages@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)