Browse Source

rm some print

leon 1 month ago
parent
commit
18fef1a756
2 changed files with 1 additions and 2 deletions
  1. 0 1
      src/nodes/httpPush/httpPush.cpp
  2. 1 1
      src/nodes/infer/inferNode.cpp

+ 0 - 1
src/nodes/httpPush/httpPush.cpp

@@ -48,7 +48,6 @@ void HttpPushNode::work()
 
             if (!metaData->depth.empty())
             {
-                get_color_depth(metaData->depth);
                 std::string depth_name = "result/" + metaData->from + "_depth_" + getTimeString() + ".jpg";
                 cv::imwrite(depth_name, get_color_depth(metaData->depth));
             }

+ 1 - 1
src/nodes/infer/inferNode.cpp

@@ -60,7 +60,7 @@ void InferNode::work()
             else if(std::holds_alternative<cv::Mat>(det_result))
             {
                 auto depth_mat = std::get<cv::Mat>(det_result);
-                print_mat(depth_mat);
+                // print_mat(depth_mat);
                 metaData->depth = depth_mat;
 
             }