1 /*
2  * Copyright (C) 2020-2023 Alibaba Group Holding Limited
3  */
4 
5 #ifndef _UCLOUD_AI_IMAGESEG_H_
6 #define _UCLOUD_AI_IMAGESEG_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 segmenting face api.
19  *
20  * @param[in]  path                face image you want to segment.
21  * @param[in]  cb                  callback function to deal with result.
22  *
23  */
24 void ucloud_ai_imageseg_segment_face(char *path, ucloud_ai_cb_t cb);
25 
26 /**
27  * Ucloud ai segmenting common image api.
28  *
29  * @param[in]  path                common image you want to segment.
30  * @param[in]  cb                  callback function to deal with result.
31  *
32  */
33 void ucloud_ai_imageseg_segment_common_image(char *path, ucloud_ai_cb_t cb);
34 
35 /**
36  * @}
37  */
38 
39 #ifdef __cplusplus
40 }
41 #endif
42 
43 #endif // _UCLOUD_AI_IMAGESEG_H_
44