Face API > BS2_ScanFaceEx


BS2_ScanFaceEx

[+ 2.7.1] Visual Face based Scans the face from a device and extracts template and image data.

Declaration

#include "BS_API.h"
 
int BS2_ScanFaceEx(void* context, uint32_t deviceId, BS2FaceEx* faceEx, uint8_t enrollmentThreshold, OnReadyToScan ptrReadyToScan);

Parameter

Refer to BS2FaceConfig::enrollThreshold

Return Value

If successfully done, BS_SDK_SUCCESS will be returned.
If there is an error, the corresponding error code will be returned.