int32_t ucloud_ai_connect | ( | char * | url | ) |
Connect to url server.
[in] | url | url address. |
void ucloud_ai_disconnect | ( | void | ) |
Disconnect to url server.
void ucloud_ai_facebody_comparing_face | ( | char * | path, |
char * | myface, | ||
ucloud_ai_cb_t | cb | ||
) |
Ucloud ai facebody comparing face api.
[in] | path | face image you want to recognize. |
[in] | myface | original face image you want to compare to. |
[in] | cb | callback function to deal with result. |
void ucloud_ai_facebody_detect_pedestrian | ( | char * | path, |
ucloud_ai_cb_t | cb | ||
) |
Ucloud ai facebody detect pedestrian api.
[in] | path | facebody image you want to recognize. |
[in] | cb | callback function to deal with result. |
void ucloud_ai_facebody_generate_human_anime_style | ( | char * | path, |
ucloud_ai_cb_t | cb | ||
) |
Ucloud ai facebody generating human animation style api.
[in] | path | face image you want to recognize. |
[in] | cb | callback function to deal with result. |
void ucloud_ai_facebody_recognize_expression | ( | char * | path, |
ucloud_ai_cb_t | cb | ||
) |
Ucloud ai facebody recognizing expression api.
[in] | path | face image you want to recognize. |
[in] | cb | callback function to deal with result. |
int32_t ucloud_ai_get_stream | ( | char * | url, |
char ** | stream | ||
) |
Get stream by url address.
char* ucloud_ai_get_token_id | ( | const char * | domain, |
const char * | region_id | ||
) |
Get token id by domain and region id.
void ucloud_ai_imageenhan_erase_person | ( | char * | image_path, |
char * | user_mask_path, | ||
ucloud_ai_cb_t | cb | ||
) |
Ucloud ai imageenhan erasing person api.
[in] | image_path | person image you want to enhance. |
[in] | user_mask_path | mask style image you want to follow. |
[in] | cb | callback function to deal with result. |
void ucloud_ai_imageenhan_extend_image_style | ( | char * | major_path, |
char * | style_path, | ||
ucloud_ai_cb_t | cb | ||
) |
Ucloud ai imageenhan extending image style api.
[in] | major_path | image you want to extend. |
[in] | style_path | style image you want to follow. |
[in] | cb | callback function to deal with result. |
void ucloud_ai_imagerecog_classifying_rubbish | ( | char * | path, |
ucloud_ai_cb_t | cb | ||
) |
Ucloud ai cassifying rubbish api.
[in] | path | rubbish image you want to cassify. |
[in] | cb | callback function to deal with result. |
void ucloud_ai_imagerecog_detect_fruits | ( | char * | path, |
ucloud_ai_cb_t | cb | ||
) |
Ucloud ai detecting fruits api.
[in] | path | fruit image you want to detect. |
[in] | cb | callback function to deal with result. |
void ucloud_ai_imageseg_segment_common_image | ( | char * | path, |
ucloud_ai_cb_t | cb | ||
) |
Ucloud ai segmenting common image api.
[in] | path | common image you want to segment. |
[in] | cb | callback function to deal with result. |
void ucloud_ai_imageseg_segment_face | ( | char * | path, |
ucloud_ai_cb_t | cb | ||
) |
Ucloud ai segmenting face api.
[in] | path | face image you want to segment. |
[in] | cb | callback function to deal with result. |
int32_t ucloud_ai_init | ( | void | ) |
Initialize ucloud ai.
void ucloud_ai_objectdet_detect_main_body | ( | char * | path, |
ucloud_ai_cb_t | cb | ||
) |
Ucloud ai detecting main body api.
[in] | path | main body you want to detect. |
[in] | cb | callback function to deal with result. |
void ucloud_ai_objectdet_detect_object | ( | char * | path, |
ucloud_ai_cb_t | cb | ||
) |
Ucloud ai detecting object api.
[in] | path | object you want to detect. |
[in] | cb | callback function to deal with result. |
void ucloud_ai_ocr_recognize_bank_card | ( | char * | path, |
ucloud_ai_cb_t | cb | ||
) |
Ucloud ai recognizing bank card api.
[in] | path | bank card you want to recognize. |
[in] | cb | callback function to deal with result. |
void ucloud_ai_ocr_recognize_character | ( | char * | path, |
ucloud_ai_cb_t | cb | ||
) |
Ucloud ai recognizing character api.
[in] | path | character you want to recogize. |
[in] | cb | callback function to deal with result. |
void ucloud_ai_ocr_recognize_identity_card_back_side | ( | char * | path, |
ucloud_ai_cb_t | cb | ||
) |
Ucloud ai recognizing identity card back side api.
[in] | path | identity card back side you want to recognize. |
[in] | cb | callback function to deal with result. |
void ucloud_ai_ocr_recognize_identity_card_face_side | ( | char * | path, |
ucloud_ai_cb_t | cb | ||
) |
Ucloud ai recognizing identity card face side api.
[in] | path | identity card face side you want to recognize. |
[in] | cb | callback function to deal with result. |
void ucloud_ai_ocr_recognize_license_plate | ( | char * | path, |
ucloud_ai_cb_t | cb | ||
) |
Ucloud ai recognizing license plate api.
[in] | path | license plate you want to recogize. |
[in] | cb | callback function to deal with result. |
void ucloud_ai_set_key_secret | ( | char * | key, |
char * | secret | ||
) |
Ucloud ai set key and secret.
[in] | key | alibaba cloud key account. |
[in] | secret | alibaba cloud secret. |
void ucloud_ai_set_oss_bucket | ( | char * | bucket | ) |
Set oss bucket name.
[in] | bucket | oss bucket name. |
void ucloud_ai_set_oss_endpoint | ( | char * | endpoint | ) |
Set oss endpoint.
[in] | endpoint | oss endpoint. |
int32_t ucloud_ai_uninit | ( | void | ) |
Uninitialize ucloud ai.
uint8_t* ucloud_ai_upload_file | ( | char * | path | ) |
Upload file to oss bucket.
[in] | path | local file path. |