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