Unosquare
    Show / Hide Table of Contents

    Class FingerprintGallery

    Provides means to keeping a fingerprint database. A fingerprint gallery is needed for fingerprint identification. Fingerprints can be loaded from byte arrays or enrollment results.

    Inheritance
    System.Object
    FingerprintGallery
    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: Unosquare.Labs.LibFprint
    Syntax
    public class FingerprintGallery : IDisposable

    Constructors

    FingerprintGallery()

    Initializes a new instance of the FingerprintGallery class.

    Declaration
    public FingerprintGallery()

    Properties

    Item[Int32]

    Gets the key with the specified offset.

    Declaration
    public string this[int offset] { get; }
    Parameters
    Type Name Description
    System.Int32 offset

    The offset.

    Property Value
    Type Description
    System.String

    The System.String.

    Methods

    Add(String, Byte[])

    Adds the specified fingerprint data and associates it with the specified key.

    Declaration
    public void Add(string key, byte[] fingerprintData)
    Parameters
    Type Name Description
    System.String key

    The key.

    System.Byte[] fingerprintData

    The fingerprint data.

    Add(String, EnrollStageResult)

    Adds the specified fingerprint data and associates it with the specified key.

    Declaration
    public void Add(string key, EnrollStageResult enrollResult)
    Parameters
    Type Name Description
    System.String key

    The key.

    EnrollStageResult enrollResult

    The enroll result.

    AddRange(IEnumerable<Tuple<String, Byte[]>>)

    Adds the specified fingerprint key-value pairs to the gallery. This is the preferred method for bulk loading as it does not rebuild the database for every fingerprint.

    Declaration
    public void AddRange(IEnumerable<Tuple<string, byte[]>> fingerprints)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.Tuple<System.String, System.Byte[]>> fingerprints

    The fingerprints.

    AllKeys()

    Gets all the keys registered in this gallery.

    Declaration
    public string[] AllKeys()
    Returns
    Type Description
    System.String[]

    Dispose()

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Releases unmanaged and - optionally - managed resources.

    Declaration
    protected virtual void Dispose(bool releaseOnlyManaged)
    Parameters
    Type Name Description
    System.Boolean releaseOnlyManaged

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    Finalize()

    Declaration
    protected void Finalize()

    HasKey(String)

    Determines whether the gallery contains the specified keys.

    Declaration
    public bool HasKey(string key)
    Parameters
    Type Name Description
    System.String key

    The key.

    Returns
    Type Description
    System.Boolean

    Remove(String)

    Removes a fingerprint from the gallery given its key

    Declaration
    public void Remove(string key)
    Parameters
    Type Name Description
    System.String key

    The key.

    Implements

    System.IDisposable

    Comments

    Back to top Copyright © 2017-2019 Unosquare