From 7c714aab1a4d2c9aee5005a516b5bd87a26c2cd5 Mon Sep 17 00:00:00 2001 From: chenshijun <csj_sky@126.com> Date: 星期二, 19 二月 2019 16:59:32 +0800 Subject: [PATCH] 修改连续两帧均报警的情况 --- QiaoJiaSystem/VideoAnalysFromHC/main.cpp | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/QiaoJiaSystem/VideoAnalysFromHC/main.cpp b/QiaoJiaSystem/VideoAnalysFromHC/main.cpp index 5b44cc1..a82bf09 100644 --- a/QiaoJiaSystem/VideoAnalysFromHC/main.cpp +++ b/QiaoJiaSystem/VideoAnalysFromHC/main.cpp @@ -66,11 +66,19 @@ int main(int argc, char **argv) { SAVE_APP_ARGS - ENABLEGLOG(GET_STR_CONFIG("logPath").c_str()); + std::cout<<__DATE__<<" "<<__TIME__<<std::endl; +#ifdef GLOG + ENABLEGLOG(GET_STR_CONFIG("logPath").c_str()); +#endif appPref.setLongData("gpu.index", 0); appPref.setIntData("show.image", 0); + //todo + appPref.setIntData("CamStart", atoi(argv[1])); + appPref.setIntData("CamStep", atoi(argv[2])); + appPref.setIntData("RpcServerPort",atoi(argv[3])); + //#todo get from config File // appPref.setStringData("ipAdd", "192.168.1.185"); // appPref.setIntData("ipPort", 9200); -- Gitblit v1.8.0