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

enum Trueface::GlassesLabel

Results from eye glasses detection

Values:

enumerator GLASSES

There are glasses on the face

enumerator NO_GLASSES

There are no glasses on the face