PortraitProcessor.faceDetectionImageSize Property¶
Module: PortraitProcessor
Type: int
Definition¶
The size, in pixels, of the downscaled image used for face detection.
Hint
Default value is 256. Low values tend to ignore small faces in the input image, while higher values tend to take longer to process.
face_detection_image_size: int
Exceptions
An error has occurred during Face Library execution.
int get faceDetectionImageSize => getFaceDetectionImageSize();
set faceDetectionImageSize(int value) => setFaceDetectionImageSize(value);
Exceptions
An error has occurred during Face Library execution.
public int faceDetectionImageSize
{
get => GetfaceDetectionImageSize();
set => SetfaceDetectionImageSize(ref value);
}
Exceptions
An error has occurred during Face Library execution.
public int getFaceDetectionImageSize() throws FaceException
public void setFaceDetectionImageSize(int faceDetectionImageSize) throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var faceDetectionImageSize: Int
get {
return Int(try! getFaceDetectionImageSize())
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetFaceDetectionImageSize (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * faceDetectionImageSize)
int id3FacePortraitProcessor_SetFaceDetectionImageSize (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int faceDetectionImageSize)
Returns