FaceQualityConfig

data class FaceQualityConfig(val minFaceWidthRatio: Double = 0.2, val minBlurScore: Double = 30.0, val minBrightness: Double = 60.0, val maxBrightness: Double = 200.0, val maxYaw: Double = 25.0, val maxPitch: Double = 25.0, val maxRoll: Double = 25.0)

Thresholds for FaceQualityAssessor. Defaults are conservative starting points; calibrate them on your target cameras before relying on them.

Constructors

Link copied to clipboard
constructor(minFaceWidthRatio: Double = 0.2, minBlurScore: Double = 30.0, minBrightness: Double = 60.0, maxBrightness: Double = 200.0, maxYaw: Double = 25.0, maxPitch: Double = 25.0, maxRoll: Double = 25.0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

/ maxPitch / maxRoll maximum absolute head angle in degrees

Link copied to clipboard

minimum Laplacian variance of the face crop (normalised to 128 px)

Link copied to clipboard

/ maxBrightness acceptable mean luma range (0..255) of the face crop

Link copied to clipboard

minimum face width as a fraction of image width