Skip to content

Commit

Permalink
updata inference res (#1364)
Browse files Browse the repository at this point in the history
  • Loading branch information
Harold-lkk authored Sep 1, 2022
1 parent e100479 commit 45f3f51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/en/get_started/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_cn/get_started/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 的目录运行以下命令:
Expand Down

0 comments on commit 45f3f51

Please sign in to comment.