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
521cc4fe
Unverified
Commit
521cc4fe
authored
Jul 15, 2020
by
MissPenguin
Committed by
GitHub
Jul 15, 2020
Browse files
Merge pull request #334 from LDOUBLEV/fixocr
opt inference readme
parents
e4c677e5
290fb5c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
doc/doc_ch/inference.md
doc/doc_ch/inference.md
+1
-1
No files found.
doc/doc_ch/inference.md
View file @
521cc4fe
...
@@ -126,7 +126,7 @@ python3 tools/export_model.py -c configs/det/det_r50_vd_east.yml -o Global.check
...
@@ -126,7 +126,7 @@ python3 tools/export_model.py -c configs/det/det_r50_vd_east.yml -o Global.check
EAST文本检测模型推理,需要设置参数det_algorithm,指定检测算法类型为EAST,可以执行如下命令:
EAST文本检测模型推理,需要设置参数det_algorithm,指定检测算法类型为EAST,可以执行如下命令:
```
```
python3 tools/infer/predict_det.py --image_dir="./doc/imgs_en/img_10.jpg" --det_model_dir="./inference/det_east/"
--det_algorithm="EAST"
python3 tools/infer/predict_det.py
--det_algorithm="EAST"
--image_dir="./doc/imgs_en/img_10.jpg" --det_model_dir="./inference/det_east/"
```
```
可视化文本检测结果默认保存到 ./inference_results 文件夹里面,结果文件的名称前缀为'det_res'。结果示例如下:
可视化文本检测结果默认保存到 ./inference_results 文件夹里面,结果文件的名称前缀为'det_res'。结果示例如下:
...
...
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