From a2141d0d2c1cce3b2c30736ae73514e2fdf844df Mon Sep 17 00:00:00 2001 From: ChaoII <849453582@qq.com> Date: Mon, 3 Apr 2023 13:09:57 +0800 Subject: [PATCH] [Doc] fix dead links (#1732) * [Bug Fix]fix tracking 'LetterBoxResize' * [Docs]Fix dead links --------- Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com> --- fastdeploy/vision/tracking/pptracking/letter_box_resize.cc | 7 ++++--- tutorials/README.md | 2 +- tutorials/README_CN.md | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/fastdeploy/vision/tracking/pptracking/letter_box_resize.cc b/fastdeploy/vision/tracking/pptracking/letter_box_resize.cc index 17d8e371a..580f96bfa 100644 --- a/fastdeploy/vision/tracking/pptracking/letter_box_resize.cc +++ b/fastdeploy/vision/tracking/pptracking/letter_box_resize.cc @@ -154,9 +154,10 @@ bool LetterBoxResize::ImplByCuda(Mat* mat){ #endif -bool LetterBoxResize::Run(Mat* mat, const std::vector& target_size, const std::vector& color,ProcLib lib) { - auto l = LetterBoxResize(target_size,color); - return l(mat,lib); +bool LetterBoxResize::Run(Mat* mat, const std::vector& target_size, + const std::vector& color,ProcLib lib) { + auto l = LetterBoxResize(target_size, color); + return l(mat, lib); } } // namespace vision diff --git a/tutorials/README.md b/tutorials/README.md index a0477d8fe..f9ab99e05 100644 --- a/tutorials/README.md +++ b/tutorials/README.md @@ -8,4 +8,4 @@ This directory provides some tutorials for FastDeploy. For other model deploymen - Model multithreaded call [see multi_thread](multi_thread) - Image decoding, including hardward decoding, e.g. nvJPEG [image_decoder](image_decoder) - Vision processor (preprocessing, CV-CUDA, FlyCV, etc.)[vision_processor](vision_processor) -- Deploy models with C or C# API [use_c_csharp_sdk](use_c_sharp_sdk) +- Deploy models with C or C# API [use_c_csharp_sdk](use_c_csharp_sdk) diff --git a/tutorials/README_CN.md b/tutorials/README_CN.md index 74e2b6a25..25dd62785 100644 --- a/tutorials/README_CN.md +++ b/tutorials/README_CN.md @@ -9,4 +9,4 @@ - 模型多线程调用 [见multi_thread](multi_thread) - 图片解码(含nvJPEG硬解码) [见image_decoder](image_decoder) - 多硬件图像处理库(预处理、CV-CUDA、FlyCV等) [见vision_processor](vision_processor) -- 使用C或C# API进行模型部署 [见use_c_csharp_sdk](use_c_sharp_sdk) +- 使用C或C# API进行模型部署 [见use_c_csharp_sdk](use_c_csharp_sdk)