6 #ifndef DFACE_DFACETRACK_H 7 #define DFACE_DFACETRACK_H 42 virtual bool update(
unsigned char* frame,
int w,
int h,
int format, std::vector<dface::Box> &in_boxs, std::vector<dface::Box> &out_boxs) = 0;
48 virtual bool start() = 0;
54 virtual bool stop() = 0;
60 virtual bool restart() = 0;
68 typedef DfaceTrack*
CreateTrack(
const std::string &model_path,
int frame_width,
int frame_height,
int max_age,
int min_hit);
78 #endif //DFACE_DFACETRACK_H DfaceTrack * CreateTrack(const std::string &model_path, int frame_width, int frame_height, int max_age, int min_hit)
Definition: dface_track.h:68
void DestroyTrack(DfaceTrack *rc)
Definition: dface_track.h:74
virtual ~DfaceTrack()
Definition: dface_track.h:27
FaceTrack API.
Definition: dface_track.h:17
DfaceTrack()
Definition: dface_track.h:22
#define DFACE_EXPORTS
Definition: common.h:19