From 58da7275a659c26b6a1fd9ec07e76f4cf521375e Mon Sep 17 00:00:00 2001
From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期三, 04 一月 2017 18:16:35 +0800
Subject: [PATCH] add dlib face trace

---
 RtspFace/demo/src/tools.h |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/RtspFace/demo/src/tools.h b/RtspFace/demo/src/tools.h
index a4bc5db..6b76ae1 100644
--- a/RtspFace/demo/src/tools.h
+++ b/RtspFace/demo/src/tools.h
@@ -4,9 +4,6 @@
 #include "DBuntil.h"
 #include "faceAPI.h"
 
-class faceAPI f_api;
-class DButil f_db;
-
 class tools
 {
 public:
@@ -14,11 +11,13 @@
 	~tools();
 	int search(cv::Mat image,person *p);
 	int search(char* s_feature,person *p);
-	int register(cv::Mat image,person *p);
+	int reg(cv::Mat image,person *p);
 private:
 	int do_register(cv::Mat image,person *p);
 	person do_search(int idx);
 	int idx;
-}
+	DBuntil dbu;
+	faceAPI f_api;
+};
 
 #endif
\ No newline at end of file

--
Gitblit v1.8.0