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

# FaceTracker.encodingModel Property

Module: FaceTracker

Type: FaceModel

## Definition

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.

Python

    encoding_model: FaceModel

Exceptions

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

Dart

    FaceModel get encodingModel => getEncodingModel();
    set encodingModel(FaceModel value) => setEncodingModel(value);

Exceptions

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

C#

    public FaceModel encodingModel
    {
        get => GetencodingModel();
        set => SetencodingModel(ref value);
    }

Exceptions

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

Java

    public FaceModel getEncodingModel() throws FaceException
    public void setEncodingModel(FaceModel encodingModel) throws FaceException

Exceptions

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

Swift

    public var encodingModel: FaceModel
        get {
            return try! getEncodingModel()
        }
    }

Exceptions

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

C

    int id3FaceTracker_GetEncodingModel (ID3_FACE_TRACKER hFaceTracker, id3FaceModel * eEncodingModel)
    int id3FaceTracker_SetEncodingModel (ID3_FACE_TRACKER hFaceTracker, id3FaceModel eEncodingModel)

Returns

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