From f2327d66d762a2279bf7b725a818a17a213e9e0b Mon Sep 17 00:00:00 2001
From: pans <pans@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期三, 09 八月 2017 14:57:48 +0800
Subject: [PATCH] add RemoteMethod.capnp etc.
---
FaceServer/sample_face_search.h | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/FaceServer/sample_face_search.h b/FaceServer/sample_face_search.h
index 89a9853..e121b16 100644
--- a/FaceServer/sample_face_search.h
+++ b/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);
@@ -63,4 +65,6 @@
int stface_main(int argc, char *argv[]);
+int stface_init_license(const char* lic_path);
+
#endif
--
Gitblit v1.8.0