C# 클래스 Unosquare.Labs.LibFprint.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.
상속: IDisposable
파일 보기 프로젝트 열기: unosquare/libfprint-cs 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetFingerprintPointer System.IntPtr
RebuildPointerArray void
RegisterFingerprintData void
Remove void

공개 메소드들

메소드 설명
Add ( string key, Unosquare.Labs.LibFprint.EnrollStageResult enrollResult ) : void

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

Add ( string key, byte fingerprintData ) : void

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

AddRange ( byte[]>.IEnumerable fingerprints ) : void

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.

AllKeys ( ) : string[]

Gets all the keys registered in this gallery.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

FingerprintGallery ( ) : System

Initializes a new instance of the FingerprintGallery class.

HasKey ( string key ) : bool

Determines whether the gallery contains the specified keys.

Remove ( string key ) : void

Removes a fingerprint from the gallery given its key

this ( int offset ) : string

Gets the key with the specified offset.

보호된 메소드들

메소드 설명
Dispose ( bool releaseOnlyManaged ) : void

Releases unmanaged and - optionally - managed resources.

비공개 메소드들

메소드 설명
GetFingerprintPointer ( string key ) : IntPtr

Gets the fingerprint pointer.

RebuildPointerArray ( ) : void

Rebuilds the pointer array. This method needs to be called whenever the Internal List gets modified in any way.

RegisterFingerprintData ( string key, byte fingerprintData ) : void

Registers the supplied fingerprint data, associating it with the given key.

Remove ( string key, bool rebuild ) : void

Removes a fingerprint from the gallery given its key

메소드 상세

Add() 공개 메소드

Adds the specified fingerprint data and associates it with the specified key.
public Add ( string key, Unosquare.Labs.LibFprint.EnrollStageResult enrollResult ) : void
key string The key.
enrollResult Unosquare.Labs.LibFprint.EnrollStageResult The enroll result.
리턴 void

Add() 공개 메소드

Adds the specified fingerprint data and associates it with the specified key.
public Add ( string key, byte fingerprintData ) : void
key string The key.
fingerprintData byte The fingerprint data.
리턴 void

AddRange() 공개 메소드

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.
public AddRange ( byte[]>.IEnumerable fingerprints ) : void
fingerprints byte[]>.IEnumerable The fingerprints.
리턴 void

AllKeys() 공개 메소드

Gets all the keys registered in this gallery.
public AllKeys ( ) : string[]
리턴 string[]

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool releaseOnlyManaged ) : void
releaseOnlyManaged bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

FingerprintGallery() 공개 메소드

Initializes a new instance of the FingerprintGallery class.
public FingerprintGallery ( ) : System
리턴 System

HasKey() 공개 메소드

Determines whether the gallery contains the specified keys.
public HasKey ( string key ) : bool
key string The key.
리턴 bool

Remove() 공개 메소드

Removes a fingerprint from the gallery given its key
public Remove ( string key ) : void
key string The key.
리턴 void

this() 공개 메소드

Gets the key with the specified offset.
public this ( int offset ) : string
offset int The offset.
리턴 string