diff --git a/docs/en/get_started/install.md b/docs/en/get_started/install.md index e1177e1bf..94365d3c3 100644 --- a/docs/en/get_started/install.md +++ b/docs/en/get_started/install.md @@ -109,7 +109,7 @@ We provide a method to verify the installation via inference demo, depending on ```bash # Inference result -[{'filename': 'demo_text_ocr', 'text': ['cbanke', 'docece', 'sroumats', 'chounsonse', 'doceca', 'c', '', 'sond', 'abrandso', 'sretane', '1', 'tosl', 'roundi', 'slen', 'yet', 'ally', 's', 'sue', 'salle', 'v']}] +{'rec_texts': ['cbanke', 'docece', 'sroumats', 'chounsonse', 'doceca', 'c', '', 'sond', 'abrandso', 'sretane', '1', 'tosl', 'roundi', 'slen', 'yet', 'ally', 's', 'sue', 'salle', 'v'], 'rec_scores': [...], 'det_polygons': [...], 'det_scores': tensor([...])} ``` Run the following in MMOCR's directory: diff --git a/docs/zh_cn/get_started/install.md b/docs/zh_cn/get_started/install.md index 9db6285db..1cbf2a7e7 100644 --- a/docs/zh_cn/get_started/install.md +++ b/docs/zh_cn/get_started/install.md @@ -106,7 +106,7 @@ pip install albumentations>=1.1.0 --no-binary qudida,albumentations ```bash # 识别结果 -[{'filename': 'demo_text_ocr', 'text': ['cbanke', 'docece', 'sroumats', 'chounsonse', 'doceca', 'c', '', 'sond', 'abrandso', 'sretane', '1', 'tosl', 'roundi', 'slen', 'yet', 'ally', 's', 'sue', 'salle', 'v']}] +{'rec_texts': ['cbanke', 'docece', 'sroumats', 'chounsonse', 'doceca', 'c', '', 'sond', 'abrandso', 'sretane', '1', 'tosl', 'roundi', 'slen', 'yet', 'ally', 's', 'sue', 'salle', 'v'], 'rec_scores': [...], 'det_polygons': [...], 'det_scores': tensor([...])} ``` 在 MMOCR 的目录运行以下命令: