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/main_face_daemon.cpp |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/FaceServer/main_face_daemon.cpp b/FaceServer/main_face_daemon.cpp
index ec706f7..039ec87 100644
--- a/FaceServer/main_face_daemon.cpp
+++ b/FaceServer/main_face_daemon.cpp
@@ -183,12 +183,11 @@
 	//fclose(pFile);
 	//pFile = nullptr;
 	
-	//fdr_vec_t result;
-	//FDP_FaceDetectResult fdrResult = g_STFaceCache.add(stfaceImg);
-	//result.push_back(fdrResult);
-	//
-	//int ret = (fdrResult.db_id == 0 ? -1 : 0);
-	//return send_SensetimeFaceDetectResultJson(client, result, ret);
+	fdr_vec_t result;
+	FDP_FaceDetectResult fdrResult = g_STFaceCache.compare(stfaceImg1, stfaceImg2);
+	result.push_back(fdrResult);
+
+	return send_SensetimeFaceDetectResultJson(client, result, 0);
 }
 
 bool ev_dispatcher_proto_pb(EVClientStub& client)

--
Gitblit v1.8.0