PortraitProcessor.enableGenderEstimation Property¶
Module: PortraitProcessor
Type: bool
Definition¶
Value indicating whether gender estimation is enabled.
Important
This option requires the FaceAttributesClassifier2A
model to be loaded.
enable_gender_estimation: bool
Exceptions
An error has occurred during Face Library execution.
bool get enableGenderEstimation => getEnableGenderEstimation();
set enableGenderEstimation(bool value) => setEnableGenderEstimation(value);
Exceptions
An error has occurred during Face Library execution.
public bool enableGenderEstimation
{
get => GetenableGenderEstimation();
set => SetenableGenderEstimation(ref value);
}
Exceptions
An error has occurred during Face Library execution.
public boolean getEnableGenderEstimation() throws FaceException
public void setEnableGenderEstimation(boolean enableGenderEstimation) throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var enableGenderEstimation: Bool
get {
return try! getEnableGenderEstimation()
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetEnableGenderEstimation (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, bool * enableGenderEstimation)
int id3FacePortraitProcessor_SetEnableGenderEstimation (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, bool enableGenderEstimation)
Returns