Face API > BS2_GetNormalizedImageFaceEx


BS2_GetNormalizedImageFaceEx

[+ 2.8] Visual Face based Getting Image Warping from the raw image file of user face is available to use.
For 1:1 Server Matching, the Server Application can store the image warping per user. And then, the server would send the image warping of the user to the device when server matching is enabled and request the 1:1 verification.
For more details about image warping, refer to flag in BS2FaceEx.

Declaration

#include "BS_API.h"
 
int BS2_GetNormalizedImageFaceEx(void* context, uint32_t deviceId, const uint8_t* unwarpedImage, uint32_t unwarpedImageLen, uint8_t* warpedImage, uint32_t* warpedImageLen);

Parameter

Return Value

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