Table of Contents

Class HelenFaceLandmarkDetector

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

The face landmark detector which was trained by helen dataset. This class cannot be inherited.

public sealed class HelenFaceLandmarkDetector : FaceLandmarkDetector, IDisposable

Inheritance

Implements

Inherited Members

Constructors

HelenFaceLandmarkDetector(string)

Initializes a new instance of the FaceRecognitionDotNet.Extensions.HelenFaceLandmarkDetector class with the model file path that this detector uses.

public HelenFaceLandmarkDetector(string modelPath)

Parameters

modelPath string

The model file path that this detector uses.

Exceptions

FileNotFoundException

The model file is not found.

Methods

DisposeUnmanaged()

Releases all unmanaged resources.

protected override void DisposeUnmanaged()

RawDetect(MatrixBase, Location)

Returns an object contains information of face parts corresponds to specified location in specified image.

protected override FullObjectDetection RawDetect(MatrixBase matrix, Location location)

Parameters

matrix MatrixBase

The matrix contains a face.

location Location

The location rectangle for a face.

Returns

FullObjectDetection

An object contains information of face parts.

RawGetLandmarks(IEnumerable<FacePoint[]>)

Returns an enumerable collection of dictionary of face parts locations (eyes, nose, etc).

protected override IEnumerable<Dictionary<FacePart, IEnumerable<FacePoint>>> RawGetLandmarks(IEnumerable<FacePoint[]> landmarkTuples)

Parameters

landmarkTuples IEnumerable<FacePoint[]>

The enumerable collection of face parts location.

Returns

IEnumerable<Dictionary<FacePart, IEnumerable<FacePoint>>>

An enumerable collection of dictionary of face parts locations (eyes, nose, etc).