From 1634a3e5d9e5326f57496b662b9c04244651b1bc Mon Sep 17 00:00:00 2001
From: pans <pans@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期四, 09 二月 2017 16:37:04 +0800
Subject: [PATCH]
---
RtspFace/SensetimeFaceAPIWrapper/src/test.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/RtspFace/SensetimeFaceAPIWrapper/src/test.cpp b/RtspFace/SensetimeFaceAPIWrapper/src/test.cpp
index 593f91f..64a17e5 100644
--- a/RtspFace/SensetimeFaceAPIWrapper/src/test.cpp
+++ b/RtspFace/SensetimeFaceAPIWrapper/src/test.cpp
@@ -16,7 +16,7 @@
char *image_list = "../test_image/imglist";
my_db mydb= {"root","Basic@2017","localhost","demo",3306};
-// person p={0,"axsdcc",1};
+ person p={0,"axsdcc",1};
cv::Mat bgr_image = cv::imread(image_path);
if(bgr_image.data != NULL)
@@ -38,7 +38,7 @@
cout<<"======tools init ==========="<<endl;
//idx=tool.reg(bgr_image,&p);
tool.search(bgr_image,&p);
- cout<<"id="<<id<<endl;
+ cout<<"id="<<idx<<endl;
cout<<"============================================"<<endl;
cout<<"p_id="<<p.p_id<<endl;
cout<<"name="<<p.name<<endl;
--
Gitblit v1.8.0