From d3b3f6b835cb7fcbb3712f876e84c8ed625170a2 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期三, 15 一月 2020 11:30:08 +0800 Subject: [PATCH] Merge branch 'cuda-8.0' of ssh://192.168.5.5:29418/libgowrapper/face into cuda-8.0 --- cface.h | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/cface.h b/cface.h index 7e9a226..e9a3234 100644 --- a/cface.h +++ b/cface.h @@ -1,36 +1,36 @@ #ifndef _c_face_h_ #define _c_face_h_ - + #ifdef __cplusplus extern "C"{ #endif - + #include "csrc/struct.h" - + void *create_sdkface(); void release(void *handle); - + int init_detector(void *handle, const int min_faces, const int roll_angles, const int threads_max, const int gpu); - + int init_extractor(void *handle, const int threads_max, const int gpu); int init_propertizer(void *handle, const int threads_max); - + int init_tracker(void *handle, const int width, const int height, const int max_faces, const int interval, const int sample_size, const int threads_max, const int gpu); - + int detect(void *handle, const void *data, const int w, const int h, const int c, const int chan, void **fpos, int *fcnt); int extract(void *handle, const cFacePos *pos, const void*data, const int w, const int h, const int c, const int chan, void **feat, int *featLen); float compare(void *handle, unsigned char *feat1, unsigned char *feat2); - + int propertize(void *handle, const cFacePos *pos, const void *data, const int w, const int h, const int c, const int chan, void **res); - + int track(void *handle, const void *data, const int w, const int h, const int c, const int chan, void **fInfo, int *fcnt); -int resize(void *handle, const int w, const int h, const int chan); - +int track_resize(void *handle, const int w, const int h, const int chan); + #ifdef __cplusplus } #endif - -#endif \ No newline at end of file + +#endif -- Gitblit v1.8.0