From cc1448ad597ac3c625c9e56a5b755abdae47582c Mon Sep 17 00:00:00 2001 From: suntianyu <xuepengqiang@aiotlink.com> Date: 星期四, 12 八月 2021 19:28:53 +0800 Subject: [PATCH] bug --- config.json | 2 +- src/core/ari_manager.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.json b/config.json index 14b8a19..8d2d1ff 100644 --- a/config.json +++ b/config.json @@ -2,7 +2,7 @@ "so_file_path": "/opt/vasystem/libs/Detect/libdemo.so", "runtime": "/opt/vasystem/libs/Detect:/usr/local/cuda-11.1/lib64:", "param": { - "model_path": "/opt/vasystem/bin/models/baseDetector/baseDetetor.bin", + "model_path": "/opt/vasystem/bin/models/baseDetector/baseDetector.bin", "type":1, "max_cam_num": 8, "wander_time": 5, diff --git a/src/core/ari_manager.cpp b/src/core/ari_manager.cpp index efd93d3..3226983 100644 --- a/src/core/ari_manager.cpp +++ b/src/core/ari_manager.cpp @@ -204,7 +204,7 @@ } std::cout << "eve batch_res size:: "<< batch_res[0].size() << " w_count: " << w_count <<std::endl; // draw_SDK_result(cam_id, frame, t_result); - t_result.count = w_count; + t_result->count = w_count; Timer::getInstance()->out("eveTime draw_SDK_result"); } -- Gitblit v1.8.0