From 45f3f51dbacbd58e8ffdad70e7fa0a62f89979e8 Mon Sep 17 00:00:00 2001 From: liukuikun <24622904+Harold-lkk@users.noreply.github.com> Date: Thu, 1 Sep 2022 14:23:07 +0800 Subject: [PATCH] updata inference res (#1364) --- docs/en/get_started/install.md | 2 +- docs/zh_cn/get_started/install.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 的目录运行以下命令: