Fingerprint Enumerate Enrollments WBF

sgcBiometrics package adds a new feature for next 1.4.0 version, now you can Enumerate which Enrollments has sensor pool selected. This method works for System and Private sensor pools.

Before that, you didn't know if a biometric sample was already stored in your database except if you try to enroll fingerprint again. Now you can first enumerate which fingerprints have been stored in your database.

Enumerate Enrollments 

FingerPrint.EnumEnrollments;

procedure TFRMFingerPrint.FingerPrintEnumEnrollments(Sender: TObject; const
    aIdentity: WINBIO_IDENTITY; const aSubFactor: WINBIO_BIOMETRIC_SUBTYPE;
    const aNum, aCount: Integer);
var
  vSubFactor: string;
begin
  case aSubfactor of
    WINBIO_ANSI_381_POS_RH_THUMB: vSubFactor := 'RH_THUMB';
    WINBIO_ANSI_381_POS_RH_INDEX_FINGER: vSubFactor := 'RH_INDEX_FINGER';
    WINBIO_ANSI_381_POS_RH_MIDDLE_FINGER: vSubFactor := 'RH_MIDDLE_FINGER';
    WINBIO_ANSI_381_POS_RH_RING_FINGER: vSubFactor := 'RH_RING_FINGER';
    WINBIO_ANSI_381_POS_RH_LITTLE_FINGER: vSubFactor := 'RH_LITTLE_FINGER';
    WINBIO_ANSI_381_POS_LH_THUMB: vSubFactor := 'LH_THUMB';
    WINBIO_ANSI_381_POS_LH_INDEX_FINGER: vSubFactor := 'LH_INDEX_FINGER';
    WINBIO_ANSI_381_POS_LH_MIDDLE_FINGER: vSubFactor := 'LH_MIDDLE_FINGER';
    WINBIO_ANSI_381_POS_LH_RING_FINGER: vSubFactor := 'LH_RING_FINGER';
    WINBIO_ANSI_381_POS_LH_LITTLE_FINGER: vSubFactor := 'LH_LITTLE_FINGER';
  end;
  DoLog('EnumEnrollment: ' + vSubFactor);
end; 

First call EnumEnrollments method and then handle OnEnumEnrollments event and here you will receive which Fingerprints are stored in your pool. Check aSubFactor parameter to know which fingerprint is (right thumb, right index...) and there are 2 parameters which show how many fingerprints are enrolled and the number of fingerprint passed to event.

Here a screenshot of demo application showing how Enumerate Enrollments works.

×
Stay Informed

When you subscribe to the blog, we will send you an e-mail when there are new updates on the site so you wouldn't miss them.

Associate user to a Fingerprint
Benss Fingerprint Review