# warmUp method

void warmUp()

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.

throws FaceException An error has occurred during Face Library execution.

## Implementation

    void warmUp() {
      var err = faceSDK.id3FaceEncoder_WarmUp(_pHandle.value);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }