From 41bc5a329c73e3b43695f73f11c47c97c44cc1b6 Mon Sep 17 00:00:00 2001
From: chenke <chenke@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期四, 20 七月 2017 09:45:41 +0800
Subject: [PATCH] 

---
 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