1 /* 2 * Copyright (C) 2020-2023 Alibaba Group Holding Limited 3 */ 4 5 #ifndef _UCLOUD_AI_IMAGEENHAN_H_ 6 #define _UCLOUD_AI_IMAGEENHAN_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 imageenhan erasing person api. 19 * 20 * @param[in] image_path person image you want to enhance. 21 * @param[in] user_mask_path mask style image you want to follow. 22 * @param[in] cb callback function to deal with result. 23 * 24 */ 25 void ucloud_ai_imageenhan_erase_person(char *image_path, char *user_mask_path, ucloud_ai_cb_t cb); 26 27 /** 28 * Ucloud ai imageenhan extending image style api. 29 * 30 * @param[in] major_path image you want to extend. 31 * @param[in] style_path style image you want to follow. 32 * @param[in] cb callback function to deal with result. 33 * 34 */ 35 void ucloud_ai_imageenhan_extend_image_style(char *major_path, char *style_path, ucloud_ai_cb_t cb); 36 37 /** 38 * @} 39 */ 40 41 #ifdef __cplusplus 42 } 43 #endif 44 45 #endif // _UCLOUD_AI_IMAGEENHAN_H_ 46