Face Detection Query
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
face Quality
Face image quality query.
evaluate Passive Liveness
Passive liveness evaluation flag. This method requires dot-face-passive-liveness
module. Default value is false
.
create Full Frontal Image
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
.
create Template
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)