FaceAnalyser.computeExpression Method

Module: FaceAnalyser

Definition

Computes the expression of a detected face.

Important

Loading the FaceExpressionClassifier model is required to use this function.

FaceExpression computeExpression(Image image, DetectedFace detectedFace)

Parameters

image Image
in Source image to process.

detectedFace DetectedFace
in Detected face to process.

Returns

The estimated expression of the detected face.

Exceptions

An error has occurred during Face Library execution.