# setEncodingModel method

void setEncodingModel(

1. FaceModel encodingModel

)

Sets the model used to create features and assess consistancy among views of a given face. Hint: Default value is FaceEncoder9B. Some better accuracy/speed balances can be found by choosing another model.

param encodingModel Model used to create features and assess consistancy among views of a given face. throws FaceException An error has occurred during Face Library execution.

## Implementation

    void setEncodingModel(FaceModel encodingModel) {
      var err = faceSDK.id3FaceTracker_SetEncodingModel(_pHandle.value, encodingModel.value);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }