Mask Class

Properties describing the presence of a mask on a given face.

Inheritance
Mask

Constructor

Mask(*, type=None, nose_and_mouth_covered: Optional[bool] = None, **kwargs)

Parameters

type
str or MaskType
Required

Mask type if any of the face. Possible values include: 'noMask', 'faceMask', 'otherMaskOrOcclusion', 'uncertain'

nose_and_mouth_covered
bool
Required

A boolean value indicating whether nose and mouth are covered.