40 virtual void extractFaceFeatureByImg(
unsigned char*img,
int w,
int h,
int format,
dface::Box &bbox, std::vector<unsigned char> &out_feature) = 0;
FaceRecognize API.
Definition: dface_recognize.h:17
virtual ~DfaceRecognize()
Definition: dface_recognize.h:27
DfaceRecognize()
Definition: dface_recognize.h:22
Face Box.
Definition: common.h:92
void DestroyRecognize(DfaceRecognize *rc)
Definition: dface_recognize.h:54
DfaceRecognize * CreateRecognize(const std::string &model_path, int precision)
Definition: dface_recognize.h:48
#define DFACE_EXPORTS
Definition: common.h:19