Fingerprint API > BS2_ScanFingerprintEx
[+ 2.5.0] Scans a fingerprint from a device and extracts template data and scan image scores.
#include "BS_API.h" int BS2_ScanFingerprintEx(void* context, uint32_t deviceId, BS2Fingerprint* finger, uint32_t templateIndex, uint32_t quality, uint8_t templateFormat, uint32_t* outquality, OnReadyToScan ptrReadyToScan);
context
: ContextdeviceId
: Device IDfinger
: Pointer to store the template datatemplateIndex
: Template data indexquality
: Required quality of fingerprint templatetemplateFormat
: Format of the templateoutquality
: Template quality scoreptrReadyToScan
: Callback function that is called when it's ready to scan a fingerprint
If successfully done, BS_SDK_SUCCESS
will be returned.
If there is an error, the corresponding error code will be returned.