FaceDetector.model Property

Module: FaceDetector

Type: FaceModel

Definition

Model used to detect and track faces.

Hint

Default value is FaceDetector4A 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 id3FaceDetector_GetModel (ID3_FACE_DETECTOR hFaceDetector, id3FaceModel * eModel)
int id3FaceDetector_SetModel (ID3_FACE_DETECTOR hFaceDetector, id3FaceModel eModel)

Returns

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