FaceAnalyser.computePose Method

Module: FaceAnalyser

Definition

Computes the pose of a detected face.

Important

Loading the FacePoseEstimator1A model is required to use this function.

compute_pose(self, detected_face: DetectedFace) -> FacePose

Parameters

detected_face DetectedFace
in Detected face to process.

Returns

The estimated pose of the detected face.

Exceptions

An error has occurred during Face Library execution.
FacePose computePose(DetectedFace detectedFace)

Parameters

detectedFace DetectedFace
in Detected face to process.

Returns

The estimated pose of the detected face.

Exceptions

An error has occurred during Face Library execution.
public FacePose ComputePose(DetectedFace detectedFace)

Parameters

detectedFace DetectedFace
in Detected face to process.

Returns

The estimated pose of the detected face.

Exceptions

An error has occurred during Face Library execution.
public FacePose computePose(DetectedFace detectedFace) throws FaceException

Parameters

detectedFace DetectedFace
in Detected face to process.

Returns

The estimated pose of the detected face.

Exceptions

An error has occurred during Face Library execution.
public func computePose(detectedFace: DetectedFace) throws -> FacePose

Parameters

detectedFace DetectedFace
in Detected face to process.

Returns

The estimated pose of the detected face.

Exceptions

An error has occurred during Face Library execution.
int id3FaceAnalyser_ComputePose (
    ID3_FACE_ANALYSER hFaceAnalyser,
    ID3_DETECTED_FACE hDetectedFace,
    id3FacePose * sPose)

Parameters

hFaceAnalyser ID3_FACE_ANALYSER
in Handle to the FaceAnalyser object.

hDetectedFace ID3_DETECTED_FACE
in Detected face to process.

out The estimated pose of the detected face.

Returns

int
An error code.
See id3FaceError file for the list of possible error codes.