Table of Contents

Class LBPHFaceRecognizer

Namespace
Emgu.CV.Face
Assembly
Emgu.CV.dll

LBPH face recognizer

public class LBPHFaceRecognizer : FaceRecognizer, IDisposable
Inheritance
LBPHFaceRecognizer
Implements
Inherited Members

Constructors

LBPHFaceRecognizer(int, int, int, int, double)

Create a LBPH face recognizer

public LBPHFaceRecognizer(int radius = 1, int neighbors = 8, int gridX = 8, int gridY = 8, double threshold = 1.7976931348623157E+308)

Parameters

radius int

Radius

neighbors int

Neighbors

gridX int

Grid X

gridY int

Grid Y

threshold double

The distance threshold

Properties

Histograms

Get the histograms

public VectorOfMat Histograms { get; }

Property Value

VectorOfMat

Methods

DisposeObject()

Release the unmanaged memory associated with this FisherFaceRecognizer

protected override void DisposeObject()

Update(IInputArray, IInputArray)

Updates a FaceRecognizer with given data and associated labels.

public void Update(IInputArray images, IInputArray labels)

Parameters

images IInputArray

The training images, that means the faces you want to learn. The data has to be given as a VectorOfMat.

labels IInputArray

The labels corresponding to the images

Update(Mat[], int[])

Update the face recognizer with the specific images and labels

public void Update(Mat[] images, int[] labels)

Parameters

images Mat[]

The images used for updating the face recognizer

labels int[]

The labels of the images