From dad431d0f21f504257f03a0efefe8a27525b035c Mon Sep 17 00:00:00 2001
From: pans <pans@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期三, 28 十二月 2016 15:10:40 +0800
Subject: [PATCH] 

---
 RtspFace/demo/src/test.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/RtspFace/demo/src/test.cpp b/RtspFace/demo/src/test.cpp
index f605542..1105d77 100644
--- a/RtspFace/demo/src/test.cpp
+++ b/RtspFace/demo/src/test.cpp
@@ -6,11 +6,11 @@
 
 using namespace std;
 
-int main(int argc) {
+int main(int argc, char *argv[] ) {
 
 	//文件路径
 	char *db_path = "./out.db";
-	char *image_path = "../../test_image/face_04.jpg";
+	char *image_path = argv[0];
 	char *image_list = "../../test_image/imglist";
 	cv::Mat bgr_image = cv::imread(image_path);
 	int idx = -11;

--
Gitblit v1.8.0