diff --git a/doc/doc_ch/algorithm_rec_rare.md b/doc/doc_ch/algorithm_rec_rare.md
index e5b5e54c59bad00d4a2bd6a5684457c1c74d9a74..3d36da7cd4cf0280d048c71a8fd2e953aa07d670 100644
--- a/doc/doc_ch/algorithm_rec_rare.md
+++ b/doc/doc_ch/algorithm_rec_rare.md
@@ -77,8 +77,16 @@ python3 tools/export_model.py -c configs/rec/rec_r34_vd_tps_bilstm_att.yml -o Gl
RARE文本识别模型推理,可以执行如下命令:
```shell
-python3 tools/infer/predict_rec.py --image_dir="doc/imgs_words/en/word_1.png" --rec_model_dir="./inference/rec_rare/"
+python3 tools/infer/predict_rec.py --image_dir="doc/imgs_words/en/word_1.png" --rec_model_dir="./inference/rec_rare/" --rec_image_shape="3, 32, 100" --rec_char_dict_path="./ppocr/utils/ic15_dict.txt"
```
+推理结果如下所示:
+
+![](../../doc/imgs_words/en/word_1.png)
+
+```
+Predicts of doc/imgs_words/en/word_1.png:('joint ', 0.9999969601631165)
+```
+
### 4.2 C++推理
diff --git a/doc/doc_ch/algorithm_rec_rosetta.md b/doc/doc_ch/algorithm_rec_rosetta.md
index 097a142b5307b065984d6bc187b72def2616d2ee..c1784cac8c073eaaffc0258df2c419239332bb65 100644
--- a/doc/doc_ch/algorithm_rec_rosetta.md
+++ b/doc/doc_ch/algorithm_rec_rosetta.md
@@ -79,7 +79,15 @@ python3 tools/export_model.py -c configs/rec/rec_r34_vd_none_none_ctc.yml -o Glo
Rosetta文本识别模型推理,可以执行如下命令:
```shell
-python3 tools/infer/predict_rec.py --image_dir="doc/imgs_words/en/word_1.png" --rec_model_dir="./inference/rec_rosetta/"
+python3 tools/infer/predict_rec.py --image_dir="doc/imgs_words/en/word_1.png" --rec_model_dir="./inference/rec_rosetta/" --rec_image_shape="3, 32, 100" --rec_char_dict_path="./ppocr/utils/ic15_dict.txt"
+```
+
+推理结果如下所示:
+
+![](../../doc/imgs_words/en/word_1.png)
+
+```
+Predicts of doc/imgs_words/en/word_1.png:('joint', 0.9999982714653015)
```