FaceAnalyser.computeGlassesAttributes Method¶
Module: FaceAnalyser
Definition¶
Computes the glasses attributes of a detected face. This function must be used for a portrait image with only one face in it.
GlassesAttributes computeGlassesAttributes(Image image, DetectedFace detectedFace, PointList landmarks)
Parameters
image Imagein Source image to process.
detectedFace DetectedFacein Detected face to process.
landmarks PointListin Estimated landmarks of the detected face. Must be computed with the face analyser.
Returns
The estimated glasses attributes of the detected face.
Exceptions
An error has occurred during Face Library execution.