1 /* 2 * Copyright (C) 2020-2023 Alibaba Group Holding Limited 3 */ 4 5 #ifndef _UCLOUD_AI_OCR_H_ 6 #define _UCLOUD_AI_OCR_H_ 7 #include "ucloud_ai_common.h" 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 14 /** @addtogroup ucloud_ai_aos_api 15 * @{ 16 */ 17 18 /** 19 * Ucloud ai recognizing identity card face side api. 20 * 21 * @param[in] path identity card face side you want to recognize. 22 * @param[in] cb callback function to deal with result. 23 * 24 */ 25 void ucloud_ai_ocr_recognize_identity_card_face_side(char *path, ucloud_ai_cb_t cb); 26 27 /** 28 * Ucloud ai recognizing identity card back side api. 29 * 30 * @param[in] path identity card back side you want to recognize. 31 * @param[in] cb callback function to deal with result. 32 * 33 */ 34 void ucloud_ai_ocr_recognize_identity_card_back_side(char *path, ucloud_ai_cb_t cb); 35 36 /** 37 * Ucloud ai recognizing bank card api. 38 * 39 * @param[in] path bank card you want to recognize. 40 * @param[in] cb callback function to deal with result. 41 * 42 */ 43 void ucloud_ai_ocr_recognize_bank_card(char *path, ucloud_ai_cb_t cb); 44 45 /** 46 * Ucloud ai recognizing character api. 47 * 48 * @param[in] path character you want to recogize. 49 * @param[in] cb callback function to deal with result. 50 * 51 */ 52 void ucloud_ai_ocr_recognize_character(char *path, ucloud_ai_cb_t cb); 53 54 /** 55 * @} 56 */ 57 58 #ifdef __cplusplus 59 } 60 #endif 61 62 #endif // _UCLOUD_AI_OCR_H_ 63