Fingerprint API
API that provides functions to scan, extract, and compare fingerprint template data.
BS2_ScanFingerprint
Scans a fingerprint from a device and extracts template data.
BS2_ScanFingerprintEx
+ v2.5.0 Scans a fingerprint from a device and extracts template data and scan image scores.
BS2_VerifyFingerprint
Compares the template data to check if it is the same finger.
BS2_GetLastFingerprintImage
Extracts the image of the last scanned fingerprint using the BS2_ScanFingerprint API.
BS2_GetFingerTemplateQuality
+ v2.6.4 Checks the quality score of the fingerprint from the fingerprint template data.
Structure
BS2Fingerprint
typedef struct {
uint8_t index;
uint8_t flag;
uint8_t reserved[2];
uint8_t data[BS2_TEMPLATE_PER_FINGER][BS2_FINGER_TEMPLATE_SIZE];
} BS2Fingerprint;
-
indexThe index of finger. This is a flag that user can manage manually, not changing automatically. If you want to manage fingerprint index, please assign a number when you enroll fingerprint.
-
flagFlag that indicates the purpose of the fingerprint.
Value Description 0 Normal fingerprint 1 Duress fingerprint -
reservedReserved space.
-
dataThe data of fingerprint template.