PortraitProcessor.estimateFaceAttributes Method¶
Module: PortraitProcessor
Definition¶
Estimates the face attributes of the specified portrait.
It includes glasses, hat, makeup, mouth opening, gender, smile, eye gaze, eye opening, face mask
Note
The appropriate AI models must be loaded.
estimate_face_attributes(self, portrait: Portrait) -> None
Parameters
portrait
Portraitin The portrait.
Exceptions
An error has occurred during Face Library execution.
void estimateFaceAttributes(Portrait portrait)
Parameters
portrait
Portraitin The portrait.
Exceptions
An error has occurred during Face Library execution.
public void EstimateFaceAttributes(Portrait portrait)
Parameters
portrait
Portraitin The portrait.
Exceptions
An error has occurred during Face Library execution.
public void estimateFaceAttributes(Portrait portrait) throws FaceException
Parameters
portrait
Portraitin The portrait.
Exceptions
An error has occurred during Face Library execution.
public func estimateFaceAttributes(portrait: Portrait) throws
Parameters
portrait
Portraitin The portrait.
Exceptions
An error has occurred during Face Library execution.
int id3FacePortraitProcessor_EstimateFaceAttributes (
ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor,
ID3_FACE_PORTRAIT hPortrait)
Parameters
hPortraitProcessor
ID3_FACE_PORTRAIT_PROCESSORin Handle to the PortraitProcessor object.hPortrait
ID3_FACE_PORTRAITin The portrait.
Returns