# computePoseWithLandmarks method

FacePose computePoseWithLandmarks(

1. DetectedFace detectedFace,
2. PointList landmarks

)

Computes the pose of a detected face using the specified 68-point landmarks. Loading the model `FacePoseEstimator1A` is required to use this function.

param detectedFace Detected face to process. param landmarks Estimated landmarks of the detected face. Must be computed with the face analyser. return The estimated pose of the detected face. throws FaceException An error has occurred during Face Library execution.

## Implementation

    FacePose computePoseWithLandmarks(DetectedFace detectedFace, PointList landmarks) {
      Pointer<id3FacePose> pPose = calloc();
      var err = faceSDK.id3FaceAnalyser_ComputePoseWithLandmarks(_pHandle.value, detectedFace.handle, landmarks.handle, pPose);
      if (err != FaceError.success.value) {
      	calloc.free(pPose);
      	throw FaceException(err);
      }
      return FacePose(pPose);
    }