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
b9b6c222
"vscode:/vscode.git/clone" did not exist on "8a86168387ec68f6e8972d8303a3026329166628"
Commit
b9b6c222
authored
May 11, 2022
by
andyjpaddle
Browse files
update doc for v3 infer
parent
ee27dd1a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/doc_en/inference_ppocr_en.md
doc/doc_en/inference_ppocr_en.md
+3
-3
No files found.
doc/doc_en/inference_ppocr_en.md
View file @
b9b6c222
...
...
@@ -126,12 +126,12 @@ When performing prediction, you need to specify the path of a single image or a
```
shell
# use direction classifier
python3 tools/infer/predict_system.py
--image_dir
=
"./doc/imgs/00018069.jpg"
--det_model_dir
=
"./ch_PP-OCRv3_det_infer/"
--cls_model_dir
=
"./cls/"
--rec_model_dir
=
"./ch_PP-OCRv
2
_rec_infer/"
--use_angle_cls
=
true
python3 tools/infer/predict_system.py
--image_dir
=
"./doc/imgs/00018069.jpg"
--det_model_dir
=
"./ch_PP-OCRv3_det_infer/"
--cls_model_dir
=
"./cls/"
--rec_model_dir
=
"./ch_PP-OCRv
3
_rec_infer/"
--use_angle_cls
=
true
# not use use direction classifier
python3 tools/infer/predict_system.py
--image_dir
=
"./doc/imgs/00018069.jpg"
--det_model_dir
=
"./ch_PP-OCRv
2
_det_infer/"
--rec_model_dir
=
"./ch_PP-OCRv
2
_rec_infer/"
--use_angle_cls
=
false
python3 tools/infer/predict_system.py
--image_dir
=
"./doc/imgs/00018069.jpg"
--det_model_dir
=
"./ch_PP-OCRv
3
_det_infer/"
--rec_model_dir
=
"./ch_PP-OCRv
3
_rec_infer/"
--use_angle_cls
=
false
# use multi-process
python3 tools/infer/predict_system.py
--image_dir
=
"./doc/imgs/00018069.jpg"
--det_model_dir
=
"./ch_PP-OCRv
2
_det_infer/"
--rec_model_dir
=
"./ch_PP-OCRv
2
_rec_infer/"
--use_angle_cls
=
false
--use_mp
=
True
--total_process_num
=
6
python3 tools/infer/predict_system.py
--image_dir
=
"./doc/imgs/00018069.jpg"
--det_model_dir
=
"./ch_PP-OCRv
3
_det_infer/"
--rec_model_dir
=
"./ch_PP-OCRv
3
_rec_infer/"
--use_angle_cls
=
false
--use_mp
=
True
--total_process_num
=
6
```
...
...
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