1 /*
2  * Copyright (C) 2021-2023 Alibaba Group Holding Limited
3  */
4 
5 #ifndef _INTERNAL_H_
6 #define _INTERNAL_H_
7 
8 #define CLOUD_AI_REGION_ID "cn-shanghai"
9 #define CLOUD_AI_FACEBODY_ENDPOINT "facebody.cn-shanghai.aliyuncs.com"
10 #define CLOUD_AI_OBJECTDET_ENDPOINT "objectdet.cn-shanghai.aliyuncs.com"
11 #define CLOUD_AI_IMAGESEG_ENDPOINT "imageseg.cn-shanghai.aliyuncs.com"
12 #define CLOUD_AI_IMAGERECOG_ENDPOINT "imagerecog.cn-shanghai.aliyuncs.com"
13 #define CLOUD_AI_IMAGEENHAN_ENDPOINT "imageenhan.cn-shanghai.aliyuncs.com"
14 #define CLOUD_AI_OCR_ENDPOINT "ocr.cn-shanghai.aliyuncs.com"
15 #define CLOUD_AI_CHATBOT_ENDPOINT "chatbot.cn-shanghai.aliyuncs.com"
16 #define OSS_ENDPOINT "oss-cn-shanghai.aliyuncs.com"
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 typedef struct _RectStruct {
22     float x;
23     float y;
24     float w;
25     float h;
26 } RectStruct;
27 
28 typedef int (*AIModelCBFunc)(void *result);
29 
30 const char *getAccessKey(void);
31 const char *getAccessSecret(void);
32 #ifdef __cplusplus
33 }
34 #endif
35 #endif // _INTERNAL_H_
36