mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-12 20:11:20 +08:00
[Model] add vsr serials models (#518)
* [Model] add vsr serials models Signed-off-by: ChaoII <849453582@qq.com> * [Model] add vsr serials models Signed-off-by: ChaoII <849453582@qq.com> * fix build problem Signed-off-by: ChaoII <849453582@qq.com> * fix code style Signed-off-by: ChaoII <849453582@qq.com> * modify according to review suggestions Signed-off-by: ChaoII <849453582@qq.com> * modify vsr trt example Signed-off-by: ChaoII <849453582@qq.com> * update sr directory * fix BindPPSR * add doxygen comment * add sr unit test * update model file url Signed-off-by: ChaoII <849453582@qq.com> Co-authored-by: Jason <jiangjiajun@baidu.com>
This commit is contained in:
@@ -48,7 +48,7 @@ void CpuInfer(const std::string& model_dir, const std::string& video_file) {
|
||||
std::cerr << "Failed to predict." << std::endl;
|
||||
return;
|
||||
}
|
||||
// such as adding this code can cancel trail datat bind
|
||||
// such as adding this code can cancel trail data binding
|
||||
// if(count++ == 10) model.UnbindRecorder();
|
||||
// std::cout << result.Str() << std::endl;
|
||||
cv::Mat out_img = fastdeploy::vision::VisMOT(frame, result, 0.0, &recorder);
|
||||
@@ -91,7 +91,7 @@ void GpuInfer(const std::string& model_dir, const std::string& video_file) {
|
||||
std::cerr << "Failed to predict." << std::endl;
|
||||
return;
|
||||
}
|
||||
// such as adding this code can cancel trail datat bind
|
||||
// such as adding this code can cancel trail data binding
|
||||
//if(count++ == 10) model.UnbindRecorder();
|
||||
// std::cout << result.Str() << std::endl;
|
||||
cv::Mat out_img = fastdeploy::vision::VisMOT(frame, result, 0.0, &trail_recorder);
|
||||
@@ -135,7 +135,7 @@ void TrtInfer(const std::string& model_dir, const std::string& video_file) {
|
||||
std::cerr << "Failed to predict." << std::endl;
|
||||
return;
|
||||
}
|
||||
// such as adding this code can cancel trail datat bind
|
||||
// such as adding this code can cancel trail data binding
|
||||
// if(count++ == 10) model.UnbindRecorder();
|
||||
// std::cout << result.Str() << std::endl;
|
||||
cv::Mat out_img = fastdeploy::vision::VisMOT(frame, result, 0.0, &recorder);
|
||||
|
Reference in New Issue
Block a user