Browse Source

Merge pull request #1048 from lizhuo1414/patch-1

fix bug of detect model predict
FlyingQianMM 4 years ago
parent
commit
735f6656e9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      static/deploy/openvino/src/paddlex.cpp

+ 1 - 0
static/deploy/openvino/src/paddlex.cpp

@@ -205,6 +205,7 @@ bool Model::predict(const cv::Mat& im, DetResult* result) {
       result->boxes.push_back(std::move(box));
     }
   }
+  return true;
 }