Table of Contents

Class EmotionEstimator

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

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

public abstract class EmotionEstimator : DisposableObject, IDisposable

Inheritance

Derived

Implements

Inherited Members

Properties

Labels

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

public abstract ReadOnlyCollection<string> Labels { get; }

Property Value

ReadOnlyCollection<string>

Methods

RawPredict(MatrixBase, Location)

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

protected abstract string RawPredict(MatrixBase matrix, Location location)

Parameters

matrix MatrixBase

The matrix contains a face.

location Location

The location rectangle for a face.

Returns

string

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

RawPredictProbability(MatrixBase, Location)

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

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

Parameters

matrix MatrixBase

The matrix contains a face.

location Location

The location rectangle for a face.

Returns

IDictionary<string, float>

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