Face API > BS2_ExtractTemplateFaceEx
[+ 2.7.1] Visual Face based Extracts template data by the face image.
It is used to store templates on AOC(Access On Card).
#include "BS_API.h" int BS2_ExtractTemplateFaceEx(void* context, uint32_t deviceId, const uint8_t* imageData, uint32_t imageDataLen, bool isWarped, BS2TemplateEx* templateEx);
context : ContextdeviceId : Device IDimageData : Image data including face pointerimageDataLen : Size of imageDataisWarped : Whether it is WARPped image or nottemplateEx : Face template that is extracted from the image pointed by imageData
If successfully done, BS_SDK_SUCCESS will be returned.
If there is an error, the corresponding error code will be returned.