Mask Detection¶
- 
ErrorCode Trueface::SDK::detectMask(const FaceBoxAndLandmarks &faceBoxAndLandmarks, MaskLabel &result)¶
 Detect whether the face in the image is wearing a mask or not
- Parameters
 faceBoxAndLandmarks – [in] FaceBoxAndLandmarks returned by detectFaces() or detectLargestFace().
result – [out] The predicted MaskLabel for face image.
- Returns
 error code, see ErrorCode.