PortraitProcessor.estimateExpression Method¶
Module: PortraitProcessor
Definition¶
Estimates the subject’s expression on the specified portrait.
Important
This method requires the FaceExpressionClassifier1A
model to be loaded.
estimate_expression(self, portrait: Portrait) -> None
Parameters
portrait
Portraitin The portrait.
Exceptions
An error has occurred during Face Library execution.
void estimateExpression(Portrait portrait)
Parameters
portrait
Portraitin The portrait.
Exceptions
An error has occurred during Face Library execution.
public void EstimateExpression(Portrait portrait)
Parameters
portrait
Portraitin The portrait.
Exceptions
An error has occurred during Face Library execution.
public void estimateExpression(Portrait portrait) throws FaceException
Parameters
portrait
Portraitin The portrait.
Exceptions
An error has occurred during Face Library execution.
public func estimateExpression(portrait: Portrait) throws
Parameters
portrait
Portraitin The portrait.
Exceptions
An error has occurred during Face Library execution.
int id3FacePortraitProcessor_EstimateExpression (
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