IR Face based
Scans the face from a device and extracts template and image data.
#include "BS_API.h" int BS2_ScanFace(void* context, uint32_t deviceId, BS2Face* face, uint8_t erollmentThreshold, OnReadyToScan ptrReadyToScan);
context
: ContextdeviceId
: Device IDface
: Pointer to store the face data erollmentThreshold
: Required enrollment threshold - Please refer to the BS2FaceConfig.enrollThresholdptrReadyToScan
: Callback function that is called when it's ready to scan a face
If successfully done, BS_SDK_SUCCESS
will be returned.
If there is an error, the corresponding error code will be returned.