37 virtual float similarityByFeature(
unsigned char *feature_1,
unsigned char *feature_2,
int feature_size = 1024) = 0;
47 virtual float similarityByFeature(std::vector<unsigned char> &feature_1, std::vector<unsigned char> &feature_2) = 0;
void DestroyCompare(DfaceCompare *dc)
Definition: dface_compare.h:59
DfaceCompare * CreateCompare(const std::string &model_path, int feature_precision)
Definition: dface_compare.h:53
DfaceCompare()
Definition: dface_compare.h:21
#define DFACE_EXPORTS
Definition: common.h:19
virtual ~DfaceCompare()
Definition: dface_compare.h:26
FaceCompare API.
Definition: dface_compare.h:16