Portrait.faceMask Property¶
Module: Portrait
Type: int
Definition¶
Value indicating whether a face mask is detected. The range is 0-100, 100 meaning a mask is detected.
int get faceMask => getFaceMask();
Exceptions
An error has occurred during Face Library execution.
public int faceMask
{
get => GetfaceMask();
}
Exceptions
An error has occurred during Face Library execution.
public int getFaceMask() throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var faceMask: Int
get {
return Int(try! getFaceMask())
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FacePortrait_GetFaceMask (ID3_FACE_PORTRAIT hPortrait, int * faceMask)
Returns