Table of Contents

Class GenderEstimator

Namespace
FaceRecognitionDotNet.Extensions
Assembly
VisioForge.Core.FaceAI.dll

An abstract base class that provides functionality to estimate human gender from face image.

public abstract class GenderEstimator : DisposableObject, IDisposable

Inheritance

Derived

Implements

Inherited Members

Properties

Labels

Gets the collection of gender label this estimator returns in derived classes.

public abstract Gender[] Labels { get; }

Property Value

Gender[]

Methods

RawPredict(MatrixBase, Location)

Returns an gender of face image correspond to specified location in specified image.

protected abstract Gender RawPredict(MatrixBase matrix, Location location)

Parameters

matrix MatrixBase

The matrix contains a face.

location Location

The location rectangle for a face.

Returns

Gender

An gender of face image correspond to specified location in specified image.

RawPredictProbability(MatrixBase, Location)

Returns probabilities of gender of face image correspond to specified location in specified image.

protected abstract IDictionary<Gender, float> RawPredictProbability(MatrixBase matrix, Location location)

Parameters

matrix MatrixBase

The matrix contains a face.

location Location

The location rectangle for a face.

Returns

IDictionary<Gender, float>

Probabilities of gender of face image correspond to specified location in specified image.