PortraitProcessor.faceDetectionModel Property¶
Module: PortraitProcessor
Type: FaceModel
Definition¶
Specifies the model used to detect and track faces.
Hint
Default value is FaceDetector4B
. Some better accuracy/speed balances can be found by choosing another model.
face_detection_model: FaceModel
Exceptions
An error has occurred during Face Library execution.
FaceModel get faceDetectionModel => getFaceDetectionModel();
set faceDetectionModel(FaceModel value) => setFaceDetectionModel(value);
Exceptions
An error has occurred during Face Library execution.
public FaceModel faceDetectionModel
{
get => GetfaceDetectionModel();
set => SetfaceDetectionModel(ref value);
}
Exceptions
An error has occurred during Face Library execution.
public FaceModel getFaceDetectionModel() throws FaceException
public void setFaceDetectionModel(FaceModel faceDetectionModel) throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var faceDetectionModel: FaceModel
get {
return try! getFaceDetectionModel()
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetFaceDetectionModel (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, id3FaceModel * eFaceDetectionModel)
int id3FacePortraitProcessor_SetFaceDetectionModel (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, id3FaceModel eFaceDetectionModel)
Returns