Mask Detection

SDK.detect_mask(self: tfsdk.SDK, faceBoxAndLandmarks: Trueface::FaceBoxAndLandmarks) → Tuple[Trueface::ErrorCode, Trueface::MaskLabel]

Detect if there is a mask on the face in the given image. Returns the result.

class tfsdk.MASKLABEL

Members:

MASK : There is a mask on the face

NO_MASK : There is no mask on the face