PortraitProcessor.estimateAge Method

Module: PortraitProcessor

Definition

Estimates the age of the person.

Important

This option requires the FaceAgeEstimator1A model to be loaded.

estimate_age(self, portrait: Portrait) -> None

Parameters

portrait Portrait
in The portrait.

Exceptions

An error has occurred during Face Library execution.
void estimateAge(Portrait portrait)

Parameters

portrait Portrait
in The portrait.

Exceptions

An error has occurred during Face Library execution.
public void EstimateAge(Portrait portrait)

Parameters

portrait Portrait
in The portrait.

Exceptions

An error has occurred during Face Library execution.
public void estimateAge(Portrait portrait) throws FaceException

Parameters

portrait Portrait
in The portrait.

Exceptions

An error has occurred during Face Library execution.
public func estimateAge(portrait: Portrait) throws

Parameters

portrait Portrait
in The portrait.

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_EstimateAge (
    ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor,
    ID3_FACE_PORTRAIT hPortrait)

Parameters

hPortraitProcessor ID3_FACE_PORTRAIT_PROCESSOR
in Handle to the PortraitProcessor object.

in The portrait.

Returns

int
An error code.
See id3FaceError file for the list of possible error codes.