GlareDetectionConfiguration

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.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(glareDetectionThreshold: Double = 0.5)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val _type: String
Link copied to clipboard

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.

Functions

Link copied to clipboard
open override fun clone(): GlareDetectionConfiguration
Link copied to clipboard
open override fun toJson(config: ToJsonConfiguration): JSONObject