getFaceTemplate method
Gets the computed template the tracked face. It aims at tracking an identity over time and is consolidated.
return Computed template the tracked face. It aims at tracking an identity over time and is consolidated. throws FaceException An error has occurred during Face Library execution.
Implementation
FaceTemplate getFaceTemplate() {
FaceTemplate faceTemplate = FaceTemplate();
var err = faceSDK.id3TrackedFace_GetFaceTemplate(_pHandle.value, faceTemplate.handle);
if (err != FaceError.success.value) {
faceTemplate.dispose();
throw FaceException(err);
}
return faceTemplate;
}