houxiao
2017-06-28 004e5b3424f02b2b413a52d7162594c4cc5c5547
FaceServer/sample_face_search.h
@@ -10,10 +10,10 @@
struct stface_handles
{
   cv_handle_t handle_verify;
   cv_handle_t handle_db;
   cv_handle_t handle_detect;
   cv_handle_t handle_db;
   
   stface_handles() : handle_verify(nullptr), handle_db(nullptr), handle_detect(nullptr)
   stface_handles() : handle_verify(nullptr), handle_detect(nullptr), handle_db(nullptr)
   {}
};
@@ -41,6 +41,8 @@
cv_feature_t *stface_extract_feature(stface_handles& handles, const char *image_path);
cv_feature_t *stface_extract_feature(stface_handles& handles, const STFaceImage& image);
float stface_compare(stface_handles& handles, const STFaceImage& image1, const STFaceImage& image2);
int stface_db_add(stface_handles& handles, const char *image_path);
int stface_db_add(stface_handles& handles, const STFaceImage& image);