|
@@ -47,7 +47,7 @@ void InferNode::work()
|
|
printf("model is nullptr\n");
|
|
printf("model is nullptr\n");
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
- auto det_result = model_->forward(tensor::cvimg(image));
|
|
|
|
|
|
+ auto det_result = model_->forward(tensor::cvimg(image), image.cols, image.rows, 0.0f, 0.0f);
|
|
|
|
|
|
if (std::holds_alternative<data::BoxArray>(det_result))
|
|
if (std::holds_alternative<data::BoxArray>(det_result))
|
|
{
|
|
{
|