|
@@ -18,7 +18,7 @@ void InferNode::work()
|
|
{
|
|
{
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
- printf("Node %s get data from %s\n", name_.c_str(), input_buffer.first.c_str());
|
|
|
|
|
|
+ // printf("Node %s get data from %s\n", name_.c_str(), input_buffer.first.c_str());
|
|
// do something
|
|
// do something
|
|
cv::Mat image = metaData->image;
|
|
cv::Mat image = metaData->image;
|
|
int width = image.cols;
|
|
int width = image.cols;
|
|
@@ -32,7 +32,7 @@ void InferNode::work()
|
|
metaData->boxes.push_back(data::Box(x, y, x + w, y + h, 0.9, "test"));
|
|
metaData->boxes.push_back(data::Box(x, y, x + w, y + h, 0.9, "test"));
|
|
for (auto& output_buffer : output_buffers_)
|
|
for (auto& output_buffer : output_buffers_)
|
|
{
|
|
{
|
|
- printf("Node %s push data to %s\n", name_.c_str(), output_buffer.first.c_str());
|
|
|
|
|
|
+ // printf("Node %s push data to %s\n", name_.c_str(), output_buffer.first.c_str());
|
|
output_buffer.second->push(metaData);
|
|
output_buffer.second->push(metaData);
|
|
}
|
|
}
|
|
}
|
|
}
|