PortraitProcessor.pixelationThreshold Property¶
Module: PortraitProcessor
Type: int
Definition¶
Pixelation detection threshold.
Above this threshold, the image is probably pixelated.
Hint
Default value is 90.
pixelation_threshold: int
Exceptions
An error has occurred during Face Library execution.
int get pixelationThreshold => getPixelationThreshold();
set pixelationThreshold(int value) => setPixelationThreshold(value);
Exceptions
An error has occurred during Face Library execution.
public int pixelationThreshold
{
get => GetpixelationThreshold();
set => SetpixelationThreshold(ref value);
}
Exceptions
An error has occurred during Face Library execution.
public int getPixelationThreshold() throws FaceException
public void setPixelationThreshold(int pixelationThreshold) throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var pixelationThreshold: Int
get {
return Int(try! getPixelationThreshold())
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetPixelationThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * pixelationThreshold)
int id3FacePortraitProcessor_SetPixelationThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int pixelationThreshold)
Returns