From 9f08028f23d9e5cbfa159bec1e07d63b141a6809 Mon Sep 17 00:00:00 2001 From: zhangjixing <775834166@qq.com> Date: 星期五, 18 一月 2019 10:17:00 +0800 Subject: [PATCH] --- QiaoJiaSystem/StructureApp/YoloRpcElement.cpp | 18 +++++++----------- 1 files changed, 7 insertions(+), 11 deletions(-) diff --git a/QiaoJiaSystem/StructureApp/YoloRpcElement.cpp b/QiaoJiaSystem/StructureApp/YoloRpcElement.cpp index a56a7e7..31a2e2f 100644 --- a/QiaoJiaSystem/StructureApp/YoloRpcElement.cpp +++ b/QiaoJiaSystem/StructureApp/YoloRpcElement.cpp @@ -64,7 +64,7 @@ void YoloRpcElement::threadFunc() { - // ClockTimer ct("YoloRpcElement::threadFunc"); + // ClockTimer ct("YoloRpcElement::threadFunc"); triggerScoredRects.clear(); try { auto server = rpcClient.getServer(); @@ -79,17 +79,13 @@ { ERR(e.what()) } - int size=objs.size(); - if(size>30) - { +// int size=objs.size(); +// if(size>30) +// { -// cv::imshow("image", image); - -// cv::waitKey(); - - DBG("size="<<size); - return; - } +// DBG("size="<<size); +// return; +// } for (auto &obj: objs) { -- Gitblit v1.8.0