From 2abba1eed779847b85ef44401f2ae410fba56cd8 Mon Sep 17 00:00:00 2001
From: pans <pans@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期三, 04 一月 2017 19:42:20 +0800
Subject: [PATCH] 

---
 RtspFace/demo/src/faceAPI.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/RtspFace/demo/src/faceAPI.cpp b/RtspFace/demo/src/faceAPI.cpp
index b5c01bf..08fbb17 100644
--- a/RtspFace/demo/src/faceAPI.cpp
+++ b/RtspFace/demo/src/faceAPI.cpp
@@ -196,8 +196,10 @@
 	} else {
 		fprintf(stderr, "cv_verify_search_face failed, error code %d\n", cv_result);
 	}
+	std::cout<<"this is hits"<<std::endl;
 	if (top_scores[0] != 0) {
 		indx=top_idxs[0];
+		std::cout<<"indx="<<indx<<std::endl;
 	}
 	if (top_idxs) {
 		delete[]top_idxs;
@@ -206,6 +208,7 @@
 		delete[]top_scores;
 	}
 	cv_verify_release_feature(p_feature);
+	std::cout<<"return indx"<<std::endl;
 	return indx;
 }
 

--
Gitblit v1.8.0