GlareDetectionConfiguration class
Glare detection configuration. The recognizer will detect whether fields are obstructed by glare. This feature is enabled by default. This configuration has no effect in SINGLE_SHOT mode.
- Inheritance
-
- Object
- DocumentDataExtractorConfigurationElement
- GlareDetectionConfiguration
Constructors
- GlareDetectionConfiguration({double glareDetectionThreshold = 0.5})
-
GlareDetectionConfiguration.fromJson(Map<
String, dynamic> json) -
factory
Properties
- glareDetectionThreshold ↔ double
-
Glare detection threshold.
The value should be in the range
[0.0, 1.0]. Determines how much glare is acceptable relative to the text size. So 0.5 means that the glare can be up to 50% of the text size. If set to 0.0, the feature is disabled.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{ToJsonConfiguration? config}) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited