Show / Hide Table of Contents

Class HelenFaceLandmarkDetector

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

Inheritance
System.Object
DisposableObject
FaceLandmarkDetector
HelenFaceLandmarkDetector
Implements
System.IDisposable
Inherited Members
DisposableObject.IsDisposed
DisposableObject.ThrowIfDisposed()
DisposableObject.DisposeManaged()
DisposableObject.Dispose()
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FaceRecognitionDotNet.Extensions
Assembly: FaceRecognitionDotNet.dll
Syntax
public sealed class HelenFaceLandmarkDetector : FaceLandmarkDetector, IDisposable

Constructors

| Improve this Doc View Source

HelenFaceLandmarkDetector(String)

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

Declaration
public HelenFaceLandmarkDetector(string modelPath)
Parameters
Type Name Description
System.String modelPath

The model file path that this detector uses.

Exceptions
Type Condition
System.IO.FileNotFoundException

The model file is not found.

Methods

| Improve this Doc View Source

DisposeUnmanaged()

Releases all unmanaged resources.

Declaration
protected override void DisposeUnmanaged()
Overrides
DisposableObject.DisposeUnmanaged()
| Improve this Doc View Source

RawDetect(MatrixBase, Location)

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

Declaration
protected override FullObjectDetection RawDetect(MatrixBase matrix, Location location)
Parameters
Type Name Description
MatrixBase matrix

The matrix contains a face.

Location location

The location rectangle for a face.

Returns
Type Description
FullObjectDetection

An object contains information of face parts.

Overrides
FaceLandmarkDetector.RawDetect(MatrixBase, Location)
| Improve this Doc View Source

RawGetLandmarks(IEnumerable<FacePoint[]>)

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

Declaration
protected override IEnumerable<Dictionary<FacePart, IEnumerable<FacePoint>>> RawGetLandmarks(IEnumerable<FacePoint[]> landmarkTuples)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<FacePoint[]> landmarkTuples

The enumerable collection of face parts location.

Returns
Type Description
System.Collections.Generic.IEnumerable<System.Collections.Generic.Dictionary<FacePart, System.Collections.Generic.IEnumerable<FacePoint>>>

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

Overrides
FaceLandmarkDetector.RawGetLandmarks(IEnumerable<FacePoint[]>)

Implements

System.IDisposable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX