FaceAnalyser.computeLandmarks Method¶
Module: FaceAnalyser
Definition¶
Computes 68 landmarks of a detected face.
Important
Loading the FaceLandmarksEstimator model is required to use this function.
compute_landmarks(self, image: Image, detected_face: DetectedFace) -> PointList
Parameters
Returns
The estimated landmarks of the detected face.
Exceptions
An error has occurred during Face Library execution.
PointList computeLandmarks(Image image, DetectedFace detectedFace)
Parameters
Returns
The estimated landmarks of the detected face.
Exceptions
An error has occurred during Face Library execution.
public PointList ComputeLandmarks(Image image, DetectedFace detectedFace)
Parameters
Returns
The estimated landmarks of the detected face.
Exceptions
An error has occurred during Face Library execution.
public PointList computeLandmarks(Image image, DetectedFace detectedFace) throws FaceException
Parameters
Returns
The estimated landmarks of the detected face.
Exceptions
An error has occurred during Face Library execution.
public func computeLandmarks(image: Image, detectedFace: DetectedFace) throws -> PointList
Parameters
Returns
The estimated landmarks of the detected face.
Exceptions
An error has occurred during Face Library execution.
int id3FaceAnalyser_ComputeLandmarks (
ID3_FACE_ANALYSER hFaceAnalyser,
ID3_FACE_IMAGE hImage,
ID3_DETECTED_FACE hDetectedFace,
ID3_FACE_POINT_LIST hLandmarks)
Parameters
hFaceAnalyserID3_FACE_ANALYSERin Handle to the FaceAnalyser object.hImageID3_FACE_IMAGEin Source image to process.hDetectedFaceID3_DETECTED_FACEin Detected face to process.hLandmarksID3_FACE_POINT_LISTout The estimated landmarks of the detected face.
Returns