FaceAnalyser.computeEyeRedness Method

Module: FaceAnalyser

Definition

Computes the eye redness of a detected face.

The maximum recommanded value for an ICAO-compliant portrait is 10.

Important

Loading the EyeRednessDetector model is required to use this function.

List<int> computeEyeRedness(Image image, DetectedFace detectedFace, PointList landmarks)

Parameters

image Image
in Source image to process.

detectedFace DetectedFace
in Detected face to process.

landmarks PointList
in Estimated landmarks of the detected face. Must be computed with the face analyser.

Returns

List<int>
The estimated redness scores of left and right eyes of the detected face in this order.

Exceptions

An error has occurred during Face Library execution.