diff --git a/deploy/pptracking/include/pipeline.h b/deploy/pptracking/include/pipeline.h index dd1d004912027238e4bd4e2bf940b24cbe556522..66aa84ac7859d9f2c0fc4c39d6a55660c594f5c8 100644 --- a/deploy/pptracking/include/pipeline.h +++ b/deploy/pptracking/include/pipeline.h @@ -79,7 +79,7 @@ class Pipeline { void PredictMTMCT(const std::vector video_inputs); // Run pipeline in stream - void RunMOTStream(const cv::Mat img, const int frame_id, cv::Mat out_img, std::vector& records, std::vector& count_list, std::vector& in_count_list, std::vector& out_count_list); + void RunMOTStream(const cv::Mat img, const int frame_id, cv::Mat& out_img, std::vector& records, std::vector& count_list, std::vector& in_count_list, std::vector& out_count_list); void RunMTMCTStream(const std::vector imgs, std::vector& records); void PrintBenchmarkLog(std::vector det_time, int img_num); diff --git a/deploy/pptracking/src/pipeline.cc b/deploy/pptracking/src/pipeline.cc index e36add5c9db9004384d2865d83997f6d9f33b640..189630a09a1dc9e3ab065b9ef6d9824e37810b3e 100644 --- a/deploy/pptracking/src/pipeline.cc +++ b/deploy/pptracking/src/pipeline.cc @@ -214,7 +214,7 @@ void Pipeline::PredictMTMCT(const std::vector video_path) { throw "Not Implement!"; } -void Pipeline::RunMOTStream(const cv::Mat img, const int frame_id, cv::Mat out_img, std::vector& records, std::vector& count_list, std::vector& in_count_list, std::vector& out_count_list) { +void Pipeline::RunMOTStream(const cv::Mat img, const int frame_id, cv::Mat& out_img, std::vector& records, std::vector& count_list, std::vector& in_count_list, std::vector& out_count_list) { PaddleDetection::MOTResult result; std::vector det_times(3); double times;