FaceAnalyser.computeAge Method

Module: FaceAnalyser

Definition

Computes the age of a detected face.

Important

Loading the FaceAgeEstimator model is required to use this function.

int computeAge(Image image, DetectedFace detectedFace)

Parameters

image Image
in Source image to process.

detectedFace DetectedFace
in Detected face to process.

Returns

int
The estimated age of the detected face.

Exceptions

An error has occurred during Face Library execution.