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

# FaceEncoder.warmUp Method

Module: FaceEncoder

## Definition

Gets the face encoder module ready to work by initializing all its internal memory layout.

This function can be called after setting all the parameters of the face encoder module.

Calling this function is not mandatory as the internal memory layout is automatically initialized in the first call to createTemplate() if missing.

Important

Loading a `FaceEncoder` is required to use this function.

Python

    warm_up(self) -> None

Exceptions

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

Dart

    void warmUp()

Exceptions

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

C#

    public void WarmUp()

Exceptions

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

Java

    public void warmUp() throws FaceException

Exceptions

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

Swift

    public func warmUp() throws

Exceptions

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

C

    int id3FaceEncoder_WarmUp (
        ID3_FACE_ENCODER hFaceEncoder)

Parameters

> `hFaceEncoder` ID3_FACE_ENCODER
> in Handle to the FaceEncoder object.

Returns

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