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/test.cpp | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/RtspFace/demo/src/test.cpp b/RtspFace/demo/src/test.cpp index 135b3a8..e40537b 100644 --- a/RtspFace/demo/src/test.cpp +++ b/RtspFace/demo/src/test.cpp @@ -15,7 +15,7 @@ char *image_list = "../test_image/imglist"; - person p={0,"axsdcc"}; + person *p={0,"axsdcc"}; cv::Mat bgr_image = cv::imread(image_path); if(bgr_image.data != NULL) { @@ -27,8 +27,12 @@ int idx = -11; tools tool=tools(); - idx=tool->reg(bgr_image,p); - cout<<"idx="<<idx<<endl; + //idx=tool.reg(bgr_image,&p); + tool.search(bgr_image,p); + cout<<"============================================"<<endl; + cout<<"p_id="<<p.p_id<<endl; + cout<<"name="<<p.name<<endl; + cout<<"f_id="<<p.f_id<<endl; return 0; -- Gitblit v1.8.0