FaceTracker.detectionModel Property

Module: FaceTracker

Type: FaceModel

Definition

Model used to detect and track faces.

Hint

Default value is FaceDetector4B.

Note

Some better accuracy/speed balances can be found by choosing another model.

detection_model: FaceModel

Exceptions

An error has occurred during Face Library execution.
FaceModel get detectionModel => getDetectionModel();
set detectionModel(FaceModel value) => setDetectionModel(value);

Exceptions

An error has occurred during Face Library execution.
public FaceModel detectionModel
{
    get => GetdetectionModel();
    set => SetdetectionModel(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public FaceModel getDetectionModel() throws FaceException
public void setDetectionModel(FaceModel detectionModel) throws FaceException

Exceptions

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

Exceptions

An error has occurred during Face Library execution.
int id3FaceTracker_GetDetectionModel (ID3_FACE_TRACKER hFaceTracker, id3FaceModel * eDetectionModel)
int id3FaceTracker_SetDetectionModel (ID3_FACE_TRACKER hFaceTracker, id3FaceModel eDetectionModel)

Returns

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