PortraitProcessor.faceDetectionStrength Property

Module: PortraitProcessor

Type: int

Definition

Face detection strength, from 1 to 10.

Hint

Default value is 8. Low values tend to miss small faces in the input image while high values tend to take longer to process.

face_detection_strength: int

Exceptions

An error has occurred during Face Library execution.
int get faceDetectionStrength => getFaceDetectionStrength();
set faceDetectionStrength(int value) => setFaceDetectionStrength(value);

Exceptions

An error has occurred during Face Library execution.
public int faceDetectionStrength
{
    get => GetfaceDetectionStrength();
    set => SetfaceDetectionStrength(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public int getFaceDetectionStrength() throws FaceException
public void setFaceDetectionStrength(int faceDetectionStrength) throws FaceException

Exceptions

An error has occurred during Face Library execution.
public var faceDetectionStrength: Int
    get {
        return Int(try! getFaceDetectionStrength())
    }
}

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetFaceDetectionStrength (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * faceDetectionStrength)
int id3FacePortraitProcessor_SetFaceDetectionStrength (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int faceDetectionStrength)

Returns

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