Table of Contents

Class MACE

Namespace
OpenCvSharp.Face
Assembly
OpenCvSharp.dll

Minimum Average Correlation Energy filter for face verification.

public sealed class MACE : Algorithm, IDisposable
Inheritance
MACE
Implements
Inherited Members

Methods

Create(int)

Creates a MACE filter.

public static MACE Create(int imageSize = 64)

Parameters

imageSize int

Returns

MACE

Load(string, string)

Loads a serialized MACE filter.

public static MACE Load(string filename, string objName = "")

Parameters

filename string
objName string

Returns

MACE

Salt(string)

Salts the filter with a passphrase.

public void Salt(string passphrase)

Parameters

passphrase string

Same(InputArray)

Tests whether the query belongs to the trained class.

public bool Same(InputArray query)

Parameters

query InputArray

Returns

bool

Train(IEnumerable<Mat>)

Trains the filter on positive images.

public void Train(IEnumerable<Mat> images)

Parameters

images IEnumerable<Mat>