FaceEncoder.computeQuality Method¶
Module: FaceEncoder
Definition¶
Computes the quality of a detected face.
Here, quality expresses the match capability of an image: a high quality image will generate less match errors (false acceptance or false rejection) than a low quality one.
Warning
A minimum interocular distance (IOD) of 30 pixels for the detected face is required for this function, below this value it will output an error.
Important
Loading the FaceEncodingQualityEstimator model is required to use this function.
int computeQuality(Image image, DetectedFace detectedFace)
Parameters
Returns
intThe estimated quality of the detected face. Range is [0:100].
Exceptions
An error has occurred during Face Library execution.