Skip to content

Commit

Permalink
[Doc] fix dead links (PaddlePaddle#1732)
Browse files Browse the repository at this point in the history
* [Bug Fix]fix tracking 'LetterBoxResize'

* [Docs]Fix dead links

---------

Co-authored-by: DefTruth <[email protected]>
  • Loading branch information
ChaoII and DefTruth authored Apr 3, 2023
1 parent 95c977c commit a2141d0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions fastdeploy/vision/tracking/pptracking/letter_box_resize.cc
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,10 @@ bool LetterBoxResize::ImplByCuda(Mat* mat){
#endif


bool LetterBoxResize::Run(Mat* mat, const std::vector<int>& target_size, const std::vector<float>& color,ProcLib lib) {
auto l = LetterBoxResize(target_size,color);
return l(mat,lib);
bool LetterBoxResize::Run(Mat* mat, const std::vector<int>& target_size,
const std::vector<float>& color,ProcLib lib) {
auto l = LetterBoxResize(target_size, color);
return l(mat, lib);
}

} // namespace vision
Expand Down
2 changes: 1 addition & 1 deletion tutorials/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion tutorials/README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit a2141d0

Please sign in to comment.