派生自 development/c++

zhangjixing
2019-01-18 9f08028f23d9e5cbfa159bec1e07d63b141a6809
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)
        {