FaceEncoder.model Property

Module: FaceEncoder

Type: FaceModel

Definition

Model used to create templates.

Hint

Default value is FaceEncoder9A which is the best available algorithm in this SDK in terms of accuracy. Some better accuracy/speed balances can be found by choosing another model.

model: FaceModel

Exceptions

An error has occurred during Face Library execution.
FaceModel get model => getModel();
set model(FaceModel value) => setModel(value);

Exceptions

An error has occurred during Face Library execution.
public FaceModel model
{
    get => Getmodel();
    set => Setmodel(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public FaceModel getModel() throws FaceException
public void setModel(FaceModel model) throws FaceException

Exceptions

An error has occurred during Face Library execution.
public var model: FaceModel
    get {
        return try! getModel()
    }
}

Exceptions

An error has occurred during Face Library execution.
int id3FaceEncoder_GetModel (ID3_FACE_ENCODER hFaceEncoder, id3FaceModel * eModel)
int id3FaceEncoder_SetModel (ID3_FACE_ENCODER hFaceEncoder, id3FaceModel eModel)

Returns

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