1 /* 2 * Copyright (C) 2020-2023 Alibaba Group Holding Limited 3 */ 4 5 #ifndef _UCLOUD_AI_FACEBODY_H_ 6 #define _UCLOUD_AI_FACEBODY_H_ 7 #include "ucloud_ai_common.h" 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /** @addtogroup ucloud_ai_aos_api 14 * @{ 15 */ 16 17 /** 18 * Ucloud ai facebody comparing face api. 19 * 20 * @param[in] path face image you want to recognize. 21 * @param[in] myface original face image you want to compare to. 22 * @param[in] cb callback function to deal with result. 23 * 24 */ 25 void ucloud_ai_facebody_comparing_face(char *path, char *myface, ucloud_ai_cb_t cb); 26 27 /** 28 * Ucloud ai facebody recognizing expression api. 29 * 30 * @param[in] path face image you want to recognize. 31 * @param[in] cb callback function to deal with result. 32 * 33 */ 34 void ucloud_ai_facebody_recognize_expression(char *path, ucloud_ai_cb_t cb); 35 36 /** 37 * Ucloud ai facebody generating human animation style api. 38 * 39 * @param[in] path face image you want to recognize. 40 * @param[in] cb callback function to deal with result. 41 * 42 */ 43 void ucloud_ai_facebody_generate_human_anime_style(char *path, ucloud_ai_cb_t cb); 44 45 /** 46 * @} 47 */ 48 49 #ifdef __cplusplus 50 } 51 #endif 52 53 #endif // _UCLOUD_AI_FACEBODY_H_ 54