Face

data class Face(val confidence: Double, val position: DetectionPosition, val aspects: FaceAspects, val quality: FaceQuality, val keypoints: FaceKeypoints, val passiveLiveness: FaceAttribute? = null, val fullFrontalImage: Image? = null, val template: Template? = null)

Detected face in the image.

Constructors

Link copied to clipboard
constructor(confidence: Double, position: DetectionPosition, aspects: FaceAspects, quality: FaceQuality, keypoints: FaceKeypoints, passiveLiveness: FaceAttribute? = null, fullFrontalImage: Image? = null, template: Template? = null)

Properties

Link copied to clipboard

Face aspects.

Link copied to clipboard

Confidence of the detection in interval [0.0, 1.0], where 0.0 stands for min confidence and 1.0 stands for max confidence.

Link copied to clipboard
val fullFrontalImage: Image? = null

ICAO full frontal face image. This is being evaluated only if it is specified in FaceDetectionQuery.

Link copied to clipboard

Face keypoints.

Link copied to clipboard

Passive liveness. This is being evaluated only if it is specified in FaceDetectionQuery.

Link copied to clipboard

Face position in the image.

Link copied to clipboard

Face quality attributes. Only attributes specified in FaceDetectionQuery are being evaluated.

Link copied to clipboard
val template: Template? = null

Face template. It can be used for face matching. This is being evaluated only if it is specified in FaceDetectionQuery.