Quality Attribute Thresholds
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
min Confidence
Minimum detection confidence. Value in interval [0.0, 1.0]
.
min Size
Minimum ratio of the document shortest edge length to image shorter side. Value in interval [0.0, 1.0]
.
min Sharpness
Minimum sharpness. Value in interval [0.0, 1.0]
.
brightness Interval
Valid brightness interval. Values in interval [0.0, 1.0]
.
max Hotspots Score
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)