evaluateFaceQuality

Evaluation of all available face quality attributes. If an attribute requires a module which is not activated, it is not evaluated and null is returned. If you need only one or a specific set of attributes, use .evaluateFaceQuality method for better performance. This operation should be called on background thread.

Return

Face quality attributes.


abstract fun evaluateFaceQuality(faceQualityQuery: FaceQualityQuery): FaceQuality

Evaluation of specific set of face quality attributes. This is the recommended way for face quality evaluation due to performance reasons. If an attribute in the query requires a module which is not activated, exception is thrown. This operation should be called on background thread.

Return

Face quality attributes.

Parameters

faceQualityQuery

Only attributes specified in this query are being evaluated.

Throws

If required module is not activated.