5 #ifndef DFACE_RGB_LIVENESS_H 6 #define DFACE_RGB_LIVENESS_H 42 virtual float liveness_check(
unsigned char* frame,
int w,
int h,
int format,
dface::Box &bbox) = 0;
63 #endif //DFACE_RGB_LIVENESS_H
void DestroyRGBLiveness(DfaceRGBLiveness *instance)
Definition: dface_rgb_liveness.h:57
FaceRGBLiveness API.
Definition: dface_rgb_liveness.h:19
DfaceRGBLiveness * CreateRGBLiveness(const std::string &model_path, int level)
Definition: dface_rgb_liveness.h:51
Face Box.
Definition: common.h:92
DfaceRGBLiveness()
Definition: dface_rgb_liveness.h:24
#define DFACE_EXPORTS
Definition: common.h:19
virtual ~DfaceRGBLiveness()
Definition: dface_rgb_liveness.h:29