FaceAnalyser.computePoseWithLandmarks Method¶
Module: FaceAnalyser
Definition¶
Computes the pose of a detected face using the specified 68-point landmarks.
Loading the model id3FaceModel_FacePoseEstimator1A is required to use this function.
compute_pose_with_landmarks(self, detected_face: DetectedFace, landmarks: PointList) -> FacePose
Parameters
detected_face
DetectedFacein Detected face to process.landmarks
PointListin Estimated landmarks of the detected face. Must be computed with the face analyser.
Returns
The estimated pose of the detected face.
Exceptions
An error has occurred during Face Library execution.
FacePose computePoseWithLandmarks(DetectedFace detectedFace, PointList landmarks)
Parameters
detectedFace
DetectedFacein Detected face to process.landmarks
PointListin Estimated landmarks of the detected face. Must be computed with the face analyser.
Returns
The estimated pose of the detected face.
Exceptions
An error has occurred during Face Library execution.
public FacePose ComputePoseWithLandmarks(DetectedFace detectedFace, PointList landmarks)
Parameters
detectedFace
DetectedFacein Detected face to process.landmarks
PointListin Estimated landmarks of the detected face. Must be computed with the face analyser.
Returns
The estimated pose of the detected face.
Exceptions
An error has occurred during Face Library execution.
public FacePose computePoseWithLandmarks(DetectedFace detectedFace, PointList landmarks) throws FaceException
Parameters
detectedFace
DetectedFacein Detected face to process.landmarks
PointListin Estimated landmarks of the detected face. Must be computed with the face analyser.
Returns
The estimated pose of the detected face.
Exceptions
An error has occurred during Face Library execution.
public func computePoseWithLandmarks(detectedFace: DetectedFace, landmarks: PointList) throws -> FacePose
Parameters
detectedFace
DetectedFacein Detected face to process.landmarks
PointListin Estimated landmarks of the detected face. Must be computed with the face analyser.
Returns
The estimated pose of the detected face.
Exceptions
An error has occurred during Face Library execution.
int id3FaceAnalyser_ComputePoseWithLandmarks (
ID3_FACE_ANALYSER hFaceAnalyser,
ID3_DETECTED_FACE hDetectedFace,
ID3_FACE_POINT_LIST hLandmarks,
id3FacePose * sPose)
Parameters
hFaceAnalyser
ID3_FACE_ANALYSERin Handle to the FaceAnalyser object.hDetectedFace
ID3_DETECTED_FACEin Detected face to process.hLandmarks
ID3_FACE_POINT_LISTin Estimated landmarks of the detected face. Must be computed with the face analyser.sPose
id3FacePose *out The estimated pose of the detected face.
Returns