41 virtual void detection(
unsigned char* img,
int w,
int h,
int format, std::vector<dface::Box> &out_bboxs,
bool square=
true) = 0;
54 virtual void detectionMax(
unsigned char* img,
int w,
int h,
int format, std::vector<dface::Box> &out_bboxs,
bool square=
true) = 0;
62 virtual void SetMinSize(
int minSize) = 0;
DfaceDetect()
Definition: dface_detect.h:23
void DestroyDetect(DfaceDetect *dc)
Definition: dface_detect.h:77
virtual ~DfaceDetect()
Definition: dface_detect.h:28
#define DFACE_EXPORTS
Definition: common.h:19
DfaceDetect * CreateDetect(const std::string &model_path, int precision)
Definition: dface_detect.h:71
FaceDetect API.
Definition: dface_detect.h:17