Skip to content

Commit

Permalink
Merge pull request PaddlePaddle#7899 from andyjpaddle/fix_doc
Browse files Browse the repository at this point in the history
[doc] fix wrong model name
  • Loading branch information
JiaXiao243 committed Oct 12, 2022
2 parents 55bbc75 + 7cbb1f4 commit 07684ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/doc_en/inference_ppocr_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ For English recognition model inference, you can execute the following commands,

```
# download en model:
wget https://paddleocr.bj.bcebos.com/PP-OCRv3/english/en_PP-OCRv3_det_infer.tar
tar xf en_PP-OCRv3_det_infer.tar
python3 tools/infer/predict_rec.py --image_dir="./doc/imgs_words/en/word_1.png" --rec_model_dir="./en_PP-OCRv3_det_infer/" --rec_char_dict_path="ppocr/utils/en_dict.txt"
wget https://paddleocr.bj.bcebos.com/PP-OCRv3/english/en_PP-OCRv3_rec_infer.tar
tar xf en_PP-OCRv3_rec_infer.tar
python3 tools/infer/predict_rec.py --image_dir="./doc/imgs_words/en/word_1.png" --rec_model_dir="./en_PP-OCRv3_rec_infer/" --rec_char_dict_path="ppocr/utils/en_dict.txt"
```

![](../imgs_words/en/word_1.png)
Expand Down

0 comments on commit 07684ac

Please sign in to comment.