FaceDetectionQuery

data class FaceDetectionQuery(val faceQuality: FaceQualityQuery = FaceQualityQuery(), val evaluatePassiveLiveness: Boolean = false, val createFullFrontalImage: Boolean = false, val createTemplate: Boolean = false)

Face detection query. It allows for additional processing beyond basic face detection.

If an attribute in the query requires a module which is not activated, exception is thrown during the FaceDetector.detect method.

Parameters

faceQuality

Face image quality query.

evaluatePassiveLiveness

Passive liveness evaluation flag. This method requires dot-face-passive-liveness module. Default value is false.

createFullFrontalImage

Create an ICAO full frontal image of the face. If boundaries of the normalized image leak outside of the original image, a white background is applied. Default value is false.

createTemplate

Create the face template which can be used for matching. This flag requires dot-face-verification module. Default value is false.

Constructors

Link copied to clipboard
fun FaceDetectionQuery(faceQuality: FaceQualityQuery = FaceQualityQuery(), evaluatePassiveLiveness: Boolean = false, createFullFrontalImage: Boolean = false, createTemplate: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
val createTemplate: Boolean = false
Link copied to clipboard
Link copied to clipboard