PortraitProcessor.estimateAge Method¶
Module: PortraitProcessor
Definition¶
Estimates the age of the person.
Important
This method requires the FaceAgeEstimator1A model to be loaded.
estimate_age(self, portrait: Portrait) -> None
Parameters
portraitPortraitin The portrait.
Exceptions
An error has occurred during Face Library execution.
void estimateAge(Portrait portrait)
Parameters
portraitPortraitin The portrait.
Exceptions
An error has occurred during Face Library execution.
public void EstimateAge(Portrait portrait)
Parameters
portraitPortraitin The portrait.
Exceptions
An error has occurred during Face Library execution.
public void estimateAge(Portrait portrait) throws FaceException
Parameters
portraitPortraitin The portrait.
Exceptions
An error has occurred during Face Library execution.
public func estimateAge(portrait: Portrait) throws
Parameters
portraitPortraitin The portrait.
Exceptions
An error has occurred during Face Library execution.
int id3FacePortraitProcessor_EstimateAge (
ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor,
ID3_FACE_PORTRAIT hPortrait)
Parameters
hPortraitProcessorID3_FACE_PORTRAIT_PROCESSORin Handle to the PortraitProcessor object.hPortraitID3_FACE_PORTRAITin The portrait.
Returns