FaceAnalyser.computeEyeOpenness Method¶
Module: FaceAnalyser
Definition¶
Computes the eye openness of a detected face.
The minimum recommanded value for is 90.
Important
Loading the EyeOpennessDetector model is required to use this function.
List<int> computeEyeOpenness(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
List<int>The estimated openness scores of left and right eyes of the detected face in this order.
Exceptions
An error has occurred during Face Library execution.