QualityAttributeThresholds

data class QualityAttributeThresholds(val minConfidence: Double? = null, val minSize: Double? = null, val minSharpness: Double? = null, val brightnessInterval: IntervalDouble? = null, val maxHotspotsScore: Double? = null)

Thresholds of quality attributes.

Throws

If any of the parameters is out of the interval.

Constructors

Link copied to clipboard
constructor(minConfidence: Double? = null, minSize: Double? = null, minSharpness: Double? = null, brightnessInterval: IntervalDouble? = null, maxHotspotsScore: Double? = null)

Types

Link copied to clipboard
object Presets

Pre-defined sets of thresholds for Document Auto Capture.

Properties

Link copied to clipboard

Valid brightness interval. Values in interval [0.0, 1.0].

Link copied to clipboard

Maximum hotspots score. Values in interval [0.0, 1.0].

Link copied to clipboard
val minConfidence: Double? = null

Minimum detection confidence. Value in interval [0.0, 1.0].

Link copied to clipboard
val minSharpness: Double? = null

Minimum sharpness. Value in interval [0.0, 1.0].

Link copied to clipboard
val minSize: Double? = null

Minimum ratio of the document shortest edge length to image shorter side. Value in interval [0.0, 1.0].