PortraitProcessor.hatThreshold Property¶
Module: PortraitProcessor
Type: int
Definition¶
Threshold for confirming that the person is wearing a hat.
Hint
Default value is 98.
int get hatThreshold => getHatThreshold();
set hatThreshold(int value) => setHatThreshold(value);
Exceptions
An error has occurred during Face Library execution.
public int hatThreshold
{
get => GethatThreshold();
set => SethatThreshold(ref value);
}
Exceptions
An error has occurred during Face Library execution.
public int getHatThreshold() throws FaceException
public void setHatThreshold(int hatThreshold) throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var hatThreshold: Int
get {
return Int(try! getHatThreshold())
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetHatThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * hatThreshold)
int id3FacePortraitProcessor_SetHatThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int hatThreshold)
Returns