FaceAnalyser.computePoseWithLandmarks Method¶
Module: FaceAnalyser
Definition¶
Computes the pose of a detected face using the specified 68-point landmarks.
Loading the model FacePoseEstimator1A is required to use this function.
compute_pose_with_landmarks(self, detected_face: DetectedFace, landmarks: PointList) -> FacePose
Parameters
detected_faceDetectedFacein Detected face to process.landmarksPointListin 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
detectedFaceDetectedFacein Detected face to process.landmarksPointListin 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
detectedFaceDetectedFacein Detected face to process.landmarksPointListin 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
detectedFaceDetectedFacein Detected face to process.landmarksPointListin 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
detectedFaceDetectedFacein Detected face to process.landmarksPointListin 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
hFaceAnalyserID3_FACE_ANALYSERin Handle to the FaceAnalyser object.hDetectedFaceID3_DETECTED_FACEin Detected face to process.hLandmarksID3_FACE_POINT_LISTin Estimated landmarks of the detected face. Must be computed with the face analyser.sPoseid3FacePose *out The estimated pose of the detected face.
Returns