This is an old revision of the document!


FIXME This page is not fully translated, yet. Please help completing the translation.
(remove this paragraph once the translation is finished)

Face API > BS2_GetNormalizedImageFaceEx


[+ 2.8] FaceStation F2Getting Image Warping from the raw image file of user face is available to use.
Server Application stores the image warping per user,
And then, the server sends the image warping of the user to the device when server matching is using 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

  • [In] context : Context
  • [In] deviceId : Device ID
  • [In] unwarpedImage : Pointer of unwarpedImage, raw data of face image
  • [In] unwarpedImageLen : Data size of unwarpedImage
  • [Out] warpedImage : Pointer of the buffer to get image warping
  • [Out] warpedImageLen : Data size of warpedImage

Return Value

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