From a8ff93a0cf274795f0e9c3d66093f1c4c6ccf972 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期二, 19 十一月 2019 15:57:02 +0800 Subject: [PATCH] feat: add cloud plate sdk --- csdk.h | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/csdk.h b/csdk.h index a7f67ec..666994b 100644 --- a/csdk.h +++ b/csdk.h @@ -32,12 +32,23 @@ uchar* c_api_face_extract(int *featLen, const cFacePos* pos, uchar*data, const int w, const int h, const int channel); float c_api_face_compare(uchar *feat1, uchar *feat2); +cRECT* c_api_face_track_only(int *fCount, uchar *data, const int wid, const int hei, const int channel); +cFaceInfo* c_api_face_track_detect(int *fCount, uchar *data, const int wid, const int hei, const int channel); cFaceInfo* c_api_face_track(int *fCount, uchar *data, const int wid, const int hei, const int channel); /// yolo api cObjInfo* c_api_yolo_detect(YoloHandle handle, int *objCount, uchar*data, const int w, const int h, const float thrsh, const int use_means); const char* c_api_yolo_obj_name(const int typ); +// plateid api +int c_api_plate_id_init(const cPlateIDCfg *config, char *soPath); +cPlateIDResult* c_api_plate_id_detect(int *plateIDCount, uchar*data, const int w, const int h, const cRECT *rcDetect); +int c_api_plate_id_free(); + +// plateid cloud sdk +int c_api_plate_id_cloud_init(const cPlateIDCloudSDKCfg *config, char *soPath, char *modelPath); +cPlateIDCloudSDKResult* c_api_plate_id_cloud_detect(int *plateIDCount, uchar *data, const int w, const int h, const cRECT *rcDetect); +void c_api_plate_id_cloud_free(); #ifdef __cplusplus } -- Gitblit v1.8.0