sde_predictor.cc 1.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
//   Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include <sstream>
// for setprecision
#include <chrono>
17
#include <iomanip>
18 19
#include "include/sde_predictor.h"

20
using namespace paddle_infer;  // NOLINT
21 22 23 24 25 26 27 28 29 30

namespace PaddleDetection {

// Load Model and create model predictor
void SDEPredictor::LoadModel(const std::string& det_model_dir,
                             const std::string& reid_model_dir,
                             const std::string& run_mode) {
  throw "Not Implement";
}

31
void SDEPredictor::Preprocess(const cv::Mat& ori_im) { throw "Not Implement"; }
32

33 34 35
void SDEPredictor::Postprocess(const cv::Mat dets,
                               const cv::Mat emb,
                               MOTResult* result) {
36 37 38 39
  throw "Not Implement";
}

void SDEPredictor::Predict(const std::vector<cv::Mat> imgs,
40 41 42
                           const double threshold,
                           MOTResult* result,
                           std::vector<double>* times) {
43 44 45 46
  throw "Not Implement";
}

}  // namespace PaddleDetection