Eye glasses Detection¶
-
ErrorCode
Trueface::SDK
::
detectGlasses
(const FaceBoxAndLandmarks &faceBoxAndLandmarks, GlassesLabel &result)¶ Detect whether the face in the image is wearing any type of eye glasses or not
- Return
error code, see ErrorCode.
- Parameters
[in] faceBoxAndLandmarks
: FaceBoxAndLandmarks returned by detectFaces() or detectLargestFace().[out] result
: The predicted result for face image.