QualityAttributeThresholds

data class QualityAttributeThresholds @JvmOverloads constructor(val minConfidence: Double? = null, val maxDevicePitchAngle: Float? = null, val sizeInterval: IntervalDouble? = null, val pitchAngleInterval: IntervalFloat? = null, val yawAngleInterval: IntervalFloat? = null, val minSharpness: Double? = null, val brightnessInterval: IntervalDouble? = null, val contrastInterval: IntervalDouble? = null, val minUniqueIntensityLevels: Double? = null, val minBackgroundUniformity: Double? = null, val maxGlassesPresenceScore: Double? = null, val maxMaskPresenceScore: Double? = null, val minMouthStatusScore: Double? = null, val minEyesStatusScore: Double? = null, val maxShadow: Double? = null) : Serializable

Thresholds of quality attributes.

Parameters

minConfidence

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

maxDevicePitchAngle

Maximum device pitch angle. Degrees in interval [0.0, 90.0].

sizeInterval

Valid face size interval. Values greater than or equal to 0.0.

pitchAngleInterval

Valid pitch angle interval. Values in interval [-90.0, 90.0].

yawAngleInterval

Valid yaw angle interval. Values in interval [-90.0, 90.0].

minSharpness

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

brightnessInterval

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

contrastInterval

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

minUniqueIntensityLevels

Minimum unique intensity levels. Value in interval [0.0, 1.0].

minBackgroundUniformity

Minimum background uniformity. Value in interval [0.0, 1.0].

maxGlassesPresenceScore

Maximum glass status. Value in interval [0.0, 1.0].

maxMaskPresenceScore

Maximum mask status. Value in interval [0.0, 1.0].

minMouthStatusScore

Minimum mouth status. Value in interval [0.0, 1.0].

minEyesStatusScore

Minimum eyes status. Value in interval [0.0, 1.0].

maxShadow

Maximum shadow. Value 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, maxDevicePitchAngle: Float? = null, sizeInterval: IntervalDouble? = null, pitchAngleInterval: IntervalFloat? = null, yawAngleInterval: IntervalFloat? = null, minSharpness: Double? = null, brightnessInterval: IntervalDouble? = null, contrastInterval: IntervalDouble? = null, minUniqueIntensityLevels: Double? = null, minBackgroundUniformity: Double? = null, maxGlassesPresenceScore: Double? = null, maxMaskPresenceScore: Double? = null, minMouthStatusScore: Double? = null, minEyesStatusScore: Double? = null, maxShadow: Double? = null)

Types

Link copied to clipboard
class Builder

Configuration builder.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val maxShadow: Double? = null
Link copied to clipboard
Link copied to clipboard
val minConfidence: Double? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val minSharpness: Double? = null
Link copied to clipboard
Link copied to clipboard
val pitchAngleInterval: IntervalFloat? = null
Link copied to clipboard
Link copied to clipboard
val yawAngleInterval: IntervalFloat? = null