Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# FaceTemplate.update Method

Module: FaceTemplate

## Definition

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

Python

    update(self, new_face_template: FaceTemplate) -> None

Parameters

> `new_face_template` FaceTemplate
> in New face template to combine.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Dart

    void update(FaceTemplate newFaceTemplate)

Parameters

> `newFaceTemplate` FaceTemplate
> in New face template to combine.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C#

    public void Update(FaceTemplate newFaceTemplate)

Parameters

> `newFaceTemplate` FaceTemplate
> in New face template to combine.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Java

    public void update(FaceTemplate newFaceTemplate) throws FaceException

Parameters

> `newFaceTemplate` FaceTemplate
> in New face template to combine.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Swift

    public func update(newFaceTemplate: FaceTemplate) throws

Parameters

> `newFaceTemplate` FaceTemplate
> in New face template to combine.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C

    int id3FaceTemplate_Update (
        ID3_FACE_TEMPLATE hFaceTemplate,
        ID3_FACE_TEMPLATE hNewFaceTemplate)

Parameters

> `hFaceTemplate` ID3_FACE_TEMPLATE
> in Handle to the FaceTemplate object.
> `hNewFaceTemplate` ID3_FACE_TEMPLATE
> in New face template to combine.

Returns

> `int`
> An error code.
> See id3FaceError file for the list of possible error codes.