Show / Hide Table of Contents

Class FaceEncoding

Represents a feature data of face. This class cannot be inherited.

Inheritance
System.Object
DisposableObject
FaceEncoding
Implements
System.IDisposable
System.Runtime.Serialization.ISerializable
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
Assembly: FaceRecognitionDotNet.dll
Syntax
[Serializable]
public sealed class FaceEncoding : DisposableObject, IDisposable, ISerializable

Properties

| Improve this Doc View Source

Size

Gets the size of feature data.

Declaration
public int Size { get; }
Property Value
Type Description
System.Int32
Exceptions
Type Condition
System.ObjectDisposedException

This object is disposed.

Methods

| Improve this Doc View Source

DisposeUnmanaged()

Releases all unmanaged resources.

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

GetObjectData(SerializationInfo, StreamingContext)

Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.

Declaration
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info

The System.Runtime.Serialization.SerializationInfo to populate with data.

System.Runtime.Serialization.StreamingContext context

The destination (see System.Runtime.Serialization.StreamingContext) for this serialization.

| Improve this Doc View Source

GetRawEncoding()

Gets a feature data of face as raw format.

Declaration
public double[] GetRawEncoding()
Returns
Type Description
System.Double[]

A System.Double array that represents a feature data.

Remarks

FaceEncoding class supports serialization. This method is for interoperability between FaceRecognitionDotNet and dlib.

Exceptions
Type Condition
System.ObjectDisposedException

This object is disposed.

Implements

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