Video Analysis底层库拆分,sdk的go封装
chenshijun
2019-10-22 1b388e4b0207003630c326ba1e71af8c8746070f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _c_wrapper_face_extractor_h_
#define _c_wrapper_face_extractor_h_
 
#include "../base.hpp"
 
struct _cFacePos;
struct _cIMAGE;
 
namespace csdk_wrap{
    int init_face_extractor(const int tm, const int gi, VecFunc &vec);
    unsigned char* face_extract_feature(int *featLen, const cFacePos &pos, const cIMAGE *img, const int chan);
    float face_compare(unsigned char *feat1, unsigned char *feat2);
}
#endif