From 9f08028f23d9e5cbfa159bec1e07d63b141a6809 Mon Sep 17 00:00:00 2001
From: zhangjixing <775834166@qq.com>
Date: 星期五, 18 一月 2019 10:17:00 +0800
Subject: [PATCH] 

---
 QiaoJiaSystem/YoloServer/main.cpp |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/QiaoJiaSystem/YoloServer/main.cpp b/QiaoJiaSystem/YoloServer/main.cpp
index a69beb9..a44a900 100644
--- a/QiaoJiaSystem/YoloServer/main.cpp
+++ b/QiaoJiaSystem/YoloServer/main.cpp
@@ -24,14 +24,14 @@
 //    adapter->activate();
 //    ich->waitForShutdown();
 
-    if (argc < 3) {
-        ERR("argc error");
-        return -1;
-    }
+//    if (argc < 3) {
+//        ERR("argc error");
+//        return -1;
+//    }
 
-    int gpuindex = atoi(argv[1]);
-    int poolNum = atoi(argv[2]);
-    int portNum = atoi(argv[3]);
+    int gpuindex = 1;
+    int poolNum = 1;
+    int portNum = 10003;
 
     appPref.setIntData("gpu.index", gpuindex);
     appPref.setFloatData("thresh.detect", 0.7);

--
Gitblit v1.8.0