TextifyConfig class
Configuration options for Textify OCR processing.
This class provides customizable settings that control various aspects of the OCR process including image preprocessing, character recognition, and performance tuning.
Constructors
Properties
- applyDictionaryCorrection → bool
-
Whether to apply dictionary-based text correction.
final
- attemptCharacterSplitting → bool
-
Whether to attempt splitting touching characters.
final
- dilationSize → int
-
Size of the dilation kernel used in preprocessing.
final
- excludeLongLines → bool
-
Whether to exclude long horizontal and vertical lines from text recognition.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- matchingThreshold → double
-
Minimum similarity score required for character matching.
final
- maxProcessingTimeMs → int
-
Maximum processing time in milliseconds.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? dilationSize, bool? excludeLongLines, bool? attemptCharacterSplitting, bool? applyDictionaryCorrection, double? matchingThreshold, int? maxProcessingTimeMs}) → TextifyConfig - Creates a copy of this TextifyConfig with the given fields replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- accurate → const TextifyConfig
- Accurate configuration optimized for precision.
- balanced → const TextifyConfig
- Balanced configuration with default settings.
- fast → const TextifyConfig
- Fast configuration optimized for speed.
- robust → const TextifyConfig
- Robust configuration for challenging images.