Portrait.hat Property¶
Module: Portrait
Type: int
Definition¶
Value indicating whether the subject wears a hat. -1 if not computed. The range is 0-100, 100 meaning a hat is detected.
int get hat => getHat();
Exceptions
An error has occurred during Face Library execution.
public int hat
{
get => Gethat();
}
Exceptions
An error has occurred during Face Library execution.
public int getHat() throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var hat: Int
get {
return Int(try! getHat())
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FacePortrait_GetHat (ID3_FACE_PORTRAIT hPortrait, int * hat)
Returns