Class HelenFaceLandmarkDetector
The face landmark detector which was trained by helen dataset. This class cannot be inherited.
Implements
System.IDisposable
Inherited Members
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 SourceHelenFaceLandmarkDetector(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 SourceDisposeUnmanaged()
Releases all unmanaged resources.
Declaration
protected override void DisposeUnmanaged()
Overrides
| Improve this Doc View SourceRawDetect(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
| Improve this Doc View SourceRawGetLandmarks(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
Implements
System.IDisposable