Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
8501e36e
Unverified
Commit
8501e36e
authored
Dec 16, 2020
by
Double_V
Committed by
GitHub
Dec 16, 2020
Browse files
Merge pull request #1471 from LDOUBLEV/dyg_db
update c inference
parents
368eeb5f
b70f9bf8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
deploy/cpp_infer/readme.md
deploy/cpp_infer/readme.md
+3
-3
deploy/cpp_infer/tools/config.txt
deploy/cpp_infer/tools/config.txt
+7
-2
No files found.
deploy/cpp_infer/readme.md
View file @
8501e36e
...
...
@@ -103,17 +103,17 @@ make inference_lib_dist
更多编译参数选项可以参考Paddle C++预测库官网:
[
https://www.paddlepaddle.org.cn/documentation/docs/zh/advanced_guide/inference_deployment/inference/build_and_install_lib_cn.html
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/advanced_guide/inference_deployment/inference/build_and_install_lib_cn.html
)
。
*
编译完成之后,可以在
`build/
fluid
_inference_install_dir/`
文件下看到生成了以下文件及文件夹。
*
编译完成之后,可以在
`build/
paddle
_inference_install_dir/`
文件下看到生成了以下文件及文件夹。
```
build/
fluid
_inference_install_dir/
build/
paddle
_inference_install_dir/
|-- CMakeCache.txt
|-- paddle
|-- third_party
|-- version.txt
```
其中
`paddle`
就是
之后进行
C++预测
时
所需的Paddle库,
`version.txt`
中包含当前预测库的版本信息。
其中
`paddle`
就是C++预测所需的Paddle库,
`version.txt`
中包含当前预测库的版本信息。
#### 1.2.2 直接下载安装
...
...
deploy/cpp_infer/tools/config.txt
View file @
8501e36e
...
...
@@ -11,10 +11,15 @@ max_side_len 960
det_db_thresh 0.3
det_db_box_thresh 0.5
det_db_unclip_ratio 2.0
det_model_dir ./inference/det_db
det_model_dir ./inference/ch__ppocr_mobile_v2.0_det_infer/
# cls config
use_angle_cls 0
cls_model_dir ./inference/ch_ppocr_mobile_v2.0_cls_infer/
cls_thresh 0.9
# rec config
rec_model_dir ./inference/
rec_crnn
rec_model_dir ./inference/
ch_ppocr_mobile_v2.0_rec_infer/
char_list_file ../../ppocr/utils/ppocr_keys_v1.txt
# show the detection results
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment