there is no return value of bool Model::predict(const cv::Mat& im, DetResult* result), it leads to no result return in ubuntu, but it works fine in windows.
@@ -205,6 +205,7 @@ bool Model::predict(const cv::Mat& im, DetResult* result) {
result->boxes.push_back(std::move(box));
}
+ return true;