Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:bs2_getnormalizedimagefaceex [2021/06/06 20:30]
kateyu
en:bs2_getnormalizedimagefaceex [2023/08/17 13:01]
Line 1: Line 1:
- 
-~~NOTOC~~ 
-[[face_api]] > [[BS2_GetNormalizedImageFaceEx]] 
- 
----- 
- 
-===== BS2_GetNormalizedImageFaceEx ===== 
-[+ 2.8] ''​FaceStation F2''​Getting 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 [[face_api#​BS2FaceEx]]. \\ 
-==== Declaration ==== 
-<code cpp> 
-#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);​ 
-</​code>​ 
- 
-==== 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.\\  ​