wx_human_seg 3.0.0
wx_idphoto_detect_c_api.h
Go to the documentation of this file.
1
6#ifndef WX_IDPHOTO_DETECT_C_API_H_
7#define WX_IDPHOTO_DETECT_C_API_H_
8
9#include "wx_api.h"
10#include "wx_image_c_api.h"
11#include "wx_idphoto_c_api.h"
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
21
24
65WX_API int WXIDPhotoDetectResult_GetInt(WXIDPhotoDetectResult_t *result, const char *key, int defValue);
66
69WX_API float WXIDPhotoDetectResult_GetFloat(WXIDPhotoDetectResult_t *result, const char *key, float defValue);
70
73WX_API uint8_t WXIDPhotoDetectResult_GetBool(WXIDPhotoDetectResult_t *result, const char *key, uint8_t defValue);
74
78WX_API const char *WXIDPhotoDetectResult_GetString(WXIDPhotoDetectResult_t *result, const char *key);
79
83WX_API const int *WXIDPhotoDetectResult_GetIntArray(WXIDPhotoDetectResult_t *result, const char *key);
84
88WX_API const float *WXIDPhotoDetectResult_GetFloatArray(WXIDPhotoDetectResult_t *result, const char *key);
89
94
99
109 WXIDPhotoDetector_t **detector_p);
110
113
123 const WXImage_t *inImg,
124 WXIDPhotoDetectResult_t **result_p);
125
130 const WXIDPhotoSettings_t *settings);
131
132#ifdef __cplusplus
133}
134#endif
135
136#endif //WX_IDPHOTO_DETECT_C_API_H_
WXDeviceType
Definition: wx_api.h:21
struct WXIDPhotoSettings_t WXIDPhotoSettings_t
Definition: wx_idphoto_c_api.h:78
WX_API const int * WXIDPhotoDetectResult_GetIntArray(WXIDPhotoDetectResult_t *result, const char *key)
WX_API void WXIDPhotoDetectResult_Release(WXIDPhotoDetectResult_t *result)
WX_API int WXIDPhotoDetectResult_KeyIsExists(WXIDPhotoDetectResult_t *result, const char *key)
WX_API void WXIDPhotoDetector_Release(WXIDPhotoDetector_t *detector)
WX_API int WXIDPhotoDetector_Detect(WXIDPhotoDetector_t *detector, const WXImage_t *inImg, WXIDPhotoDetectResult_t **result_p)
证件照成品检测函数
struct WXIDPhotoDetectResult_t WXIDPhotoDetectResult_t
Definition: wx_idphoto_detect_c_api.h:20
WX_API uint8_t WXIDPhotoDetectResult_GetBool(WXIDPhotoDetectResult_t *result, const char *key, uint8_t defValue)
WX_API const float * WXIDPhotoDetectResult_GetFloatArray(WXIDPhotoDetectResult_t *result, const char *key)
WX_API int WXIDPhotoDetector_Create(WXDeviceType deviceType, WXIDPhotoDetector_t **detector_p)
创建WXIDPhotoDetector_t对象
struct WXIDPhotoDetector_t WXIDPhotoDetector_t
Definition: wx_idphoto_detect_c_api.h:98
WX_API void WXIDPhotoDetector_SetSettings(WXIDPhotoDetector_t *detector, const WXIDPhotoSettings_t *settings)
保留函数,暂不使用
WX_API int WXIDPhotoDetectResult_GetInt(WXIDPhotoDetectResult_t *result, const char *key, int defValue)
WX_API const char * WXIDPhotoDetectResult_GetString(WXIDPhotoDetectResult_t *result, const char *key)
WX_API float WXIDPhotoDetectResult_GetFloat(WXIDPhotoDetectResult_t *result, const char *key, float defValue)
struct WXImage_t WXImage_t
Definition: wx_image_c_api.h:38