diff --git a/deploy/cpp_infer/docs/imgs/cmake_step1.png b/deploy/cpp_infer/docs/imgs/cmake_step1.png new file mode 100644 index 0000000000000000000000000000000000000000..3b9a762b843e2063b93d9e90ab254fd96a62f4a2 Binary files /dev/null and b/deploy/cpp_infer/docs/imgs/cmake_step1.png differ diff --git a/deploy/cpp_infer/docs/imgs/cmake_step2.png b/deploy/cpp_infer/docs/imgs/cmake_step2.png new file mode 100644 index 0000000000000000000000000000000000000000..27435f4a03ef1cf62c1d6cb7b7f53cc99ddd8a2f Binary files /dev/null and b/deploy/cpp_infer/docs/imgs/cmake_step2.png differ diff --git a/deploy/cpp_infer/docs/imgs/cmake_step3.png b/deploy/cpp_infer/docs/imgs/cmake_step3.png new file mode 100644 index 0000000000000000000000000000000000000000..1d02b2c675960037f91e2c2cdd0988ea48a5e2c5 Binary files /dev/null and b/deploy/cpp_infer/docs/imgs/cmake_step3.png differ diff --git a/deploy/cpp_infer/docs/imgs/cmake_step4.png b/deploy/cpp_infer/docs/imgs/cmake_step4.png new file mode 100644 index 0000000000000000000000000000000000000000..5f100f7b9fdcd7b45193ea1a2b6fb9cc86a2c9c0 Binary files /dev/null and b/deploy/cpp_infer/docs/imgs/cmake_step4.png differ diff --git a/deploy/cpp_infer/docs/imgs/result.png b/deploy/cpp_infer/docs/imgs/result.png new file mode 100644 index 0000000000000000000000000000000000000000..50610eab279396d9adce68a58261e15b18fa2e46 Binary files /dev/null and b/deploy/cpp_infer/docs/imgs/result.png differ diff --git a/deploy/cpp_infer/docs/imgs/vs_step1.png b/deploy/cpp_infer/docs/imgs/vs_step1.png new file mode 100644 index 0000000000000000000000000000000000000000..a9ee0690071d55096dfb9624a25087ec84397895 Binary files /dev/null and b/deploy/cpp_infer/docs/imgs/vs_step1.png differ diff --git a/deploy/cpp_infer/docs/vs2019_build_withgpu_config.png b/deploy/cpp_infer/docs/vs2019_build_withgpu_config.png deleted file mode 100644 index beff2884480790d97ef3577c77c0336fc04557ed..0000000000000000000000000000000000000000 Binary files a/deploy/cpp_infer/docs/vs2019_build_withgpu_config.png and /dev/null differ diff --git a/deploy/cpp_infer/docs/windows_vs2019_build.md b/deploy/cpp_infer/docs/windows_vs2019_build.md index a5a6388966769f921d0285566a5c5fa942288e16..3500eecc0826f08dd1e80007ee079e5329430581 100644 --- a/deploy/cpp_infer/docs/windows_vs2019_build.md +++ b/deploy/cpp_infer/docs/windows_vs2019_build.md @@ -62,12 +62,12 @@ git clone -b dygraph https://github.com/PaddlePaddle/PaddleOCR ### Step1: 构建Visual Studio项目 cmake安装完后后系统里会有一个cmake-gui程序,打开cmake-gui,在第一个输入框处填写源代码路径,第二个输入框处填写编译输出路径 -![step1](https://paddleocr.bj.bcebos.com/deploy/cpp_infer/cpp_files/cmake_step1.png) +![step1](imgs/cmake_step1.png) ### Step2: 执行cmake配置 点击界面下方的`Configure`按钮,第一次点击会弹出提示框进行Visual Studio配置,如下图,选择你的Visual Studio版本即可,目标平台选择x64。然后点击`finish`按钮即开始自动执行配置。 -![step2](https://paddleocr.bj.bcebos.com/deploy/cpp_infer/cpp_files/cmake_step2.png) +![step2](imgs/cmake_step2.png) 第一次执行会报错,这是正常现象,接下来进行Opencv和预测库的配置 @@ -88,7 +88,7 @@ CUDA_LIB、CUDNN_LIB、TENSORRT_DIR、WITH_GPU、WITH_TENSORRT 配置好的截图如下 -![step3](https://paddleocr.bj.bcebos.com/deploy/cpp_infer/cpp_files/cmake_step3.png) +![step3](imgs/cmake_step3.png) 配置完成后,再次点击`Configure`按钮。 @@ -99,11 +99,11 @@ CUDA_LIB、CUDNN_LIB、TENSORRT_DIR、WITH_GPU、WITH_TENSORRT ### Step3: 生成Visual Studio 项目 点击`Generate`按钮即可生成Visual Studio 项目的sln文件。 -![step4](https://paddleocr.bj.bcebos.com/deploy/cpp_infer/cpp_files/cmake_step4.png) +![step4](imgs/cmake_step4.png) 点击`Open Project`按钮即可在Visual Studio 中打开项目。打开后截图如下 -![step5](https://paddleocr.bj.bcebos.com/deploy/cpp_infer/cpp_files/vs_step1.png) +![step5](imgs/vs_step1.png) 在开始生成解决方案之前,执行下面步骤: 1. 将`Debug`改为`Release` @@ -132,7 +132,7 @@ CHCP 65001 ``` 识别结果如下 -![result](https://paddleocr.bj.bcebos.com/deploy/cpp_infer/cpp_files/result.png) +![result](imgs/result.png) ## FAQ