# computeLandmarks method

PointList computeLandmarks(

1. Image image,
2. DetectedFace detectedFace

)

Computes 68 landmarks of a detected face. Important: Loading the `FaceLandmarksEstimator` model is required to use this function.

param image Source image to process. param detectedFace Detected face to process. return The estimated landmarks of the detected face. throws FaceException An error has occurred during Face Library execution.

## Implementation

    PointList computeLandmarks(Image image, DetectedFace detectedFace) {
      PointList landmarks = PointList();
      var err = faceSDK.id3FaceAnalyser_ComputeLandmarks(_pHandle.value, image.handle, detectedFace.handle, landmarks.handle);
      if (err != FaceError.success.value) {
        landmarks.dispose();
        throw FaceException(err);
      }
      return landmarks;
    }