QualityAttributeThresholds

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

Thresholds of quality attributes.

Parameters

minConfidence

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

minSize

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

minSharpness

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

brightnessInterval

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

maxHotspotsScore

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

Throws

If any of the parameters is out of the interval.

Constructors

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

Types

Link copied to clipboard
class Builder

Configuration builder.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val minConfidence: Double? = null
Link copied to clipboard
val minSharpness: Double? = null
Link copied to clipboard
val minSize: Double? = null