FaceAnalyser.computeAttributes Method¶
Module: FaceAnalyser
Definition¶
Computes the attributes of a detected face.
Important
Loading the model FaceAttributesClassifier
is required to use this function.
compute_attributes(self, image: Image, detected_face: DetectedFace) -> FaceAttributes
Parameters
Returns
The estimated attributes of the detected face.
Exceptions
An error has occurred during Face Library execution.
FaceAttributes computeAttributes(Image image, DetectedFace detectedFace)
Parameters
Returns
The estimated attributes of the detected face.
Exceptions
An error has occurred during Face Library execution.
public FaceAttributes ComputeAttributes(Image image, DetectedFace detectedFace)
Parameters
Returns
The estimated attributes of the detected face.
Exceptions
An error has occurred during Face Library execution.
public FaceAttributes computeAttributes(Image image, DetectedFace detectedFace) throws FaceException
Parameters
Returns
The estimated attributes of the detected face.
Exceptions
An error has occurred during Face Library execution.
public func computeAttributes(image: Image, detectedFace: DetectedFace) throws -> FaceAttributes
Parameters
Returns
The estimated attributes of the detected face.
Exceptions
An error has occurred during Face Library execution.
int id3FaceAnalyser_ComputeAttributes (
ID3_FACE_ANALYSER hFaceAnalyser,
ID3_FACE_IMAGE hImage,
ID3_DETECTED_FACE hDetectedFace,
id3FaceAttributes * sAttributes)
Parameters
hFaceAnalyser
ID3_FACE_ANALYSERin Handle to the FaceAnalyser object.hImage
ID3_FACE_IMAGEin Source image to process.hDetectedFace
ID3_DETECTED_FACEin Detected face to process.sAttributes
id3FaceAttributes *out The estimated attributes of the detected face.
Returns