From 004e5b3424f02b2b413a52d7162594c4cc5c5547 Mon Sep 17 00:00:00 2001
From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期三, 28 六月 2017 14:02:52 +0800
Subject: [PATCH] add compare bin proto

---
 FaceServer/sample_face_search.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/FaceServer/sample_face_search.h b/FaceServer/sample_face_search.h
index 8d6075a..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);
 

--
Gitblit v1.8.0