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