update method

void update(
  1. FaceTemplate newFaceTemplate
)

Updates the face template by combining it with the specified face template.

param newFaceTemplate New face template to combine. throws FaceException An error has occurred during Face Library execution.

Implementation

void update(FaceTemplate newFaceTemplate) {
  var err = faceSDK.id3FaceTemplate_Update(_pHandle.value, newFaceTemplate.handle);
  if (err != FaceError.success.value) {
    throw FaceException(err);
  }
}